ifcopenshell.util.pset

Module Contents

class ifcopenshell.util.pset.PsetQto(schema_identifier: str, templates=None)
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
schema
templates
templates_path
ifcopenshell.util.pset.get_template(schema: str) PsetQto
ifcopenshell.util.pset.templates: dict[str, PsetQto]