ifcopenshell.util.pset

Module Contents

class ifcopenshell.util.pset.PsetQto(schema: str, templates=None)
templates_path
get_applicable(ifc_class='', predefined_type='', pset_only=False, qto_only=False) List[ifcopenshell.entity_instance.entity_instance]
get_applicable_names(ifc_class: str, predefined_type='', pset_only=False, qto_only=False) List[str]

Return names instead of objects for other use eg. enum

get_by_name(name: str) ifcopenshell.entity_instance.entity_instance | None
is_applicable(entity: ifcopenshell.entity_instance.entity_instance, applicables: str, predefined_type='', template_type='NOTDEFINED') bool

applicables can have multiple possible patterns : IfcBoilerType (IfcClass) IfcBoilerType/STEAM (IfcClass/PREDEFINEDTYPE) IfcBoilerType[PerformanceHistory] (IfcClass[PerformanceHistory]) IfcBoilerType/STEAM[PerformanceHistory] (IfcClass/PREDEFINEDTYPE[PerformanceHistory])

is_templated(name: str) bool
ifcopenshell.util.pset.get_template(schema: str) PsetQto
ifcopenshell.util.pset.templates: dict[str, PsetQto]