ifcopenshell.util.pset#

Module Contents#

ifcopenshell.util.pset.templates#
class ifcopenshell.util.pset.PsetQto(schema: str, templates=None)#
templates_path#
get_applicable(self, ifc_class='', predefined_type='', pset_only=False, qto_only=False) List[ifcopenshell.entity_instance.entity_instance]#
get_applicable_names(self, 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(self, name: str) Optional[ifcopenshell.entity_instance.entity_instance]#
is_applicable(self, 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(self, name: str) bool#
ifcopenshell.util.pset.get_template(schema)#