diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py index 570f2b18ce..bdcf863e48 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py @@ -3876,7 +3876,7 @@ class IfcAnnotationCurveOccurrence_WR31: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'IFC2X3.IFCCURVE' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False + assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'ifc2x3.ifccurve' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False class IfcAnnotationFillAreaOccurrence_WR31: SCOPE = 'entity' @@ -3885,7 +3885,7 @@ class IfcAnnotationFillAreaOccurrence_WR31: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'IFC2X3.IFCANNOTATIONFILLAREA' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False + assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'ifc2x3.ifcannotationfillarea' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False class IfcAnnotationSurface_WR01: SCOPE = 'entity' @@ -3895,7 +3895,7 @@ class IfcAnnotationSurface_WR01: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (sizeof(['IFC2X3.IFCSURFACE', 'IFC2X3.IFCSHELLBASEDSURFACEMODEL', 'IFC2X3.IFCFACEBASEDSURFACEMODEL', 'IFC2X3.IFCSOLIDMODEL', 'IFC2X3.IFCBOOLEANRESULT', 'IFC2X3.IFCCSGPRIMITIVE3D'] * typeof(item)) >= 1) is not False + assert (sizeof(['ifc2x3.ifcsurface', 'ifc2x3.ifcshellbasedsurfacemodel', 'ifc2x3.ifcfacebasedsurfacemodel', 'ifc2x3.ifcsolidmodel', 'ifc2x3.ifcbooleanresult', 'ifc2x3.ifccsgprimitive3d'] * typeof(item)) >= 1) is not False class IfcAnnotationSurfaceOccurrence_WR31: SCOPE = 'entity' @@ -3904,7 +3904,7 @@ class IfcAnnotationSurfaceOccurrence_WR31: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or sizeof(['IFC2X3.IFCSURFACE', 'IFC2X3.IFCFACEBASEDSURFACEMODEL', 'IFC2X3.IFCSHELLBASEDSURFACEMODEL', 'IFC2X3.IFCSOLIDMODEL'] * typeof(express_getattr(self, 'Item', INDETERMINATE))) > 0) is not False + assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or sizeof(['ifc2x3.ifcsurface', 'ifc2x3.ifcfacebasedsurfacemodel', 'ifc2x3.ifcshellbasedsurfacemodel', 'ifc2x3.ifcsolidmodel'] * typeof(express_getattr(self, 'Item', INDETERMINATE))) > 0) is not False class IfcAnnotationSymbolOccurrence_WR31: SCOPE = 'entity' @@ -3913,7 +3913,7 @@ class IfcAnnotationSymbolOccurrence_WR31: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'IFC2X3.IFCDEFINEDSYMBOL' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False + assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'ifc2x3.ifcdefinedsymbol' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False class IfcAnnotationTextOccurrence_WR31: SCOPE = 'entity' @@ -3922,7 +3922,7 @@ class IfcAnnotationTextOccurrence_WR31: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'IFC2X3.IFCTEXTLITERAL' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False + assert (not exists(express_getattr(self, 'Item', INDETERMINATE)) or 'ifc2x3.ifctextliteral' in typeof(express_getattr(self, 'Item', INDETERMINATE))) is not False class IfcAppliedValue_WR1: SCOPE = 'entity' @@ -3953,7 +3953,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC2X3.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc2x3.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -3963,7 +3963,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC2X3.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc2x3.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -3972,7 +3972,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC2X3.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc2x3.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -4001,7 +4001,6 @@ class IfcArbitraryProfileDefWithVoids_WR2: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - breakpoint() assert (sizeof([temp for temp in innercurves if express_getattr(temp, 'Dim', INDETERMINATE) != 2]) == 0) is not False class IfcArbitraryProfileDefWithVoids_WR3: @@ -4012,7 +4011,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC2X3.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc2x3.ifcline' in typeof(temp)]) == 0) is not False class IfcAsset_WR1: SCOPE = 'entity' @@ -4021,7 +4020,7 @@ class IfcAsset_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC2X3.IFCELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc2x3.ifcelement' in typeof(temp)]) == 0) is not False class IfcAxis1Placement_WR1: SCOPE = 'entity' @@ -4151,7 +4150,7 @@ class IfcBlobTexture_WR11: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBoilerType_WR1: SCOPE = 'entity' @@ -4171,7 +4170,7 @@ class IfcBooleanClippingResult_WR1: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC2X3.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC2X3.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc2x3.ifcsweptareasolid' in typeof(firstoperand) or 'ifc2x3.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_WR2: SCOPE = 'entity' @@ -4181,7 +4180,7 @@ class IfcBooleanClippingResult_WR2: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC2X3.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc2x3.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_WR3: SCOPE = 'entity' @@ -4218,7 +4217,7 @@ class IfcBoxedHalfSpace_WR1: @staticmethod def __call__(self): - assert (not 'IFC2X3.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc2x3.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElementProxy_WR1: SCOPE = 'entity' @@ -4516,7 +4515,7 @@ class IfcCompositeCurveSegment_WR1: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC2X3.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc2x3.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -4540,7 +4539,7 @@ class IfcCompositeProfileDef_WR2: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC2X3.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc2x3.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressorType_WR1: SCOPE = 'entity' @@ -4687,7 +4686,7 @@ class IfcCurveStyle_WR11: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC2X3.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC2X3.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc2x3.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc2x3.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyleFontPattern_WR01: SCOPE = 'entity' @@ -4759,7 +4758,7 @@ class IfcDimensionCalloutRelationship_WR12: @staticmethod def __call__(self): - assert (sizeof(typeof(express_getattr(self, 'RelatingDraughtingCallout', INDETERMINATE)) * ['IFC2X3.IFCANGULARDIMENSION', 'IFC2X3.IFCDIAMETERDIMENSION', 'IFC2X3.IFCLINEARDIMENSION', 'IFC2X3.IFCRADIUSDIMENSION']) == 1) is not False + assert (sizeof(typeof(express_getattr(self, 'RelatingDraughtingCallout', INDETERMINATE)) * ['ifc2x3.ifcangulardimension', 'ifc2x3.ifcdiameterdimension', 'ifc2x3.ifclineardimension', 'ifc2x3.ifcradiusdimension']) == 1) is not False class IfcDimensionCalloutRelationship_WR13: SCOPE = 'entity' @@ -4768,7 +4767,7 @@ class IfcDimensionCalloutRelationship_WR13: @staticmethod def __call__(self): - assert (not 'IFC2X3.IFCDIMENSIONCURVEDIRECTEDCALLOUT' in typeof(express_getattr(self, 'RelatedDraughtingCallout', INDETERMINATE))) is not False + assert (not 'ifc2x3.ifcdimensioncurvedirectedcallout' in typeof(express_getattr(self, 'RelatedDraughtingCallout', INDETERMINATE))) is not False class IfcDimensionCurve_WR51: SCOPE = 'entity' @@ -4777,7 +4776,7 @@ class IfcDimensionCurve_WR51: @staticmethod def __call__(self): - assert (sizeof(usedin(self, 'IFC2X3.IFCDRAUGHTINGCALLOUT.CONTENTS')) >= 1) is not False + assert (sizeof(usedin(self, 'ifc2x3.ifcdraughtingcallout.contents')) >= 1) is not False class IfcDimensionCurve_WR52: SCOPE = 'entity' @@ -4786,7 +4785,7 @@ class IfcDimensionCurve_WR52: @staticmethod def __call__(self): - assert (sizeof([dct1 for dct1 in usedin(self, 'IFC2X3.' + 'IFCTERMINATORSYMBOL.ANNOTATEDCURVE') if express_getattr(dct1, 'Role', INDETERMINATE) == express_getattr(IfcDimensionExtentUsage, 'ORIGIN', INDETERMINATE)]) <= 1 and sizeof([dct2 for dct2 in usedin(self, 'IFC2X3.' + 'IFCTERMINATORSYMBOL.ANNOTATEDCURVE') if express_getattr(dct2, 'Role', INDETERMINATE) == express_getattr(IfcDimensionExtentUsage, 'TARGET', INDETERMINATE)]) <= 1) is not False + assert (sizeof([dct1 for dct1 in usedin(self, 'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if express_getattr(dct1, 'Role', INDETERMINATE) == express_getattr(IfcDimensionExtentUsage, 'ORIGIN', INDETERMINATE)]) <= 1 and sizeof([dct2 for dct2 in usedin(self, 'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if express_getattr(dct2, 'Role', INDETERMINATE) == express_getattr(IfcDimensionExtentUsage, 'TARGET', INDETERMINATE)]) <= 1) is not False class IfcDimensionCurve_WR53: SCOPE = 'entity' @@ -4796,7 +4795,7 @@ class IfcDimensionCurve_WR53: @staticmethod def __call__(self): annotatedbysymbols = express_getattr(self, 'AnnotatedBySymbols', INDETERMINATE) - assert (sizeof([dct for dct in annotatedbysymbols if not 'IFC2X3.IFCDIMENSIONCURVETERMINATOR' in typeof(dct)]) == 0) is not False + assert (sizeof([dct for dct in annotatedbysymbols if not 'ifc2x3.ifcdimensioncurveterminator' in typeof(dct)]) == 0) is not False class IfcDimensionCurveDirectedCallout_WR41: SCOPE = 'entity' @@ -4805,7 +4804,7 @@ class IfcDimensionCurveDirectedCallout_WR41: @staticmethod def __call__(self): - assert (sizeof([dc for dc in express_getattr(self, 'Contents', INDETERMINATE) if 'IFC2X3.IFCDIMENSIONCURVE' in typeof(dc)]) == 1) is not False + assert (sizeof([dc for dc in express_getattr(self, 'Contents', INDETERMINATE) if 'ifc2x3.ifcdimensioncurve' in typeof(dc)]) == 1) is not False class IfcDimensionCurveDirectedCallout_WR42: SCOPE = 'entity' @@ -4815,7 +4814,7 @@ class IfcDimensionCurveDirectedCallout_WR42: @staticmethod def __call__(self): contents = express_getattr(self, 'Contents', INDETERMINATE) - assert (sizeof([dc for dc in express_getattr(self, 'contents', INDETERMINATE) if 'IFC2X3.IFCPROJECTIONCURVE' in typeof(dc)]) <= 2) is not False + assert (sizeof([dc for dc in express_getattr(self, 'contents', INDETERMINATE) if 'ifc2x3.ifcprojectioncurve' in typeof(dc)]) <= 2) is not False class IfcDimensionCurveTerminator_WR61: SCOPE = 'entity' @@ -4824,7 +4823,7 @@ class IfcDimensionCurveTerminator_WR61: @staticmethod def __call__(self): - assert ('IFC2X3.IFCDIMENSIONCURVE' in typeof(express_getattr(self, 'AnnotatedCurve', INDETERMINATE))) is not False + assert ('ifc2x3.ifcdimensioncurve' in typeof(express_getattr(self, 'AnnotatedCurve', INDETERMINATE))) is not False class IfcDimensionPair_WR11: SCOPE = 'entity' @@ -4842,7 +4841,7 @@ class IfcDimensionPair_WR12: @staticmethod def __call__(self): - assert (sizeof(typeof(express_getattr(self, 'RelatingDraughtingCallout', INDETERMINATE)) * ['IFC2X3.IFCANGULARDIMENSION', 'IFC2X3.IFCDIAMETERDIMENSION', 'IFC2X3.IFCLINEARDIMENSION', 'IFC2X3.IFCRADIUSDIMENSION']) == 1) is not False + assert (sizeof(typeof(express_getattr(self, 'RelatingDraughtingCallout', INDETERMINATE)) * ['ifc2x3.ifcangulardimension', 'ifc2x3.ifcdiameterdimension', 'ifc2x3.ifclineardimension', 'ifc2x3.ifcradiusdimension']) == 1) is not False class IfcDimensionPair_WR13: SCOPE = 'entity' @@ -4851,7 +4850,7 @@ class IfcDimensionPair_WR13: @staticmethod def __call__(self): - assert (sizeof(typeof(express_getattr(self, 'RelatedDraughtingCallout', INDETERMINATE)) * ['IFC2X3.IFCANGULARDIMENSION', 'IFC2X3.IFCDIAMETERDIMENSION', 'IFC2X3.IFCLINEARDIMENSION', 'IFC2X3.IFCRADIUSDIMENSION']) == 1) is not False + assert (sizeof(typeof(express_getattr(self, 'RelatedDraughtingCallout', INDETERMINATE)) * ['ifc2x3.ifcangulardimension', 'ifc2x3.ifcdiameterdimension', 'ifc2x3.ifclineardimension', 'ifc2x3.ifcradiusdimension']) == 1) is not False def calc_IfcDirection_Dim(self): directionratios = express_getattr(self, 'DirectionRatios', INDETERMINATE) @@ -4930,7 +4929,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC2X3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc2x3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorPanelProperties_WR31: SCOPE = 'entity' @@ -4939,7 +4938,7 @@ class IfcDoorPanelProperties_WR31: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC2X3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc2x3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDraughtingPreDefinedColour_WR31: SCOPE = 'entity' @@ -4966,7 +4965,7 @@ class IfcDraughtingPreDefinedTextFont_WR31: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['ISO 3098-1 font A', 'ISO 3098-1 font B']) is not False + assert (express_getattr(express_getattr(self, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['iso 3098-1 font a', 'iso 3098-1 font b']) is not False class IfcDuctFittingType_WR2: SCOPE = 'entity' @@ -5105,7 +5104,7 @@ class IfcFace_WR1: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC2X3.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc2x3.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -5127,7 +5126,7 @@ class IfcFillAreaStyle_WR11: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC2X3.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc2x3.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_WR12: SCOPE = 'entity' @@ -5136,7 +5135,7 @@ class IfcFillAreaStyle_WR12: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC2X3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc2x3.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_WR13: SCOPE = 'entity' @@ -5155,7 +5154,7 @@ class IfcFillAreaStyleHatching_WR21: @staticmethod def __call__(self): startofnexthatchline = express_getattr(self, 'StartOfNextHatchLine', INDETERMINATE) - assert (not 'IFC2X3.IFCTWODIRECTIONREPEATFACTOR' in typeof(startofnexthatchline)) is not False + assert (not 'ifc2x3.ifctwodirectionrepeatfactor' in typeof(startofnexthatchline)) is not False class IfcFillAreaStyleHatching_WR22: SCOPE = 'entity' @@ -5234,7 +5233,7 @@ class IfcGeometricCurveSet_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC2X3.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc2x3.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationSubContext_WR31: SCOPE = 'entity' @@ -5244,7 +5243,7 @@ class IfcGeometricRepresentationSubContext_WR31: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC2X3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_WR32: SCOPE = 'entity' @@ -5384,7 +5383,7 @@ class IfcInventory_WR41: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC2X3.IFCSPACE' in typeof(temp) or 'IFC2X3.IFCASSET' in typeof(temp) or 'IFC2X3.IFCFURNISHINGELEMENT' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc2x3.ifcspace' in typeof(temp) or 'ifc2x3.ifcasset' in typeof(temp) or 'ifc2x3.ifcfurnishingelement' in typeof(temp))]) == 0) is not False class IfcLShapeProfileDef_WR21: SCOPE = 'entity' @@ -5447,7 +5446,7 @@ class IfcMaterialDefinitionRepresentation_WR11: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC2X3.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc2x3.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False def calc_IfcMaterialLayerSet_TotalThickness(self): return IfcMlsTotalThickness(self) @@ -5529,7 +5528,7 @@ class IfcMove_WR2: @staticmethod def __call__(self): operateson = express_getattr(self, 'OperatesOn', INDETERMINATE) - assert (sizeof([temp for temp in operateson if sizeof([temp2 for temp2 in express_getattr(temp, 'RelatedObjects', INDETERMINATE) if 'IFC2X3.IFCACTOR' in typeof(temp2) or 'IFC2X3.IFCEQUIPMENTELEMENT' in typeof(temp2) or 'IFC2X3.IFCFURNISHINGELEMENT' in typeof(temp2)]) >= 1]) >= 1) is not False + assert (sizeof([temp for temp in operateson if sizeof([temp2 for temp2 in express_getattr(temp, 'RelatedObjects', INDETERMINATE) if 'ifc2x3.ifcactor' in typeof(temp2) or 'ifc2x3.ifcequipmentelement' in typeof(temp2) or 'ifc2x3.ifcfurnishingelement' in typeof(temp2)]) >= 1]) >= 1) is not False class IfcMove_WR3: SCOPE = 'entity' @@ -5557,7 +5556,7 @@ class IfcObject_WR1: @staticmethod def __call__(self): isdefinedby = express_getattr(self, 'IsDefinedBy', INDETERMINATE) - assert (sizeof([temp for temp in isdefinedby if 'IFC2X3.IFCRELDEFINESBYTYPE' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in isdefinedby if 'ifc2x3.ifcreldefinesbytype' in typeof(temp)]) <= 1) is not False class IfcObjective_WR21: SCOPE = 'entity' @@ -5607,7 +5606,7 @@ class IfcOrientedEdge_WR1: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC2X3.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc2x3.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -5761,7 +5760,7 @@ class IfcPolygonalBoundedHalfSpace_WR42: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC2X3.IFCPOLYLINE', 'IFC2X3.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc2x3.ifcpolyline', 'ifc2x3.ifccompositecurve']) == 1) is not False class IfcPolyline_WR41: SCOPE = 'entity' @@ -5823,7 +5822,7 @@ class IfcProcedure_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Decomposes', INDETERMINATE) if not 'IFC2X3.IFCRELNESTS' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Decomposes', INDETERMINATE) if not 'ifc2x3.ifcrelnests' in typeof(temp)]) == 0) is not False class IfcProcedure_WR2: SCOPE = 'entity' @@ -5832,7 +5831,7 @@ class IfcProcedure_WR2: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'IsDecomposedBy', INDETERMINATE) if not 'IFC2X3.IFCRELNESTS' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'IsDecomposedBy', INDETERMINATE) if not 'ifc2x3.ifcrelnests' in typeof(temp)]) == 0) is not False class IfcProcedure_WR3: SCOPE = 'entity' @@ -5862,7 +5861,7 @@ class IfcProduct_WR1: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and (not 'IFC2X3.IFCPRODUCTDEFINITIONSHAPE' in typeof(representation))) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and (not 'ifc2x3.ifcproductdefinitionshape' in typeof(representation))) or (not exists(representation))) is not False class IfcProductDefinitionShape_WR11: SCOPE = 'entity' @@ -5872,7 +5871,7 @@ class IfcProductDefinitionShape_WR11: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC2X3.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc2x3.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_WR31: SCOPE = 'entity' @@ -5891,7 +5890,7 @@ class IfcProject_WR32: @staticmethod def __call__(self): representationcontexts = express_getattr(self, 'RepresentationContexts', INDETERMINATE) - assert (sizeof([temp for temp in representationcontexts if 'IFC2X3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representationcontexts if 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_WR33: SCOPE = 'entity' @@ -6242,7 +6241,7 @@ class IfcRectangularTrimmedSurface_WR3: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC2X3.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC2X3.IFCPLANE' in typeof(basissurface)) or 'IFC2X3.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc2x3.ifcelementarysurface' in typeof(basissurface) and (not 'ifc2x3.ifcplane' in typeof(basissurface)) or 'ifc2x3.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_WR4: SCOPE = 'entity' @@ -6297,7 +6296,7 @@ class IfcRelAssignsTasks_WR2: @staticmethod def __call__(self): - assert ('IFC2X3.IFCTASK' in typeof(express_getitem(express_getattr(self, 'RelatedObjects', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert ('ifc2x3.ifctask' in typeof(express_getitem(express_getattr(self, 'RelatedObjects', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcRelAssignsTasks_WR3: SCOPE = 'entity' @@ -6306,7 +6305,7 @@ class IfcRelAssignsTasks_WR3: @staticmethod def __call__(self): - assert ('IFC2X3.IFCWORKCONTROL' in typeof(express_getattr(self, 'RelatingControl', INDETERMINATE))) is not False + assert ('ifc2x3.ifcworkcontrol' in typeof(express_getattr(self, 'RelatingControl', INDETERMINATE))) is not False class IfcRelAssignsToActor_WR1: SCOPE = 'entity' @@ -6376,7 +6375,7 @@ class IfcRelAssociates_WR21: @staticmethod def __call__(self): relatedobjects = express_getattr(self, 'RelatedObjects', INDETERMINATE) - assert (sizeof([temp for temp in relatedobjects if not ('IFC2X3.IFCOBJECTDEFINITION' in typeof(temp) or 'IFC2X3.IFCPROPERTYDEFINITION' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedobjects if not ('ifc2x3.ifcobjectdefinition' in typeof(temp) or 'ifc2x3.ifcpropertydefinition' in typeof(temp))]) == 0) is not False class IfcRelAssociatesMaterial_WR21: SCOPE = 'entity' @@ -6385,7 +6384,7 @@ class IfcRelAssociatesMaterial_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC2X3.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC2X3.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc2x3.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc2x3.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_WR22: SCOPE = 'entity' @@ -6394,7 +6393,7 @@ class IfcRelAssociatesMaterial_WR22: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if not 'IFC2X3.IFCPRODUCT' in typeof(temp) and (not 'IFC2X3.IFCTYPEPRODUCT' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if not 'ifc2x3.ifcproduct' in typeof(temp) and (not 'ifc2x3.ifctypeproduct' in typeof(temp))]) == 0) is not False class IfcRelConnectsElements_WR31: SCOPE = 'entity' @@ -6415,7 +6414,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC2X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDecomposes_WR31: SCOPE = 'entity' @@ -6454,7 +6453,7 @@ class IfcRelReferencedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC2X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelSchedulesCostItems_WR11: SCOPE = 'entity' @@ -6463,7 +6462,7 @@ class IfcRelSchedulesCostItems_WR11: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if not 'IFC2X3.IFCCOSTITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if not 'ifc2x3.ifccostitem' in typeof(temp)]) == 0) is not False class IfcRelSchedulesCostItems_WR12: SCOPE = 'entity' @@ -6472,7 +6471,7 @@ class IfcRelSchedulesCostItems_WR12: @staticmethod def __call__(self): - assert ('IFC2X3.IFCCOSTSCHEDULE' in typeof(express_getattr(self, 'RelatingControl', INDETERMINATE))) is not False + assert ('ifc2x3.ifccostschedule' in typeof(express_getattr(self, 'RelatingControl', INDETERMINATE))) is not False class IfcRelSequence_WR1: SCOPE = 'entity' @@ -6494,7 +6493,7 @@ class IfcRelSpaceBoundary_WR1: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (exists(relatedbuildingelement) and (not 'IFC2X3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement))) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and (not exists(relatedbuildingelement) or 'IFC2X3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (exists(relatedbuildingelement) and (not 'ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement))) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and (not exists(relatedbuildingelement) or 'ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcRevolvedAreaSolid_WR31: SCOPE = 'entity' @@ -6603,7 +6602,7 @@ class IfcShapeRepresentation_WR21: @staticmethod def __call__(self): - assert ('IFC2X3.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc2x3.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_WR22: SCOPE = 'entity' @@ -6613,7 +6612,7 @@ class IfcShapeRepresentation_WR22: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC2X3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC2X3.IFCVERTEXPOINT', 'IFC2X3.IFCEDGECURVE', 'IFC2X3.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc2x3.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc2x3.ifcvertexpoint', 'ifc2x3.ifcedgecurve', 'ifc2x3.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_WR23: SCOPE = 'entity' @@ -6666,7 +6665,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC2X3.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC2X3.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC2X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc2x3.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc2x3.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc2x3.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcStair_WR1: SCOPE = 'entity' @@ -6684,7 +6683,7 @@ class IfcStructuralLinearAction_WR61: @staticmethod def __call__(self): - assert (sizeof(['IFC2X3.IFCSTRUCTURALLOADLINEARFORCE', 'IFC2X3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc2x3.ifcstructuralloadlinearforce', 'ifc2x3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False def calc_IfcStructuralLinearActionVarying_VaryingAppliedLoads(self): subsequentappliedloads = express_getattr(self, 'SubsequentAppliedLoads', INDETERMINATE) @@ -6697,7 +6696,7 @@ class IfcStructuralPlanarAction_WR61: @staticmethod def __call__(self): - assert (sizeof(['IFC2X3.IFCSTRUCTURALLOADPLANARFORCE', 'IFC2X3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc2x3.ifcstructuralloadplanarforce', 'ifc2x3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False def calc_IfcStructuralPlanarActionVarying_VaryingAppliedLoads(self): subsequentappliedloads = express_getattr(self, 'SubsequentAppliedLoads', INDETERMINATE) @@ -6710,7 +6709,7 @@ class IfcStructuralPointAction_WR61: @staticmethod def __call__(self): - assert (sizeof(['IFC2X3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC2X3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc2x3.ifcstructuralloadsingleforce', 'ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_WR61: SCOPE = 'entity' @@ -6719,7 +6718,7 @@ class IfcStructuralPointReaction_WR61: @staticmethod def __call__(self): - assert (sizeof(['IFC2X3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC2X3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc2x3.ifcstructuralloadsingleforce', 'ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralProfileProperties_WR21: SCOPE = 'entity' @@ -6786,7 +6785,7 @@ class IfcStructuralSurfaceMemberVarying_WR63: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'VaryingThicknessLocation', INDETERMINATE), 'ShapeRepresentations', INDETERMINATE) if not ('IFC2X3.IFCCARTESIANPOINT' in typeof(express_getitem(express_getattr(temp, 'Items', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC2X3.IFCPOINTONSURFACE' in typeof(express_getitem(express_getattr(temp, 'Items', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'VaryingThicknessLocation', INDETERMINATE), 'ShapeRepresentations', INDETERMINATE) if not ('ifc2x3.ifccartesianpoint' in typeof(express_getitem(express_getattr(temp, 'Items', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc2x3.ifcpointonsurface' in typeof(express_getitem(express_getattr(temp, 'Items', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))]) == 0) is not False def calc_IfcStructuralSurfaceMemberVarying_VaryingThickness(self): subsequentthickness = express_getattr(self, 'SubsequentThickness', INDETERMINATE) @@ -6800,7 +6799,7 @@ class IfcStructuredDimensionCallout_WR31: @staticmethod def __call__(self): contents = express_getattr(self, 'Contents', INDETERMINATE) - assert (sizeof([ato for ato in [con for con in express_getattr(self, 'contents', INDETERMINATE) if 'IFC2X3.IFCANNOTATIONTEXTOCCURRENCE' in typeof(con)] if not express_getattr(express_getattr(ato, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['dimension value', 'tolerance value', 'unit text', 'prefix text', 'suffix text']]) == 0) is not False + assert (sizeof([ato for ato in [con for con in express_getattr(self, 'contents', INDETERMINATE) if 'ifc2x3.ifcannotationtextoccurrence' in typeof(con)] if not express_getattr(express_getattr(ato, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['dimension value', 'tolerance value', 'unit text', 'prefix text', 'suffix text']]) == 0) is not False class IfcStyledItem_WR11: SCOPE = 'entity' @@ -6820,7 +6819,7 @@ class IfcStyledItem_WR12: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC2X3.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc2x3.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_WR21: SCOPE = 'entity' @@ -6829,7 +6828,7 @@ class IfcStyledRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC2X3.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc2x3.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSurfaceOfLinearExtrusion_WR41: SCOPE = 'entity' @@ -6857,7 +6856,7 @@ class IfcSurfaceStyle_WR11: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC2X3.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc2x3.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_WR12: SCOPE = 'entity' @@ -6866,7 +6865,7 @@ class IfcSurfaceStyle_WR12: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC2X3.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc2x3.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_WR13: SCOPE = 'entity' @@ -6875,7 +6874,7 @@ class IfcSurfaceStyle_WR13: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC2X3.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc2x3.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_WR14: SCOPE = 'entity' @@ -6884,7 +6883,7 @@ class IfcSurfaceStyle_WR14: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC2X3.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc2x3.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_WR15: SCOPE = 'entity' @@ -6893,7 +6892,7 @@ class IfcSurfaceStyle_WR15: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC2X3.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc2x3.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_WR22: SCOPE = 'entity' @@ -6934,7 +6933,7 @@ class IfcSweptSurface_WR1: @staticmethod def __call__(self): sweptcurve = express_getattr(self, 'SweptCurve', INDETERMINATE) - assert (not 'IFC2X3.IFCDERIVEDPROFILEDEF' in typeof(sweptcurve)) is not False + assert (not 'ifc2x3.ifcderivedprofiledef' in typeof(sweptcurve)) is not False class IfcSweptSurface_WR2: SCOPE = 'entity' @@ -7031,7 +7030,7 @@ class IfcTask_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Decomposes', INDETERMINATE) if not 'IFC2X3.IFCRELNESTS' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Decomposes', INDETERMINATE) if not 'ifc2x3.ifcrelnests' in typeof(temp)]) == 0) is not False class IfcTask_WR2: SCOPE = 'entity' @@ -7040,7 +7039,7 @@ class IfcTask_WR2: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'IsDecomposedBy', INDETERMINATE) if not 'IFC2X3.IFCRELNESTS' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'IsDecomposedBy', INDETERMINATE) if not 'ifc2x3.ifcrelnests' in typeof(temp)]) == 0) is not False class IfcTask_WR3: SCOPE = 'entity' @@ -7083,7 +7082,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC2X3.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc2x3.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_WR31: SCOPE = 'entity' @@ -7092,7 +7091,7 @@ class IfcTextStyleFontModel_WR31: @staticmethod def __call__(self): - assert ('IFC2X3.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc2x3.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTextureMap_WR11: SCOPE = 'entity' @@ -7101,7 +7100,7 @@ class IfcTextureMap_WR11: @staticmethod def __call__(self): - assert (sizeof(['IFC2X3.IFCSHELLBASEDSURFACEMODEL', 'IFC2X3.IFCFACEBASEDSURFACEMODEL', 'IFC2X3.IFCFACETEDBREP', 'IFC2X3.IFCFACETEDBREPWITHVOIDS'] * typeof(express_getattr(express_getitem(express_getattr(self, 'AnnotatedSurface', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Item', INDETERMINATE))) >= 1) is not False + assert (sizeof(['ifc2x3.ifcshellbasedsurfacemodel', 'ifc2x3.ifcfacebasedsurfacemodel', 'ifc2x3.ifcfacetedbrep', 'ifc2x3.ifcfacetedbrepwithvoids'] * typeof(express_getattr(express_getitem(express_getattr(self, 'AnnotatedSurface', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Item', INDETERMINATE))) >= 1) is not False class IfcTimeSeriesSchedule_WR41: SCOPE = 'entity' @@ -7120,7 +7119,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC2X3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc2x3.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -7168,7 +7167,7 @@ class IfcTrimmedCurve_WR43: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC2X3.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc2x3.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundleType_WR1: SCOPE = 'entity' @@ -7196,7 +7195,7 @@ class IfcTypeProduct_WR41: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'ObjectTypeOf', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'ObjectTypeOf', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC2X3.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'ObjectTypeOf', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'ObjectTypeOf', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc2x3.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_WR21: SCOPE = 'entity' @@ -7281,7 +7280,7 @@ class IfcWall_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC2X3.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc2x3.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcWallStandardCase_WR1: SCOPE = 'entity' @@ -7290,7 +7289,7 @@ class IfcWallStandardCase_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC2X3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC2X3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC2X3.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc2x3.ifcrelassociates.relatedobjects') if 'ifc2x3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc2x3.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -7332,7 +7331,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC2X3.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc2x3.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWorkControl_WR1: SCOPE = 'entity' @@ -7362,7 +7361,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC2X3.IFCZONE' in typeof(temp) or 'IFC2X3.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc2x3.ifczone' in typeof(temp) or 'ifc2x3.ifcspace' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -7591,10 +7590,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC2X3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC2X3.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC2X3.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC2X3.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc2x3.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc2x3.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc2x3.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc2x3.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -7607,12 +7606,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC2X3.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc2x3.ifcgridplacement' in typeof(relplacement): return None - if 'IFC2X3.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC2X3.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc2x3.ifclocalplacement' in typeof(relplacement): + if 'ifc2x3.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC2X3.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc2x3.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -7627,25 +7626,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC2X3.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc2x3.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -7656,13 +7655,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC2X3.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC2X3.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC2X3.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc2x3.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc2x3.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc2x3.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC2X3.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc2x3.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC2X3.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc2x3.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -7683,21 +7682,21 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC2X3.IFCLINE' in typeof(curve): + if 'ifc2x3.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC2X3.IFCCONIC' in typeof(curve): + if 'ifc2x3.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC2X3.IFCPOLYLINE' in typeof(curve): + if 'ifc2x3.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC2X3.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc2x3.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC2X3.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc2x3.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC2X3.IFCBSPLINECURVE' in typeof(curve): + if 'ifc2x3.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC2X3.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc2x3.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC2X3.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc2x3.ifcoffsetcurve3d' in typeof(curve): return 3 return None @@ -7861,7 +7860,7 @@ def IfcNormalise(arg): return None else: ndim = express_getattr(arg, 'Dim', INDETERMINATE) - if 'IFC2X3.IFCVECTOR' in typeof(arg): + if 'ifc2x3.ifcvector' in typeof(arg): v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) vec.Orientation = v @@ -7880,7 +7879,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC2X3.IFCVECTOR' in typeof(arg): + if 'ifc2x3.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -7950,7 +7949,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC2X3.IFCVECTOR' in typeof(vec): + if 'ifc2x3.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -7979,57 +7978,57 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC2X3.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC2X3.IFCPOINT', 'IFC2X3.IFCCURVE', 'IFC2X3.IFCGEOMETRICCURVESET', 'IFC2X3.IFCANNOTATIONFILLAREA', 'IFC2X3.IFCDEFINEDSYMBOL', 'IFC2X3.IFCTEXTLITERAL', 'IFC2X3.IFCDRAUGHTINGCALLOUT']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC2X3.IFCGEOMETRICSET' in typeof(temp) or 'IFC2X3.IFCPOINT' in typeof(temp) or 'IFC2X3.IFCCURVE' in typeof(temp) or ('IFC2X3.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC2X3.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC2X3.IFCGEOMETRICSET' in typeof(temp) or 'IFC2X3.IFCPOINT' in typeof(temp) or ('IFC2X3.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc2x3.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc2x3.ifcpoint', 'ifc2x3.ifccurve', 'ifc2x3.ifcgeometriccurveset', 'ifc2x3.ifcannotationfillarea', 'ifc2x3.ifcdefinedsymbol', 'ifc2x3.ifctextliteral', 'ifc2x3.ifcdraughtingcallout']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc2x3.ifcgeometricset' in typeof(temp) or 'ifc2x3.ifcpoint' in typeof(temp) or 'ifc2x3.ifccurve' in typeof(temp) or ('ifc2x3.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc2x3.ifcgeometriccurveset' in typeof(temp) or 'ifc2x3.ifcgeometricset' in typeof(temp) or 'ifc2x3.ifcpoint' in typeof(temp) or ('ifc2x3.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC2X3.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC2X3.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc2x3.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc2x3.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC2X3.IFCSHELLBASEDSURFACEMODEL', 'IFC2X3.IFCFACEBASEDSURFACEMODEL', 'IFC2X3.IFCFACETEDBREP', 'IFC2X3.IFCFACETEDBREPWITHVOIDS'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC2X3.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if 'IFC2X3.IFCSWEPTAREASOLID' in typeof(temp)]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if 'IFC2X3.IFCBOOLEANRESULT' in typeof(temp)]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if 'IFC2X3.IFCBOOLEANCLIPPINGRESULT' in typeof(temp)]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if 'IFC2X3.IFCSURFACECURVESWEPTAREASOLID' in typeof(temp) or 'IFC2X3.IFCSWEPTDISKSOLID' in typeof(temp)]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC2X3.IFCFACETEDBREP' in typeof(temp) or 'IFC2X3.IFCFACETEDBREPWITHVOIDS' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC2X3.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc2x3.ifcshellbasedsurfacemodel', 'ifc2x3.ifcfacebasedsurfacemodel', 'ifc2x3.ifcfacetedbrep', 'ifc2x3.ifcfacetedbrepwithvoids'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc2x3.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if 'ifc2x3.ifcsweptareasolid' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if 'ifc2x3.ifcbooleanresult' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if 'ifc2x3.ifcbooleanclippingresult' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if 'ifc2x3.ifcsurfacecurvesweptareasolid' in typeof(temp) or 'ifc2x3.ifcsweptdisksolid' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc2x3.ifcfacetedbrep' in typeof(temp) or 'ifc2x3.ifcfacetedbrepwithvoids' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc2x3.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC2X3.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC2X3.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc2x3.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc2x3.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC2X3.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC2X3.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC2X3.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC2X3.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC2X3.IFCOPENSHELL' in typeof(temp) or 'IFC2X3.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc2x3.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc2x3.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc2x3.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc2x3.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc2x3.ifcopenshell' in typeof(temp) or 'ifc2x3.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -8070,13 +8069,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC2X3.IFCVECTOR' in typeof(arg1): + if 'ifc2x3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC2X3.IFCVECTOR' in typeof(arg2): + if 'ifc2x3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -8102,13 +8101,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC2X3.IFCVECTOR' in typeof(arg1): + if 'ifc2x3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC2X3.IFCVECTOR' in typeof(arg2): + if 'ifc2x3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py index d0cec54d3b..7b931af2e9 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py @@ -4572,7 +4572,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -4601,7 +4601,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -4611,7 +4611,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -4620,7 +4620,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4.IFCELEMENTARYSURFACE', 'IFC4.IFCSWEPTSURFACE', 'IFC4.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4.ifcelementarysurface', 'ifc4.ifcsweptsurface', 'ifc4.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -4629,7 +4629,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -4638,7 +4638,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4.IFCLINE', 'IFC4.IFCCONIC', 'IFC4.IFCPOLYLINE', 'IFC4.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4.ifcline', 'ifc4.ifcconic', 'ifc4.ifcpolyline', 'ifc4.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -4658,7 +4658,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -4678,7 +4678,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -4718,7 +4718,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -4748,7 +4748,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -4789,7 +4789,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -4799,7 +4799,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -4808,7 +4808,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -4847,7 +4847,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -4915,7 +4915,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5163,7 +5163,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5172,7 +5172,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -5191,7 +5191,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -5221,7 +5221,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5241,7 +5241,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -5251,7 +5251,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -5282,7 +5282,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -5292,7 +5292,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -5317,7 +5317,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElement_MaxOneMaterialAssociation: SCOPE = 'entity' @@ -5326,7 +5326,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuildingElementPart_CorrectPredefinedType: SCOPE = 'entity' @@ -5346,7 +5346,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -5385,7 +5385,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -5415,7 +5415,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5481,7 +5481,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5511,7 +5511,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5541,7 +5541,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5571,7 +5571,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5749,7 +5749,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5779,7 +5779,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -5819,7 +5819,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -5849,7 +5849,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5858,7 +5858,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -5888,7 +5888,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5991,7 +5991,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6015,7 +6015,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6035,7 +6035,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6065,7 +6065,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -6165,7 +6165,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6195,7 +6195,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6225,7 +6225,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6255,7 +6255,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -6308,7 +6308,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -6331,7 +6331,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -6373,7 +6373,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -6451,7 +6451,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -6481,7 +6481,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -6512,7 +6512,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -6565,7 +6565,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -6574,7 +6574,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6622,7 +6622,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6652,7 +6652,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6682,7 +6682,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6736,7 +6736,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6766,7 +6766,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -6796,7 +6796,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6826,7 +6826,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6856,7 +6856,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6886,7 +6886,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -6916,7 +6916,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6956,7 +6956,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -6986,7 +6986,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7016,7 +7016,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7108,7 +7108,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -7131,7 +7131,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -7161,7 +7161,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7198,7 +7198,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -7207,7 +7207,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -7256,7 +7256,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7286,7 +7286,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -7308,7 +7308,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4.IFCCONIC', 'IFC4.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4.ifcconic', 'ifc4.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcFlowInstrument_CorrectPredefinedType: SCOPE = 'entity' @@ -7328,7 +7328,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7358,7 +7358,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7388,7 +7388,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7418,7 +7418,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -7448,7 +7448,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7467,7 +7467,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -7487,7 +7487,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -7591,7 +7591,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7621,7 +7621,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -7697,7 +7697,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7745,7 +7745,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -7807,7 +7807,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -7837,7 +7837,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -7879,7 +7879,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -7922,7 +7922,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7952,7 +7952,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7982,7 +7982,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -7991,7 +7991,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -8024,7 +8024,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -8103,7 +8103,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -8133,7 +8133,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -8237,7 +8237,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -8267,7 +8267,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8297,7 +8297,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8383,7 +8383,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -8392,7 +8392,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -8440,7 +8440,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4.IFCPOLYLINE', 'IFC4.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4.ifcpolyline', 'ifc4.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -8476,7 +8476,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4.IFCSHAPEREPRESENTATION', 'IFC4.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4.ifcshaperepresentation', 'ifc4.ifcgeometricrepresentationitem', 'ifc4.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -8486,7 +8486,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4.ifcgeometricrepresentationitem', 'ifc4.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -8526,7 +8526,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -8536,7 +8536,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -8554,7 +8554,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -8735,7 +8735,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -8755,7 +8755,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -8804,7 +8804,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -8939,7 +8939,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8969,7 +8969,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -8989,7 +8989,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -9123,7 +9123,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4.IFCPLANE' in typeof(basissurface)) or 'IFC4.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4.ifcplane' in typeof(basissurface)) or 'ifc4.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -9155,7 +9155,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -9196,7 +9196,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -9308,7 +9308,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -9317,7 +9317,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4.IFCELEMENT', 'IFC4.IFCELEMENTTYPE', 'IFC4.IFCWINDOWSTYLE', 'IFC4.IFCDOORSTYLE', 'IFC4.IFCSTRUCTURALMEMBER', 'IFC4.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4.ifcelement', 'ifc4.ifcelementtype', 'ifc4.ifcwindowstyle', 'ifc4.ifcdoorstyle', 'ifc4.ifcstructuralmember', 'ifc4.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -9369,7 +9369,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -9389,7 +9389,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NotSelfReference: SCOPE = 'entity' @@ -9421,7 +9421,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -9454,7 +9454,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -9474,7 +9474,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -9527,7 +9527,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -9570,7 +9570,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9652,7 +9652,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -9682,7 +9682,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9711,7 +9711,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -9721,7 +9721,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4.IFCVERTEXPOINT', 'IFC4.IFCEDGECURVE', 'IFC4.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4.ifcvertexpoint', 'ifc4.ifcedgecurve', 'ifc4.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -9771,7 +9771,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -9789,7 +9789,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -9819,7 +9819,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9852,7 +9852,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -9872,7 +9872,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -9901,7 +9901,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -9921,7 +9921,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -9951,7 +9951,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9981,7 +9981,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10001,7 +10001,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10100,7 +10100,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4.ifcstructuralloadlinearforce', 'ifc4.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -10150,7 +10150,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4.ifcstructuralloadplanarforce', 'ifc4.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -10168,7 +10168,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4.ifcstructuralloadsingleforce', 'ifc4.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -10177,7 +10177,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4.ifcstructuralloadsingleforce', 'ifc4.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -10237,7 +10237,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -10246,7 +10246,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -10289,7 +10289,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -10304,7 +10304,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4.IFCCONIC', 'IFC4.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4.ifcconic', 'ifc4.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSurfaceFeature_HasObjectType: SCOPE = 'entity' @@ -10384,7 +10384,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -10393,7 +10393,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -10402,7 +10402,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -10411,7 +10411,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -10420,7 +10420,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -10463,7 +10463,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4.IFCCONIC', 'IFC4.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4.ifcconic', 'ifc4.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -10482,7 +10482,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -10512,7 +10512,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -10542,7 +10542,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -10626,7 +10626,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -10700,7 +10700,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -10720,7 +10720,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -10753,7 +10753,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -10762,7 +10762,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -10771,7 +10771,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -10820,7 +10820,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -10850,7 +10850,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -10894,7 +10894,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -10914,7 +10914,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -10952,7 +10952,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -11004,7 +11004,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11034,7 +11034,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -11064,7 +11064,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -11108,7 +11108,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11148,7 +11148,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11166,7 +11166,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4.ifcrelassociates.relatedobjects') if 'ifc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -11196,7 +11196,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11216,7 +11216,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -11258,7 +11258,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -11267,7 +11267,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -11327,7 +11327,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4.IFCZONE' in typeof(temp) or 'IFC4.IFCSPACE' in typeof(temp) or 'IFC4.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4.ifczone' in typeof(temp) or 'ifc4.ifcspace' in typeof(temp) or 'ifc4.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -11590,10 +11590,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -11606,12 +11606,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4.ifclocalplacement' in typeof(relplacement): + if 'ifc4.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -11626,25 +11626,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -11655,13 +11655,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -11682,25 +11682,25 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4.IFCLINE' in typeof(curve): + if 'ifc4.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4.IFCCONIC' in typeof(curve): + if 'ifc4.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4.IFCPOLYLINE' in typeof(curve): + if 'ifc4.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4.IFCPCURVE' in typeof(curve): + if 'ifc4.ifcpcurve' in typeof(curve): return 3 - if 'IFC4.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -11826,13 +11826,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4.IFCPCURVE' in typeof(c): + if 'ifc4.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4.IFCSURFACECURVE' in typeof(c): + elif 'ifc4.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -11887,7 +11887,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4.IFCVECTOR' in typeof(arg): + if 'ifc4.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -11908,7 +11908,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4.IFCVECTOR' in typeof(arg): + if 'ifc4.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -11933,9 +11933,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -11985,7 +11985,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4.IFCVECTOR' in typeof(vec): + if 'ifc4.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -12014,68 +12014,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4.IFCPOINT', 'IFC4.IFCCURVE', 'IFC4.IFCGEOMETRICCURVESET', 'IFC4.IFCANNOTATIONFILLAREA', 'IFC4.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4.IFCGEOMETRICSET' in typeof(temp) or 'IFC4.IFCPOINT' in typeof(temp) or 'IFC4.IFCCURVE' in typeof(temp) or ('IFC4.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4.IFCGEOMETRICSET' in typeof(temp) or 'IFC4.IFCPOINT' in typeof(temp) or ('IFC4.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4.ifcpoint', 'ifc4.ifccurve', 'ifc4.ifcgeometriccurveset', 'ifc4.ifcannotationfillarea', 'ifc4.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4.ifcgeometricset' in typeof(temp) or 'ifc4.ifcpoint' in typeof(temp) or 'ifc4.ifccurve' in typeof(temp) or ('ifc4.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4.ifcgeometriccurveset' in typeof(temp) or 'ifc4.ifcgeometricset' in typeof(temp) or 'ifc4.ifcpoint' in typeof(temp) or ('ifc4.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCTESSELLATEDITEM', 'IFC4.IFCSHELLBASEDSURFACEMODEL', 'IFC4.IFCFACEBASEDSURFACEMODEL', 'IFC4.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCTESSELLATEDITEM', 'IFC4.IFCSHELLBASEDSURFACEMODEL', 'IFC4.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCEXTRUDEDAREASOLID', 'IFC4.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCSWEPTAREASOLID', 'IFC4.IFCSWEPTDISKSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCBOOLEANRESULT', 'IFC4.IFCCSGPRIMITIVE3D', 'IFC4.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4.IFCCSGSOLID', 'IFC4.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifctessellateditem', 'ifc4.ifcshellbasedsurfacemodel', 'ifc4.ifcfacebasedsurfacemodel', 'ifc4.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifctessellateditem', 'ifc4.ifcshellbasedsurfacemodel', 'ifc4.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifcextrudedareasolid', 'ifc4.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4.ifcextrudedareasolidtapered', 'ifc4.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifcsweptareasolid', 'ifc4.ifcsweptdisksolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifcbooleanresult', 'ifc4.ifccsgprimitive3d', 'ifc4.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4.ifccsgsolid', 'ifc4.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -12092,12 +12092,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -12105,17 +12105,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4.IFCOPENSHELL' in typeof(temp) or 'IFC4.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4.ifcopenshell' in typeof(temp) or 'ifc4.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -12127,9 +12127,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -12146,7 +12146,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -12168,13 +12168,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4.IFCVECTOR' in typeof(arg1): + if 'ifc4.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4.IFCVECTOR' in typeof(arg2): + if 'ifc4.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -12200,13 +12200,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4.IFCVECTOR' in typeof(arg1): + if 'ifc4.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4.IFCVECTOR' in typeof(arg2): + if 'ifc4.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py index cee2b993a9..b07e9a2234 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py @@ -4663,7 +4663,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -4692,7 +4692,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X1.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x1.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -4702,7 +4702,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X1.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x1.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -4711,7 +4711,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X1.IFCELEMENTARYSURFACE', 'IFC4X1.IFCSWEPTSURFACE', 'IFC4X1.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x1.ifcelementarysurface', 'ifc4x1.ifcsweptsurface', 'ifc4x1.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -4720,7 +4720,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X1.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x1.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -4729,7 +4729,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X1.IFCLINE', 'IFC4X1.IFCCONIC', 'IFC4X1.IFCPOLYLINE', 'IFC4X1.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x1.ifcline', 'ifc4x1.ifcconic', 'ifc4x1.ifcpolyline', 'ifc4x1.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -4749,7 +4749,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -4769,7 +4769,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -4809,7 +4809,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -4839,7 +4839,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -4880,7 +4880,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X1.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x1.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -4890,7 +4890,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X1.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x1.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -4899,7 +4899,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X1.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x1.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -4938,7 +4938,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X1.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x1.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5006,7 +5006,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5254,7 +5254,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5263,7 +5263,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -5282,7 +5282,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -5312,7 +5312,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5332,7 +5332,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X1.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X1.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X1.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x1.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x1.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x1.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -5342,7 +5342,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X1.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x1.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -5373,7 +5373,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X1.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x1.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -5383,7 +5383,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X1.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x1.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -5408,7 +5408,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X1.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x1.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElement_MaxOneMaterialAssociation: SCOPE = 'entity' @@ -5417,7 +5417,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuildingElementPart_CorrectPredefinedType: SCOPE = 'entity' @@ -5437,7 +5437,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -5476,7 +5476,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -5506,7 +5506,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5572,7 +5572,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5602,7 +5602,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5632,7 +5632,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5662,7 +5662,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5840,7 +5840,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5870,7 +5870,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -5910,7 +5910,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -5940,7 +5940,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5949,7 +5949,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -5979,7 +5979,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6082,7 +6082,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X1.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x1.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6106,7 +6106,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X1.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x1.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6126,7 +6126,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6156,7 +6156,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -6256,7 +6256,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6286,7 +6286,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6316,7 +6316,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6346,7 +6346,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -6399,7 +6399,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -6422,7 +6422,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X1.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X1.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x1.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x1.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -6464,7 +6464,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -6542,7 +6542,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -6572,7 +6572,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -6603,7 +6603,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -6656,7 +6656,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X1.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x1.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -6665,7 +6665,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X1.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x1.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6713,7 +6713,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6743,7 +6743,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6773,7 +6773,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6827,7 +6827,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6857,7 +6857,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -6887,7 +6887,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6917,7 +6917,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6947,7 +6947,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6977,7 +6977,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -7007,7 +7007,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -7047,7 +7047,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -7077,7 +7077,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7107,7 +7107,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7199,7 +7199,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X1.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x1.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -7222,7 +7222,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -7252,7 +7252,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7289,7 +7289,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X1.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x1.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -7298,7 +7298,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x1.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -7347,7 +7347,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7377,7 +7377,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -7399,7 +7399,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X1.IFCCONIC', 'IFC4X1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x1.ifcconic', 'ifc4x1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcFlowInstrument_CorrectPredefinedType: SCOPE = 'entity' @@ -7419,7 +7419,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7449,7 +7449,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7479,7 +7479,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7509,7 +7509,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -7539,7 +7539,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7558,7 +7558,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X1.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x1.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -7578,7 +7578,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -7673,7 +7673,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7703,7 +7703,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -7779,7 +7779,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7827,7 +7827,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -7889,7 +7889,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -7919,7 +7919,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -7961,7 +7961,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X1.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x1.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -8004,7 +8004,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8034,7 +8034,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8064,7 +8064,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -8073,7 +8073,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -8106,7 +8106,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -8185,7 +8185,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X1.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x1.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -8215,7 +8215,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -8319,7 +8319,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -8349,7 +8349,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8379,7 +8379,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8465,7 +8465,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -8474,7 +8474,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -8522,7 +8522,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X1.IFCPOLYLINE', 'IFC4X1.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x1.ifcpolyline', 'ifc4x1.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -8567,7 +8567,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X1.IFCSHAPEREPRESENTATION', 'IFC4X1.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X1.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x1.ifcshaperepresentation', 'ifc4x1.ifcgeometricrepresentationitem', 'ifc4x1.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -8577,7 +8577,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X1.IfcGeometricRepresentationItem', 'IFC4X1.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x1.ifcgeometricrepresentationitem', 'ifc4x1.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -8617,7 +8617,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X1.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x1.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -8627,7 +8627,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X1.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x1.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -8645,7 +8645,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -8826,7 +8826,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -8846,7 +8846,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -8895,7 +8895,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -9030,7 +9030,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9060,7 +9060,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -9080,7 +9080,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -9214,7 +9214,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X1.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X1.IFCPLANE' in typeof(basissurface)) or 'IFC4X1.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x1.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x1.ifcplane' in typeof(basissurface)) or 'ifc4x1.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -9246,7 +9246,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -9287,7 +9287,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -9399,7 +9399,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X1.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X1.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x1.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x1.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -9408,7 +9408,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X1.IFCELEMENT', 'IFC4X1.IFCELEMENTTYPE', 'IFC4X1.IFCWINDOWSTYLE', 'IFC4X1.IFCDOORSTYLE', 'IFC4X1.IFCSTRUCTURALMEMBER', 'IFC4X1.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x1.ifcelement', 'ifc4x1.ifcelementtype', 'ifc4x1.ifcwindowstyle', 'ifc4x1.ifcdoorstyle', 'ifc4x1.ifcstructuralmember', 'ifc4x1.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -9460,7 +9460,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x1.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -9480,7 +9480,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X1.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x1.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NotSelfReference: SCOPE = 'entity' @@ -9512,7 +9512,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X1.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x1.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x1.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -9545,7 +9545,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X1.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x1.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -9565,7 +9565,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X1.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x1.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -9618,7 +9618,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -9661,7 +9661,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9794,7 +9794,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -9824,7 +9824,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9853,7 +9853,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X1.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x1.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -9863,7 +9863,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X1.IFCVERTEXPOINT', 'IFC4X1.IFCEDGECURVE', 'IFC4X1.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x1.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x1.ifcvertexpoint', 'ifc4x1.ifcedgecurve', 'ifc4x1.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -9913,7 +9913,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -9931,7 +9931,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -9961,7 +9961,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9994,7 +9994,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -10014,7 +10014,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -10043,7 +10043,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X1.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X1.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X1.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x1.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x1.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x1.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -10063,7 +10063,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -10093,7 +10093,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -10123,7 +10123,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10143,7 +10143,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10242,7 +10242,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X1.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x1.ifcstructuralloadlinearforce', 'ifc4x1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -10292,7 +10292,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X1.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x1.ifcstructuralloadplanarforce', 'ifc4x1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -10310,7 +10310,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x1.ifcstructuralloadsingleforce', 'ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -10319,7 +10319,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x1.ifcstructuralloadsingleforce', 'ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -10379,7 +10379,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X1.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x1.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -10388,7 +10388,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X1.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x1.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -10431,7 +10431,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X1.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x1.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -10446,7 +10446,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X1.IFCCONIC', 'IFC4X1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x1.ifcconic', 'ifc4x1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSurfaceFeature_HasObjectType: SCOPE = 'entity' @@ -10526,7 +10526,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X1.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x1.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -10535,7 +10535,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X1.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x1.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -10544,7 +10544,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X1.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x1.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -10553,7 +10553,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X1.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x1.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -10562,7 +10562,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X1.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x1.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -10605,7 +10605,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X1.IFCCONIC', 'IFC4X1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x1.ifcconic', 'ifc4x1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -10624,7 +10624,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X1.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X1.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x1.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x1.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -10654,7 +10654,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -10684,7 +10684,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -10768,7 +10768,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -10842,7 +10842,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -10862,7 +10862,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -10895,7 +10895,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X1.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x1.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -10904,7 +10904,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X1.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x1.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -10913,7 +10913,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x1.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -10962,7 +10962,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -10992,7 +10992,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11045,7 +11045,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X1.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x1.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -11065,7 +11065,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -11103,7 +11103,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X1.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x1.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -11155,7 +11155,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11185,7 +11185,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -11215,7 +11215,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -11259,7 +11259,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11299,7 +11299,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11317,7 +11317,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x1.ifcrelassociates.relatedobjects') if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -11347,7 +11347,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11367,7 +11367,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X1.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x1.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -11409,7 +11409,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X1.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x1.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -11418,7 +11418,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X1.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x1.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -11478,7 +11478,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X1.IFCZONE' in typeof(temp) or 'IFC4X1.IFCSPACE' in typeof(temp) or 'IFC4X1.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x1.ifczone' in typeof(temp) or 'ifc4x1.ifcspace' in typeof(temp) or 'ifc4x1.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -11741,10 +11741,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X1.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X1.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X1.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x1.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x1.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x1.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x1.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -11757,12 +11757,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X1.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x1.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X1.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X1.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x1.ifclocalplacement' in typeof(relplacement): + if 'ifc4x1.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X1.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x1.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -11777,25 +11777,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X1.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x1.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -11806,13 +11806,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X1.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X1.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X1.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x1.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x1.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x1.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X1.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x1.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X1.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x1.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -11833,31 +11833,31 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X1.IFCLINE' in typeof(curve): + if 'ifc4x1.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X1.IFCCONIC' in typeof(curve): + if 'ifc4x1.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X1.IFCPOLYLINE' in typeof(curve): + if 'ifc4x1.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X1.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x1.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X1.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x1.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X1.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x1.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X1.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x1.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X1.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x1.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X1.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x1.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X1.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x1.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X1.IFCALIGNMENTCURVE' in typeof(curve): + if 'ifc4x1.ifcalignmentcurve' in typeof(curve): return 3 - if 'IFC4X1.IFCPCURVE' in typeof(curve): + if 'ifc4x1.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X1.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x1.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -11983,13 +11983,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X1.IFCPCURVE' in typeof(c): + if 'ifc4x1.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X1.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x1.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X1.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x1.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -12044,7 +12044,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X1.IFCVECTOR' in typeof(arg): + if 'ifc4x1.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -12065,7 +12065,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X1.IFCVECTOR' in typeof(arg): + if 'ifc4x1.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -12090,9 +12090,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X1.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x1.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X1.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x1.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -12142,7 +12142,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X1.IFCVECTOR' in typeof(vec): + if 'ifc4x1.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -12171,68 +12171,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X1.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X1.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X1.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X1.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X1.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X1.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X1.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X1.IFCPOINT', 'IFC4X1.IFCCURVE', 'IFC4X1.IFCGEOMETRICCURVESET', 'IFC4X1.IFCANNOTATIONFILLAREA', 'IFC4X1.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X1.IFCPOINT' in typeof(temp) or 'IFC4X1.IFCCURVE' in typeof(temp) or ('IFC4X1.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X1.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X1.IFCPOINT' in typeof(temp) or ('IFC4X1.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x1.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x1.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x1.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x1.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x1.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x1.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x1.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x1.ifcpoint', 'ifc4x1.ifccurve', 'ifc4x1.ifcgeometriccurveset', 'ifc4x1.ifcannotationfillarea', 'ifc4x1.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x1.ifcgeometricset' in typeof(temp) or 'ifc4x1.ifcpoint' in typeof(temp) or 'ifc4x1.ifccurve' in typeof(temp) or ('ifc4x1.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x1.ifcgeometriccurveset' in typeof(temp) or 'ifc4x1.ifcgeometricset' in typeof(temp) or 'ifc4x1.ifcpoint' in typeof(temp) or ('ifc4x1.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X1.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X1.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x1.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x1.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X1.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCTESSELLATEDITEM', 'IFC4X1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X1.IFCFACEBASEDSURFACEMODEL', 'IFC4X1.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCTESSELLATEDITEM', 'IFC4X1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X1.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X1.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCEXTRUDEDAREASOLID', 'IFC4X1.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X1.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X1.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCSWEPTAREASOLID', 'IFC4X1.IFCSWEPTDISKSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCBOOLEANRESULT', 'IFC4X1.IFCCSGPRIMITIVE3D', 'IFC4X1.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X1.IFCCSGSOLID', 'IFC4X1.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X1.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X1.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X1.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x1.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifctessellateditem', 'ifc4x1.ifcshellbasedsurfacemodel', 'ifc4x1.ifcfacebasedsurfacemodel', 'ifc4x1.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifctessellateditem', 'ifc4x1.ifcshellbasedsurfacemodel', 'ifc4x1.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x1.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifcextrudedareasolid', 'ifc4x1.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x1.ifcextrudedareasolidtapered', 'ifc4x1.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifcsweptareasolid', 'ifc4x1.ifcsweptdisksolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifcbooleanresult', 'ifc4x1.ifccsgprimitive3d', 'ifc4x1.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x1.ifccsgsolid', 'ifc4x1.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x1.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x1.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x1.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X1.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X1.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X1.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x1.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x1.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x1.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -12249,12 +12249,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X1.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x1.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -12262,17 +12262,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X1.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X1.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X1.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X1.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X1.IFCOPENSHELL' in typeof(temp) or 'IFC4X1.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x1.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x1.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x1.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x1.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x1.ifcopenshell' in typeof(temp) or 'ifc4x1.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -12284,9 +12284,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X1.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x1.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X1.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x1.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -12303,7 +12303,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X1.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x1.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -12325,13 +12325,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X1.IFCVECTOR' in typeof(arg1): + if 'ifc4x1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X1.IFCVECTOR' in typeof(arg2): + if 'ifc4x1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -12357,13 +12357,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X1.IFCVECTOR' in typeof(arg1): + if 'ifc4x1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X1.IFCVECTOR' in typeof(arg2): + if 'ifc4x1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py index 9a5ba324f9..07f6a261e7 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py @@ -4814,7 +4814,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -4843,7 +4843,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X2.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x2.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -4853,7 +4853,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X2.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x2.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -4862,7 +4862,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X2.IFCELEMENTARYSURFACE', 'IFC4X2.IFCSWEPTSURFACE', 'IFC4X2.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x2.ifcelementarysurface', 'ifc4x2.ifcsweptsurface', 'ifc4x2.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -4871,7 +4871,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X2.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x2.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -4880,7 +4880,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X2.IFCLINE', 'IFC4X2.IFCCONIC', 'IFC4X2.IFCPOLYLINE', 'IFC4X2.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x2.ifcline', 'ifc4x2.ifcconic', 'ifc4x2.ifcpolyline', 'ifc4x2.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -4900,7 +4900,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -4920,7 +4920,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -4960,7 +4960,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -4990,7 +4990,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5031,7 +5031,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X2.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x2.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5041,7 +5041,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X2.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x2.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5050,7 +5050,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X2.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x2.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5089,7 +5089,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X2.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x2.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5157,7 +5157,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5405,7 +5405,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5414,7 +5414,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -5444,7 +5444,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5463,7 +5463,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -5493,7 +5493,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5513,7 +5513,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X2.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X2.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X2.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x2.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x2.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x2.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -5523,7 +5523,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X2.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x2.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -5554,7 +5554,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X2.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x2.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -5564,7 +5564,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X2.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x2.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -5589,7 +5589,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X2.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x2.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElement_MaxOneMaterialAssociation: SCOPE = 'entity' @@ -5598,7 +5598,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuildingElementPart_CorrectPredefinedType: SCOPE = 'entity' @@ -5618,7 +5618,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -5657,7 +5657,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -5687,7 +5687,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -5753,7 +5753,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5783,7 +5783,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5813,7 +5813,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -5843,7 +5843,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -5873,7 +5873,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6051,7 +6051,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6081,7 +6081,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6121,7 +6121,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6151,7 +6151,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6160,7 +6160,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6190,7 +6190,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6293,7 +6293,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X2.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x2.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6317,7 +6317,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X2.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x2.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6337,7 +6337,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6367,7 +6367,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -6467,7 +6467,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6497,7 +6497,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6527,7 +6527,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6557,7 +6557,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -6610,7 +6610,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -6633,7 +6633,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X2.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X2.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x2.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x2.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -6675,7 +6675,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -6695,7 +6695,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -6763,7 +6763,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -6793,7 +6793,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -6824,7 +6824,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -6877,7 +6877,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X2.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x2.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -6886,7 +6886,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X2.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x2.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6934,7 +6934,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6964,7 +6964,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6994,7 +6994,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7048,7 +7048,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7078,7 +7078,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7108,7 +7108,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7138,7 +7138,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7168,7 +7168,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7198,7 +7198,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -7228,7 +7228,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -7268,7 +7268,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -7298,7 +7298,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7328,7 +7328,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7420,7 +7420,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X2.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x2.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -7443,7 +7443,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -7473,7 +7473,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7510,7 +7510,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X2.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x2.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -7519,7 +7519,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x2.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -7568,7 +7568,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7598,7 +7598,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -7620,7 +7620,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X2.IFCCONIC', 'IFC4X2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x2.ifcconic', 'ifc4x2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcFlowInstrument_CorrectPredefinedType: SCOPE = 'entity' @@ -7640,7 +7640,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7670,7 +7670,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -7700,7 +7700,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7730,7 +7730,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -7760,7 +7760,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7779,7 +7779,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X2.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x2.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -7799,7 +7799,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -7894,7 +7894,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7924,7 +7924,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8000,7 +8000,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8048,7 +8048,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8110,7 +8110,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -8140,7 +8140,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8182,7 +8182,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X2.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x2.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -8225,7 +8225,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8255,7 +8255,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8285,7 +8285,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -8294,7 +8294,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -8327,7 +8327,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -8406,7 +8406,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X2.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x2.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -8436,7 +8436,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -8540,7 +8540,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -8570,7 +8570,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8600,7 +8600,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8686,7 +8686,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -8695,7 +8695,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -8743,7 +8743,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X2.IFCPOLYLINE', 'IFC4X2.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x2.ifcpolyline', 'ifc4x2.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -8788,7 +8788,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X2.IFCSHAPEREPRESENTATION', 'IFC4X2.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X2.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x2.ifcshaperepresentation', 'ifc4x2.ifcgeometricrepresentationitem', 'ifc4x2.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -8798,7 +8798,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X2.IfcGeometricRepresentationItem', 'IFC4X2.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x2.ifcgeometricrepresentationitem', 'ifc4x2.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -8838,7 +8838,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X2.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x2.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -8848,7 +8848,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X2.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x2.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -8866,7 +8866,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -9047,7 +9047,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -9067,7 +9067,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -9116,7 +9116,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -9251,7 +9251,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9281,7 +9281,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -9301,7 +9301,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -9435,7 +9435,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X2.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X2.IFCPLANE' in typeof(basissurface)) or 'IFC4X2.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x2.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x2.ifcplane' in typeof(basissurface)) or 'ifc4x2.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -9467,7 +9467,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -9508,7 +9508,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -9620,7 +9620,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X2.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X2.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x2.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x2.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -9629,7 +9629,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X2.IFCELEMENT', 'IFC4X2.IFCELEMENTTYPE', 'IFC4X2.IFCWINDOWSTYLE', 'IFC4X2.IFCDOORSTYLE', 'IFC4X2.IFCSTRUCTURALMEMBER', 'IFC4X2.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x2.ifcelement', 'ifc4x2.ifcelementtype', 'ifc4x2.ifcwindowstyle', 'ifc4x2.ifcdoorstyle', 'ifc4x2.ifcstructuralmember', 'ifc4x2.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -9681,7 +9681,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x2.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -9701,7 +9701,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X2.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x2.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -9744,7 +9744,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X2.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x2.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x2.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -9777,7 +9777,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X2.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x2.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -9797,7 +9797,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X2.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x2.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -9850,7 +9850,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -9893,7 +9893,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -10026,7 +10026,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -10056,7 +10056,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -10085,7 +10085,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X2.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x2.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -10095,7 +10095,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X2.IFCVERTEXPOINT', 'IFC4X2.IFCEDGECURVE', 'IFC4X2.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x2.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x2.ifcvertexpoint', 'ifc4x2.ifcedgecurve', 'ifc4x2.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -10145,7 +10145,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -10163,7 +10163,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -10193,7 +10193,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -10226,7 +10226,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -10246,7 +10246,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -10275,7 +10275,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X2.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X2.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X2.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x2.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x2.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x2.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -10295,7 +10295,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -10325,7 +10325,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -10355,7 +10355,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10375,7 +10375,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10474,7 +10474,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X2.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x2.ifcstructuralloadlinearforce', 'ifc4x2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -10524,7 +10524,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X2.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x2.ifcstructuralloadplanarforce', 'ifc4x2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -10542,7 +10542,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x2.ifcstructuralloadsingleforce', 'ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -10551,7 +10551,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x2.ifcstructuralloadsingleforce', 'ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -10611,7 +10611,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X2.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x2.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -10620,7 +10620,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X2.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x2.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -10663,7 +10663,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X2.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x2.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -10678,7 +10678,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X2.IFCCONIC', 'IFC4X2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x2.ifcconic', 'ifc4x2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSurfaceFeature_HasObjectType: SCOPE = 'entity' @@ -10758,7 +10758,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X2.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x2.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -10767,7 +10767,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X2.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x2.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -10776,7 +10776,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X2.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x2.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -10785,7 +10785,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X2.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x2.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -10794,7 +10794,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X2.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x2.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -10837,7 +10837,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X2.IFCCONIC', 'IFC4X2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x2.ifcconic', 'ifc4x2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -10856,7 +10856,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X2.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X2.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x2.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x2.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -10886,7 +10886,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -10916,7 +10916,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11000,7 +11000,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -11074,7 +11074,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -11094,7 +11094,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11124,7 +11124,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -11157,7 +11157,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X2.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x2.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -11166,7 +11166,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X2.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x2.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -11175,7 +11175,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x2.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -11224,7 +11224,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -11254,7 +11254,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11307,7 +11307,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X2.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x2.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -11327,7 +11327,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -11365,7 +11365,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X2.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x2.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -11417,7 +11417,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11447,7 +11447,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -11477,7 +11477,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -11521,7 +11521,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -11551,7 +11551,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11591,7 +11591,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11609,7 +11609,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x2.ifcrelassociates.relatedobjects') if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -11639,7 +11639,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11659,7 +11659,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X2.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x2.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -11701,7 +11701,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X2.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x2.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -11710,7 +11710,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X2.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x2.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -11770,7 +11770,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X2.IFCZONE' in typeof(temp) or 'IFC4X2.IFCSPACE' in typeof(temp) or 'IFC4X2.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x2.ifczone' in typeof(temp) or 'ifc4x2.ifcspace' in typeof(temp) or 'ifc4x2.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -12033,10 +12033,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X2.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X2.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X2.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x2.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x2.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x2.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x2.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -12049,12 +12049,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X2.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x2.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X2.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X2.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x2.ifclocalplacement' in typeof(relplacement): + if 'ifc4x2.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X2.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x2.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -12069,25 +12069,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X2.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x2.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -12098,13 +12098,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X2.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X2.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X2.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x2.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x2.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x2.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X2.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x2.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X2.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x2.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -12125,31 +12125,31 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X2.IFCLINE' in typeof(curve): + if 'ifc4x2.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X2.IFCCONIC' in typeof(curve): + if 'ifc4x2.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X2.IFCPOLYLINE' in typeof(curve): + if 'ifc4x2.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X2.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x2.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X2.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x2.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X2.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x2.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X2.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x2.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X2.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x2.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X2.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x2.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X2.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x2.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X2.IFCALIGNMENTCURVE' in typeof(curve): + if 'ifc4x2.ifcalignmentcurve' in typeof(curve): return 3 - if 'IFC4X2.IFCPCURVE' in typeof(curve): + if 'ifc4x2.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X2.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x2.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -12275,13 +12275,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X2.IFCPCURVE' in typeof(c): + if 'ifc4x2.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X2.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x2.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X2.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x2.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -12336,7 +12336,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X2.IFCVECTOR' in typeof(arg): + if 'ifc4x2.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -12357,7 +12357,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X2.IFCVECTOR' in typeof(arg): + if 'ifc4x2.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -12382,9 +12382,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X2.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x2.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X2.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x2.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -12434,7 +12434,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X2.IFCVECTOR' in typeof(vec): + if 'ifc4x2.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -12463,68 +12463,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X2.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X2.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X2.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X2.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X2.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X2.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X2.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X2.IFCPOINT', 'IFC4X2.IFCCURVE', 'IFC4X2.IFCGEOMETRICCURVESET', 'IFC4X2.IFCANNOTATIONFILLAREA', 'IFC4X2.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X2.IFCPOINT' in typeof(temp) or 'IFC4X2.IFCCURVE' in typeof(temp) or ('IFC4X2.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X2.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X2.IFCPOINT' in typeof(temp) or ('IFC4X2.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x2.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x2.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x2.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x2.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x2.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x2.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x2.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x2.ifcpoint', 'ifc4x2.ifccurve', 'ifc4x2.ifcgeometriccurveset', 'ifc4x2.ifcannotationfillarea', 'ifc4x2.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x2.ifcgeometricset' in typeof(temp) or 'ifc4x2.ifcpoint' in typeof(temp) or 'ifc4x2.ifccurve' in typeof(temp) or ('ifc4x2.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x2.ifcgeometriccurveset' in typeof(temp) or 'ifc4x2.ifcgeometricset' in typeof(temp) or 'ifc4x2.ifcpoint' in typeof(temp) or ('ifc4x2.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X2.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X2.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x2.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x2.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X2.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCTESSELLATEDITEM', 'IFC4X2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X2.IFCFACEBASEDSURFACEMODEL', 'IFC4X2.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCTESSELLATEDITEM', 'IFC4X2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X2.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X2.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCEXTRUDEDAREASOLID', 'IFC4X2.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X2.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X2.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCSWEPTAREASOLID', 'IFC4X2.IFCSWEPTDISKSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCBOOLEANRESULT', 'IFC4X2.IFCCSGPRIMITIVE3D', 'IFC4X2.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X2.IFCCSGSOLID', 'IFC4X2.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X2.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X2.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X2.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x2.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifctessellateditem', 'ifc4x2.ifcshellbasedsurfacemodel', 'ifc4x2.ifcfacebasedsurfacemodel', 'ifc4x2.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifctessellateditem', 'ifc4x2.ifcshellbasedsurfacemodel', 'ifc4x2.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x2.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifcextrudedareasolid', 'ifc4x2.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x2.ifcextrudedareasolidtapered', 'ifc4x2.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifcsweptareasolid', 'ifc4x2.ifcsweptdisksolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifcbooleanresult', 'ifc4x2.ifccsgprimitive3d', 'ifc4x2.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x2.ifccsgsolid', 'ifc4x2.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x2.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x2.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x2.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X2.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X2.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X2.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x2.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x2.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x2.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -12541,12 +12541,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X2.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x2.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -12554,17 +12554,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X2.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X2.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X2.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X2.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X2.IFCOPENSHELL' in typeof(temp) or 'IFC4X2.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x2.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x2.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x2.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x2.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x2.ifcopenshell' in typeof(temp) or 'ifc4x2.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -12576,9 +12576,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X2.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x2.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X2.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x2.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -12595,7 +12595,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X2.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x2.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -12617,13 +12617,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X2.IFCVECTOR' in typeof(arg1): + if 'ifc4x2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X2.IFCVECTOR' in typeof(arg2): + if 'ifc4x2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -12649,13 +12649,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X2.IFCVECTOR' in typeof(arg1): + if 'ifc4x2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X2.IFCVECTOR' in typeof(arg2): + if 'ifc4x2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py index 43835163a0..63389eba70 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py @@ -5439,7 +5439,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5468,7 +5468,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5478,7 +5478,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5487,7 +5487,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3.IFCLINE', 'IFC4X3.IFCCONIC', 'IFC4X3.IFCPOLYLINE', 'IFC4X3.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3.ifcline', 'ifc4x3.ifcconic', 'ifc4x3.ifcpolyline', 'ifc4x3.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5496,7 +5496,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3.IFCELEMENTARYSURFACE', 'IFC4X3.IFCSWEPTSURFACE', 'IFC4X3.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3.ifcelementarysurface', 'ifc4x3.ifcsweptsurface', 'ifc4x3.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5505,7 +5505,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5525,7 +5525,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5545,7 +5545,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5585,7 +5585,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5615,7 +5615,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5656,7 +5656,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5666,7 +5666,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5675,7 +5675,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5714,7 +5714,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: SCOPE = 'entity' @@ -5782,7 +5782,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5820,7 +5820,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5842,7 +5842,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement2D_RefDirIs2D: SCOPE = 'entity' @@ -5906,7 +5906,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement3D_RefDirIs3D: SCOPE = 'entity' @@ -5930,7 +5930,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6077,7 +6077,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6107,7 +6107,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6136,7 +6136,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBoiler_CorrectPredefinedType: SCOPE = 'entity' @@ -6156,7 +6156,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6176,7 +6176,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6196,7 +6196,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanResult_FirstOperandClosed: SCOPE = 'entity' @@ -6206,7 +6206,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SameDim: SCOPE = 'entity' @@ -6227,7 +6227,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6252,7 +6252,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6292,7 +6292,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6322,7 +6322,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxy_HasObjectName: SCOPE = 'entity' @@ -6360,7 +6360,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6390,7 +6390,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6456,7 +6456,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6486,7 +6486,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6516,7 +6516,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6546,7 +6546,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6576,7 +6576,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6754,7 +6754,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6784,7 +6784,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6824,7 +6824,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6854,7 +6854,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6884,7 +6884,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6987,7 +6987,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -7011,7 +7011,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -7031,7 +7031,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7061,7 +7061,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7161,7 +7161,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7191,7 +7191,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7221,7 +7221,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7251,7 +7251,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7281,7 +7281,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7311,7 +7311,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7364,7 +7364,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7403,7 +7403,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: SCOPE = 'entity' @@ -7433,7 +7433,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7453,7 +7453,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7513,7 +7513,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3.IFCCONIC', 'IFC4X3.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3.ifcconic', 'ifc4x3.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7533,7 +7533,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7563,7 +7563,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7593,7 +7593,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7644,7 +7644,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7697,7 +7697,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7706,7 +7706,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7754,7 +7754,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7784,7 +7784,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7814,7 +7814,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7888,7 +7888,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7918,7 +7918,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7948,7 +7948,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7978,7 +7978,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8008,7 +8008,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8038,7 +8038,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8068,7 +8068,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8098,7 +8098,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8138,7 +8138,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8168,7 +8168,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8198,7 +8198,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8290,7 +8290,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8323,7 +8323,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8353,7 +8353,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8409,7 +8409,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8418,7 +8418,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyleHatching_PatternStart2D: SCOPE = 'entity' @@ -8458,7 +8458,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8488,7 +8488,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8518,7 +8518,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8548,7 +8548,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8578,7 +8578,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8608,7 +8608,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8638,7 +8638,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8657,7 +8657,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8686,7 +8686,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8785,7 +8785,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8815,7 +8815,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8881,7 +8881,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8921,7 +8921,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8969,7 +8969,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -9031,7 +9031,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9061,7 +9061,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9102,7 +9102,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9153,7 +9153,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9196,7 +9196,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9226,7 +9226,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9256,7 +9256,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9289,7 +9289,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9319,7 +9319,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9349,7 +9349,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9388,7 +9388,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9499,7 +9499,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9529,7 +9529,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9579,7 +9579,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9663,7 +9663,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9693,7 +9693,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9723,7 +9723,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9809,7 +9809,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9861,7 +9861,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3.IfcPolyline', 'IFC4X3.IfcCompositeCurve', 'IFC4X3.IfcIndexedPolyCurve']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3.ifcpolyline', 'ifc4x3.ifccompositecurve', 'ifc4x3.ifcindexedpolycurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9929,7 +9929,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3.IFCSHAPEREPRESENTATION', 'IFC4X3.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3.ifcshaperepresentation', 'ifc4x3.ifcgeometricrepresentationitem', 'ifc4x3.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9939,7 +9939,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3.IfcGeometricRepresentationItem', 'IFC4X3.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3.ifcgeometricrepresentationitem', 'ifc4x3.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_CorrectPredefinedType: SCOPE = 'entity' @@ -9979,7 +9979,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9989,7 +9989,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_CorrectContext: SCOPE = 'entity' @@ -9998,7 +9998,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -10198,7 +10198,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10218,7 +10218,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10258,7 +10258,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10393,7 +10393,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10423,7 +10423,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10483,7 +10483,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10503,7 +10503,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10626,7 +10626,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3.IFCPLANE' in typeof(basissurface)) or 'IFC4X3.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3.ifcplane' in typeof(basissurface)) or 'ifc4x3.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_V1AndV2Different: SCOPE = 'entity' @@ -10679,7 +10679,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10720,7 +10720,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10832,7 +10832,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3.IFCELEMENT', 'IFC4X3.IFCELEMENTTYPE', 'IFC4X3.IFCWINDOWSTYLE', 'IFC4X3.IFCDOORSTYLE', 'IFC4X3.IFCSTRUCTURALMEMBER', 'IFC4X3.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3.ifcelement', 'ifc4x3.ifcelementtype', 'ifc4x3.ifcwindowstyle', 'ifc4x3.ifcdoorstyle', 'ifc4x3.ifcstructuralmember', 'ifc4x3.ifcport']) == 0]) == 0) is not False class IfcRelAssociatesMaterial_NoVoidElement: SCOPE = 'entity' @@ -10841,7 +10841,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10893,7 +10893,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10913,7 +10913,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10956,7 +10956,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10989,7 +10989,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -11009,7 +11009,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisDirectionInXY: SCOPE = 'entity' @@ -11092,7 +11092,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11135,7 +11135,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11319,7 +11319,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11349,7 +11349,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11378,7 +11378,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_CorrectItemsForType: SCOPE = 'entity' @@ -11415,7 +11415,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3.IFCVERTEXPOINT', 'IFC4X3.IFCEDGECURVE', 'IFC4X3.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3.ifcvertexpoint', 'ifc4x3.ifcedgecurve', 'ifc4x3.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False def calc_IfcShellBasedSurfaceModel_Dim(self): return 3 @@ -11438,7 +11438,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11468,7 +11468,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11498,7 +11498,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11528,7 +11528,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11561,7 +11561,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11581,7 +11581,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11610,7 +11610,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11630,7 +11630,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11660,7 +11660,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11690,7 +11690,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11710,7 +11710,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11828,7 +11828,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3.ifcstructuralloadlinearforce', 'ifc4x3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLoadCase_IsLoadCasePredefinedType: SCOPE = 'entity' @@ -11878,7 +11878,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3.ifcstructuralloadplanarforce', 'ifc4x3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointAction_SuitableLoadType: SCOPE = 'entity' @@ -11887,7 +11887,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3.ifcstructuralloadsingleforce', 'ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11896,7 +11896,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3.ifcstructuralloadsingleforce', 'ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11956,7 +11956,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11965,7 +11965,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -12008,7 +12008,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -12101,7 +12101,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12110,7 +12110,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12119,7 +12119,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneShading: SCOPE = 'entity' @@ -12128,7 +12128,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12137,7 +12137,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12159,7 +12159,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3.IFCCONIC', 'IFC4X3.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3.ifcconic', 'ifc4x3.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolid_DirectrixDim: SCOPE = 'entity' @@ -12199,7 +12199,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12229,7 +12229,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12259,7 +12259,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12343,7 +12343,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12417,7 +12417,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12437,7 +12437,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12467,7 +12467,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12500,7 +12500,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12509,7 +12509,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12518,7 +12518,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12567,7 +12567,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12597,7 +12597,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTRANSFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctransformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12627,7 +12627,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12660,7 +12660,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTrimmedCurve_Trim1ValuesConsistent: SCOPE = 'entity' @@ -12700,7 +12700,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12738,7 +12738,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12790,7 +12790,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12820,7 +12820,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12850,7 +12850,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12894,7 +12894,7 @@ class IfcVehicle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCVEHICLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcvehicletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVehicleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12924,7 +12924,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12954,7 +12954,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -13014,7 +13014,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -13023,7 +13023,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3.ifcrelassociates.relatedobjects') if 'ifc4x3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -13053,7 +13053,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -13083,7 +13083,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -13125,7 +13125,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13134,7 +13134,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13194,7 +13194,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3.IFCZONE' in typeof(temp) or 'IFC4X3.IFCSPACE' in typeof(temp) or 'IFC4X3.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3.ifczone' in typeof(temp) or 'ifc4x3.ifcspace' in typeof(temp) or 'ifc4x3.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13457,10 +13457,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13473,12 +13473,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13493,25 +13493,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -13522,13 +13522,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13549,37 +13549,37 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3.IFCLINE' in typeof(curve): + if 'ifc4x3.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3.IFCCONIC' in typeof(curve): + if 'ifc4x3.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3.IFCPCURVE' in typeof(curve): + if 'ifc4x3.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13705,13 +13705,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3.IFCPCURVE' in typeof(c): + if 'ifc4x3.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -13769,7 +13769,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3.IFCVECTOR' in typeof(arg): + if 'ifc4x3.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13790,7 +13790,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3.IFCVECTOR' in typeof(arg): + if 'ifc4x3.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13815,9 +13815,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X3.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13867,7 +13867,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3.IFCVECTOR' in typeof(vec): + if 'ifc4x3.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13896,72 +13896,72 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Segment': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSEGMENT' in typeof(temp)]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'SectionedSurface': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSECTIONEDSURFACE' in typeof(temp)]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3.IFCPOINT', 'IFC4X3.IFCCURVE', 'IFC4X3.IFCGEOMETRICCURVESET', 'IFC4X3.IFCANNOTATIONFILLAREA', 'IFC4X3.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3.IFCPOINT' in typeof(temp) or 'IFC4X3.IFCCURVE' in typeof(temp) or ('IFC4X3.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3.IFCPOINT' in typeof(temp) or ('IFC4X3.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'segment': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsegment' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedsurface': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsectionedsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3.ifcpoint', 'ifc4x3.ifccurve', 'ifc4x3.ifcgeometriccurveset', 'ifc4x3.ifcannotationfillarea', 'ifc4x3.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3.ifcgeometricset' in typeof(temp) or 'ifc4x3.ifcpoint' in typeof(temp) or 'ifc4x3.ifccurve' in typeof(temp) or ('ifc4x3.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3.ifcgeometricset' in typeof(temp) or 'ifc4x3.ifcpoint' in typeof(temp) or ('ifc4x3.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCTESSELLATEDITEM', 'IFC4X3.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3.IFCFACEBASEDSURFACEMODEL', 'IFC4X3.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCTESSELLATEDITEM', 'IFC4X3.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCEXTRUDEDAREASOLID', 'IFC4X3.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCSWEPTAREASOLID', 'IFC4X3.IFCSWEPTDISKSOLID', 'IFC4X3.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCBOOLEANRESULT', 'IFC4X3.IFCCSGPRIMITIVE3D', 'IFC4X3.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3.IFCCSGSOLID', 'IFC4X3.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifctessellateditem', 'ifc4x3.ifcshellbasedsurfacemodel', 'ifc4x3.ifcfacebasedsurfacemodel', 'ifc4x3.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifctessellateditem', 'ifc4x3.ifcshellbasedsurfacemodel', 'ifc4x3.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifcextrudedareasolid', 'ifc4x3.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3.ifcextrudedareasolidtapered', 'ifc4x3.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifcsweptareasolid', 'ifc4x3.ifcsweptdisksolid', 'ifc4x3.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifcbooleanresult', 'ifc4x3.ifccsgprimitive3d', 'ifc4x3.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3.ifccsgsolid', 'ifc4x3.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13978,12 +13978,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13991,17 +13991,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3.IFCOPENSHELL' in typeof(temp) or 'IFC4X3.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3.ifcopenshell' in typeof(temp) or 'ifc4x3.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -14013,9 +14013,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -14032,7 +14032,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -14054,13 +14054,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3.IFCVECTOR' in typeof(arg1): + if 'ifc4x3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3.IFCVECTOR' in typeof(arg2): + if 'ifc4x3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -14086,13 +14086,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3.IFCVECTOR' in typeof(arg1): + if 'ifc4x3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3.IFCVECTOR' in typeof(arg2): + if 'ifc4x3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py index 3a5d002954..67bba82f2b 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py @@ -5389,7 +5389,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5418,7 +5418,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_ADD1.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5428,7 +5428,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_ADD1.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5437,7 +5437,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_ADD1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_ADD1.IFCLINE', 'IFC4X3_ADD1.IFCCONIC', 'IFC4X3_ADD1.IFCPOLYLINE', 'IFC4X3_ADD1.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_add1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_add1.ifcline', 'ifc4x3_add1.ifcconic', 'ifc4x3_add1.ifcpolyline', 'ifc4x3_add1.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5446,7 +5446,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD1.IFCELEMENTARYSURFACE', 'IFC4X3_ADD1.IFCSWEPTSURFACE', 'IFC4X3_ADD1.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add1.ifcelementarysurface', 'ifc4x3_add1.ifcsweptsurface', 'ifc4x3_add1.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5455,7 +5455,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_ADD1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_ADD1.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_add1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_add1.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5475,7 +5475,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5495,7 +5495,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5535,7 +5535,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5565,7 +5565,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5606,7 +5606,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_add1.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5616,7 +5616,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_add1.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5625,7 +5625,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_add1.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5664,7 +5664,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_ADD1.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_add1.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: SCOPE = 'entity' @@ -5732,7 +5732,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5770,7 +5770,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5792,7 +5792,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement2D_RefDirIs2D: SCOPE = 'entity' @@ -5856,7 +5856,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement3D_RefDirIs3D: SCOPE = 'entity' @@ -5880,7 +5880,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add1.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6027,7 +6027,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6057,7 +6057,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6086,7 +6086,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBoiler_CorrectPredefinedType: SCOPE = 'entity' @@ -6106,7 +6106,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6126,7 +6126,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_ADD1.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_ADD1.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_add1.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_add1.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_add1.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6146,7 +6146,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_add1.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanResult_FirstOperandClosed: SCOPE = 'entity' @@ -6156,7 +6156,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SameDim: SCOPE = 'entity' @@ -6177,7 +6177,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6202,7 +6202,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_ADD1.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_add1.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6242,7 +6242,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6272,7 +6272,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxy_HasObjectName: SCOPE = 'entity' @@ -6310,7 +6310,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_ADD1.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_add1.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6340,7 +6340,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6406,7 +6406,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6436,7 +6436,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6466,7 +6466,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6496,7 +6496,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6526,7 +6526,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6700,7 +6700,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6730,7 +6730,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6770,7 +6770,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6800,7 +6800,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6830,7 +6830,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6933,7 +6933,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_add1.ifcboundedcurve' in typeof(parentcurve)) is not False class IfcCompositeProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -6953,7 +6953,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_ADD1.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_add1.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6973,7 +6973,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7003,7 +7003,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7103,7 +7103,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7133,7 +7133,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7163,7 +7163,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7193,7 +7193,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7234,7 +7234,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7264,7 +7264,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7317,7 +7317,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7352,7 +7352,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_ADD1.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_ADD1.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_add1.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_add1.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: SCOPE = 'entity' @@ -7382,7 +7382,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7402,7 +7402,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7462,7 +7462,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_ADD1.IFCCONIC', 'IFC4X3_ADD1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_add1.ifcconic', 'ifc4x3_add1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7482,7 +7482,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7512,7 +7512,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7542,7 +7542,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7593,7 +7593,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7646,7 +7646,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7655,7 +7655,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7703,7 +7703,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7733,7 +7733,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7763,7 +7763,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7837,7 +7837,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7867,7 +7867,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7897,7 +7897,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7927,7 +7927,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7957,7 +7957,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7987,7 +7987,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8017,7 +8017,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8047,7 +8047,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8087,7 +8087,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8117,7 +8117,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8147,7 +8147,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8239,7 +8239,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_ADD1.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_add1.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8272,7 +8272,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8302,7 +8302,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8358,7 +8358,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_ADD1.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_add1.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8367,7 +8367,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_ADD1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_add1.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyleHatching_PatternStart2D: SCOPE = 'entity' @@ -8407,7 +8407,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8437,7 +8437,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8467,7 +8467,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8497,7 +8497,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8527,7 +8527,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8557,7 +8557,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8597,7 +8597,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8616,7 +8616,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_add1.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8645,7 +8645,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8741,7 +8741,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8771,7 +8771,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8837,7 +8837,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8877,7 +8877,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8925,7 +8925,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8955,7 +8955,7 @@ class IfcKerb_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCKERBTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifckerbtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcKerbType_CorrectPredefinedType: SCOPE = 'entity' @@ -9017,7 +9017,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9047,7 +9047,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9088,7 +9088,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9139,7 +9139,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_ADD1.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9182,7 +9182,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9212,7 +9212,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9242,7 +9242,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9275,7 +9275,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9305,7 +9305,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9335,7 +9335,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9374,7 +9374,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9485,7 +9485,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_add1.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9515,7 +9515,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9565,7 +9565,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9649,7 +9649,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9679,7 +9679,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9709,7 +9709,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9795,7 +9795,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9838,7 +9838,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_ADD1.IfcPolyline', 'IFC4X3_ADD1.IfcCompositeCurve', 'IFC4X3_ADD1.IfcIndexedPolyCurve']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_add1.ifcpolyline', 'ifc4x3_add1.ifccompositecurve', 'ifc4x3_add1.ifcindexedpolycurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9906,7 +9906,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_ADD1.IFCSHAPEREPRESENTATION', 'IFC4X3_ADD1.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_ADD1.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_add1.ifcshaperepresentation', 'ifc4x3_add1.ifcgeometricrepresentationitem', 'ifc4x3_add1.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9916,7 +9916,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_ADD1.IfcGeometricRepresentationItem', 'IFC4X3_ADD1.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_add1.ifcgeometricrepresentationitem', 'ifc4x3_add1.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_CorrectPredefinedType: SCOPE = 'entity' @@ -9956,7 +9956,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_ADD1.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_add1.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9966,7 +9966,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_ADD1.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_CorrectContext: SCOPE = 'entity' @@ -9975,7 +9975,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_ADD1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -10175,7 +10175,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10195,7 +10195,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10235,7 +10235,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10370,7 +10370,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10400,7 +10400,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10450,7 +10450,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10470,7 +10470,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10593,7 +10593,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_ADD1.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_ADD1.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_add1.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_add1.ifcplane' in typeof(basissurface)) or 'ifc4x3_add1.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_V1AndV2Different: SCOPE = 'entity' @@ -10646,7 +10646,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10687,7 +10687,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10788,7 +10788,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_ADD1.IFCELEMENT', 'IFC4X3_ADD1.IFCELEMENTTYPE', 'IFC4X3_ADD1.IFCSTRUCTURALMEMBER', 'IFC4X3_ADD1.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_add1.ifcelement', 'ifc4x3_add1.ifcelementtype', 'ifc4x3_add1.ifcstructuralmember', 'ifc4x3_add1.ifcport']) == 0]) == 0) is not False class IfcRelAssociatesMaterial_NoVoidElement: SCOPE = 'entity' @@ -10797,7 +10797,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_ADD1.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_ADD1.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_add1.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_add1.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10849,7 +10849,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_ADD1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_add1.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10869,7 +10869,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_ADD1.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_add1.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10912,7 +10912,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_ADD1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_ADD1.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_add1.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_add1.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10945,7 +10945,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_ADD1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_ADD1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_ADD1.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_add1.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10965,7 +10965,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_add1.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisDirectionInXY: SCOPE = 'entity' @@ -10985,7 +10985,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: @staticmethod def __call__(self): axis = express_getattr(self, 'Axis', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCCARTESIANPOINT' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False def calc_IfcRevolvedAreaSolid_AxisLine(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -11009,7 +11009,7 @@ class IfcRigidOperation_SameCoordinateType: def __call__(self): firstcoordinate = express_getattr(self, 'FirstCoordinate', INDETERMINATE) secondcoordinate = express_getattr(self, 'SecondCoordinate', INDETERMINATE) - assert ('IFC4X3_ADD1.IFCLENGTHMEASURE' in typeof(firstcoordinate) and 'IFC4X3_ADD1.IFCLENGTHMEASURE' in typeof(secondcoordinate) or ('IFC4X3_ADD1.IFCPLANEANGLEMEASURE' in typeof(firstcoordinate) and 'IFC4X3_ADD1.IFCPLANEANGLEMEASURE' in typeof(secondcoordinate))) is not False + assert ('ifc4x3_add1.ifclengthmeasure' in typeof(firstcoordinate) and 'ifc4x3_add1.ifclengthmeasure' in typeof(secondcoordinate) or ('ifc4x3_add1.ifcplaneanglemeasure' in typeof(firstcoordinate) and 'ifc4x3_add1.ifcplaneanglemeasure' in typeof(secondcoordinate))) is not False class IfcRoad_CorrectPredefinedType: SCOPE = 'entity' @@ -11049,7 +11049,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11092,7 +11092,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11279,7 +11279,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11309,7 +11309,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11338,7 +11338,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_add1.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_CorrectItemsForType: SCOPE = 'entity' @@ -11375,7 +11375,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_ADD1.IFCVERTEXPOINT', 'IFC4X3_ADD1.IFCEDGECURVE', 'IFC4X3_ADD1.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_add1.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_add1.ifcvertexpoint', 'ifc4x3_add1.ifcedgecurve', 'ifc4x3_add1.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False def calc_IfcShellBasedSurfaceModel_Dim(self): return 3 @@ -11398,7 +11398,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11428,7 +11428,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11458,7 +11458,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11488,7 +11488,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11521,7 +11521,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11541,7 +11541,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11570,7 +11570,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_ADD1.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_ADD1.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_ADD1.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_add1.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_add1.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_add1.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11590,7 +11590,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11620,7 +11620,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11650,7 +11650,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11670,7 +11670,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11778,7 +11778,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD1.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_ADD1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add1.ifcstructuralloadlinearforce', 'ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLoadCase_IsLoadCasePredefinedType: SCOPE = 'entity' @@ -11828,7 +11828,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD1.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_ADD1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add1.ifcstructuralloadplanarforce', 'ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointAction_SuitableLoadType: SCOPE = 'entity' @@ -11837,7 +11837,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_ADD1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce', 'ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11846,7 +11846,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_ADD1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce', 'ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11906,7 +11906,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_add1.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11915,7 +11915,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_ADD1.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_add1.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11958,7 +11958,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_add1.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -12041,7 +12041,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD1.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add1.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12050,7 +12050,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add1.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12059,7 +12059,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add1.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneShading: SCOPE = 'entity' @@ -12068,7 +12068,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add1.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12077,7 +12077,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add1.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12099,7 +12099,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_ADD1.IFCCONIC', 'IFC4X3_ADD1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_add1.ifcconic', 'ifc4x3_add1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolid_DirectrixDim: SCOPE = 'entity' @@ -12139,7 +12139,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_ADD1.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_add1.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_add1.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12169,7 +12169,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12199,7 +12199,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12283,7 +12283,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12357,7 +12357,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12377,7 +12377,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12407,7 +12407,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12440,7 +12440,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_add1.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12449,7 +12449,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_ADD1.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_add1.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12458,7 +12458,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_ADD1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_add1.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12507,7 +12507,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12537,7 +12537,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTRANSFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctransformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12567,7 +12567,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12600,7 +12600,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD1.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_add1.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTrimmedCurve_Trim1ValuesConsistent: SCOPE = 'entity' @@ -12640,7 +12640,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12678,7 +12678,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_ADD1.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_add1.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12730,7 +12730,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12760,7 +12760,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12790,7 +12790,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12834,7 +12834,7 @@ class IfcVehicle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCVEHICLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcvehicletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVehicleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12864,7 +12864,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12894,7 +12894,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12944,7 +12944,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -12953,7 +12953,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_ADD1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_ADD1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_ADD1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_add1.ifcrelassociates.relatedobjects') if 'ifc4x3_add1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_add1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12983,7 +12983,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -13013,7 +13013,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD1.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add1.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -13055,7 +13055,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13064,7 +13064,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13124,7 +13124,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_ADD1.IFCZONE' in typeof(temp) or 'IFC4X3_ADD1.IFCSPACE' in typeof(temp) or 'IFC4X3_ADD1.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_add1.ifczone' in typeof(temp) or 'ifc4x3_add1.ifcspace' in typeof(temp) or 'ifc4x3_add1.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13387,10 +13387,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_ADD1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_ADD1.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_ADD1.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_ADD1.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_add1.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_add1.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_add1.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_add1.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13403,12 +13403,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_ADD1.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_add1.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_ADD1.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_ADD1.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_add1.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_add1.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_ADD1.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_add1.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13422,13 +13422,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD1.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD1.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD1.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_add1.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_add1.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_add1.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_ADD1.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_add1.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_ADD1.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_add1.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13449,37 +13449,37 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_ADD1.IFCLINE' in typeof(curve): + if 'ifc4x3_add1.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCCONIC' in typeof(curve): + if 'ifc4x3_add1.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_add1.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_add1.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_ADD1.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_add1.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_ADD1.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_add1.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_ADD1.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_add1.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_add1.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_add1.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_ADD1.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_add1.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_ADD1.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_add1.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_ADD1.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_add1.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_ADD1.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3_add1.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3_ADD1.IFCPCURVE' in typeof(curve): + if 'ifc4x3_add1.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_ADD1.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_add1.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13605,23 +13605,23 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_ADD1.IFCPCURVE' in typeof(c): + if 'ifc4x3_add1.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_ADD1.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_add1.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_ADD1.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_add1.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) - if 'IFC4X3_ADD1.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add1.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_ADD1.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add1.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: for i in range(2, n + 1): - if 'IFC4X3_ADD1.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add1.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_ADD1.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add1.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) return surfs @@ -13672,7 +13672,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_add1.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13693,7 +13693,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_add1.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13718,20 +13718,20 @@ def IfcPathHeadToTail(apath): return p def IfcPointDim(point): - if 'IFC4X3_ADD1.IFCCARTESIANPOINT' in typeof(point): + if 'ifc4x3_add1.ifccartesianpoint' in typeof(point): return hiindex(express_getattr(point, 'Coordinates', INDETERMINATE)) - if 'IFC4X3_ADD1.IFCPOINTBYDISTANCEEXPRESSION' in typeof(point): + if 'ifc4x3_add1.ifcpointbydistanceexpression' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCPOINTONCURVE' in typeof(point): + if 'ifc4x3_add1.ifcpointoncurve' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCPOINTONSURFACE' in typeof(point): + if 'ifc4x3_add1.ifcpointonsurface' in typeof(point): return express_getattr(express_getattr(point, 'BasisSurface', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcPointListDim(pointlist): - if 'IFC4X3_ADD1.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_add1.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_ADD1.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_add1.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13781,7 +13781,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(vec): + if 'ifc4x3_add1.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13809,80 +13809,80 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): return express_getattr(yaxis, 'Orientation', INDETERMINATE) def IfcSegmentDim(segment): - if 'IFC4X3_ADD1.IFCCURVESEGMENT' in typeof(segment): + if 'ifc4x3_add1.ifccurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD1.IFCCOMPOSITECURVESEGMENT' in typeof(segment): + if 'ifc4x3_add1.ifccompositecurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Segment': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSEGMENT' in typeof(temp)]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'SectionedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSECTIONEDSURFACE' in typeof(temp)]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_ADD1.IFCPOINT', 'IFC4X3_ADD1.IFCCURVE', 'IFC4X3_ADD1.IFCGEOMETRICCURVESET', 'IFC4X3_ADD1.IFCANNOTATIONFILLAREA', 'IFC4X3_ADD1.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_ADD1.IFCPOINT' in typeof(temp) or 'IFC4X3_ADD1.IFCCURVE' in typeof(temp) or ('IFC4X3_ADD1.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_ADD1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_ADD1.IFCPOINT' in typeof(temp) or ('IFC4X3_ADD1.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'segment': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsegment' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsectionedsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_add1.ifcpoint', 'ifc4x3_add1.ifccurve', 'ifc4x3_add1.ifcgeometriccurveset', 'ifc4x3_add1.ifcannotationfillarea', 'ifc4x3_add1.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcgeometricset' in typeof(temp) or 'ifc4x3_add1.ifcpoint' in typeof(temp) or 'ifc4x3_add1.ifccurve' in typeof(temp) or ('ifc4x3_add1.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_add1.ifcgeometricset' in typeof(temp) or 'ifc4x3_add1.ifcpoint' in typeof(temp) or ('ifc4x3_add1.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_ADD1.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_ADD1.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_add1.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_add1.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCTESSELLATEDITEM', 'IFC4X3_ADD1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_ADD1.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_ADD1.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCTESSELLATEDITEM', 'IFC4X3_ADD1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_ADD1.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCEXTRUDEDAREASOLID', 'IFC4X3_ADD1.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_ADD1.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_ADD1.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCSWEPTAREASOLID', 'IFC4X3_ADD1.IFCSWEPTDISKSOLID', 'IFC4X3_ADD1.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCBOOLEANRESULT', 'IFC4X3_ADD1.IFCCSGPRIMITIVE3D', 'IFC4X3_ADD1.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD1.IFCCSGSOLID', 'IFC4X3_ADD1.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifctessellateditem', 'ifc4x3_add1.ifcshellbasedsurfacemodel', 'ifc4x3_add1.ifcfacebasedsurfacemodel', 'ifc4x3_add1.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifctessellateditem', 'ifc4x3_add1.ifcshellbasedsurfacemodel', 'ifc4x3_add1.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifcextrudedareasolid', 'ifc4x3_add1.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_add1.ifcextrudedareasolidtapered', 'ifc4x3_add1.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifcsweptareasolid', 'ifc4x3_add1.ifcsweptdisksolid', 'ifc4x3_add1.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifcbooleanresult', 'ifc4x3_add1.ifccsgprimitive3d', 'ifc4x3_add1.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add1.ifccsgsolid', 'ifc4x3_add1.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13899,12 +13899,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_ADD1.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_ADD1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_add1.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_add1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_ADD1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_add1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13912,17 +13912,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_ADD1.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_ADD1.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_add1.ifcopenshell' in typeof(temp) or 'ifc4x3_add1.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13934,9 +13934,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_ADD1.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_add1.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_ADD1.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_add1.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13953,7 +13953,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_ADD1.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add1.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13975,13 +13975,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_add1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_add1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -14007,13 +14007,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_add1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_ADD1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_add1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py index 8af2b54a25..1645ddf8f5 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py @@ -5393,7 +5393,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5422,7 +5422,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_ADD2.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_add2.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5432,7 +5432,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_ADD2.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_add2.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5441,7 +5441,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_ADD2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_ADD2.IFCLINE', 'IFC4X3_ADD2.IFCCONIC', 'IFC4X3_ADD2.IFCPOLYLINE', 'IFC4X3_ADD2.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_add2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_add2.ifcline', 'ifc4x3_add2.ifcconic', 'ifc4x3_add2.ifcpolyline', 'ifc4x3_add2.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5450,7 +5450,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD2.IFCELEMENTARYSURFACE', 'IFC4X3_ADD2.IFCSWEPTSURFACE', 'IFC4X3_ADD2.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add2.ifcelementarysurface', 'ifc4x3_add2.ifcsweptsurface', 'ifc4x3_add2.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5459,7 +5459,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_ADD2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_ADD2.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_add2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_add2.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5479,7 +5479,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5499,7 +5499,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5539,7 +5539,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5569,7 +5569,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5610,7 +5610,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_add2.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5620,7 +5620,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_add2.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5629,7 +5629,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_add2.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5668,7 +5668,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_ADD2.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_add2.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: SCOPE = 'entity' @@ -5736,7 +5736,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5774,7 +5774,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5796,7 +5796,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement2D_RefDirIs2D: SCOPE = 'entity' @@ -5860,7 +5860,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement3D_RefDirIs3D: SCOPE = 'entity' @@ -5884,7 +5884,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6031,7 +6031,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6061,7 +6061,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6090,7 +6090,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBoiler_CorrectPredefinedType: SCOPE = 'entity' @@ -6110,7 +6110,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6130,7 +6130,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_ADD2.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_ADD2.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_add2.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_add2.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_add2.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6150,7 +6150,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_add2.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanResult_FirstOperandClosed: SCOPE = 'entity' @@ -6160,7 +6160,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_add2.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SameDim: SCOPE = 'entity' @@ -6181,7 +6181,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_add2.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6206,7 +6206,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_ADD2.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_add2.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6246,7 +6246,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6276,7 +6276,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxy_HasObjectName: SCOPE = 'entity' @@ -6314,7 +6314,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_ADD2.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_add2.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6344,7 +6344,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6410,7 +6410,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6440,7 +6440,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6470,7 +6470,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6500,7 +6500,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6530,7 +6530,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6704,7 +6704,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6734,7 +6734,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6774,7 +6774,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6804,7 +6804,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6834,7 +6834,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6937,7 +6937,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_add2.ifcboundedcurve' in typeof(parentcurve)) is not False class IfcCompositeProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -6957,7 +6957,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_ADD2.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_add2.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6977,7 +6977,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7007,7 +7007,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7107,7 +7107,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7137,7 +7137,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7167,7 +7167,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7197,7 +7197,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7238,7 +7238,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7268,7 +7268,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7321,7 +7321,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7356,7 +7356,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_ADD2.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_ADD2.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_add2.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_add2.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: SCOPE = 'entity' @@ -7386,7 +7386,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7406,7 +7406,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7466,7 +7466,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_ADD2.IFCCONIC', 'IFC4X3_ADD2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_add2.ifcconic', 'ifc4x3_add2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7486,7 +7486,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7516,7 +7516,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7546,7 +7546,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7597,7 +7597,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7650,7 +7650,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7659,7 +7659,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7707,7 +7707,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7737,7 +7737,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7767,7 +7767,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7841,7 +7841,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7871,7 +7871,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7901,7 +7901,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7931,7 +7931,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7961,7 +7961,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7991,7 +7991,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8021,7 +8021,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8051,7 +8051,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8091,7 +8091,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8121,7 +8121,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8151,7 +8151,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8243,7 +8243,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_ADD2.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_add2.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8276,7 +8276,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8306,7 +8306,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8362,7 +8362,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_ADD2.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_add2.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8371,7 +8371,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_ADD2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_add2.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyleHatching_PatternStart2D: SCOPE = 'entity' @@ -8411,7 +8411,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8441,7 +8441,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8471,7 +8471,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8501,7 +8501,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8531,7 +8531,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8561,7 +8561,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8609,7 +8609,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8628,7 +8628,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_add2.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8657,7 +8657,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_add2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8753,7 +8753,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8783,7 +8783,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8849,7 +8849,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8889,7 +8889,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8937,7 +8937,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8967,7 +8967,7 @@ class IfcKerb_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCKERBTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifckerbtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcKerbType_CorrectPredefinedType: SCOPE = 'entity' @@ -9029,7 +9029,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9059,7 +9059,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9100,7 +9100,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9130,7 +9130,7 @@ class IfcMapConversion_TargetCRSOnlyProjected: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCPROJECTEDCRS' in typeof(express_getattr(self, 'TargetCRS', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifcprojectedcrs' in typeof(express_getattr(self, 'TargetCRS', INDETERMINATE))) is not False class IfcMarineFacility_CorrectPredefinedType: SCOPE = 'entity' @@ -9160,7 +9160,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_ADD2.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_add2.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9203,7 +9203,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9233,7 +9233,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9263,7 +9263,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9296,7 +9296,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9326,7 +9326,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9356,7 +9356,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9395,7 +9395,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9506,7 +9506,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_add2.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9536,7 +9536,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9586,7 +9586,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9670,7 +9670,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9700,7 +9700,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9730,7 +9730,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9816,7 +9816,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9859,7 +9859,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_ADD2.IFCPOLYLINE', 'IFC4X3_ADD2.IFCCOMPOSITECURVE', 'IFC4X3_ADD2.IFCINDEXEDPOLYCURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_add2.ifcpolyline', 'ifc4x3_add2.ifccompositecurve', 'ifc4x3_add2.ifcindexedpolycurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9927,7 +9927,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_ADD2.IFCSHAPEREPRESENTATION', 'IFC4X3_ADD2.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_ADD2.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_add2.ifcshaperepresentation', 'ifc4x3_add2.ifcgeometricrepresentationitem', 'ifc4x3_add2.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9937,7 +9937,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_ADD2.IfcGeometricRepresentationItem', 'IFC4X3_ADD2.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_add2.ifcgeometricrepresentationitem', 'ifc4x3_add2.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_CorrectPredefinedType: SCOPE = 'entity' @@ -9977,7 +9977,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_ADD2.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_add2.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9987,7 +9987,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_ADD2.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_add2.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_CorrectContext: SCOPE = 'entity' @@ -9996,7 +9996,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_ADD2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_add2.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -10195,7 +10195,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10215,7 +10215,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10255,7 +10255,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10390,7 +10390,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10420,7 +10420,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10470,7 +10470,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10490,7 +10490,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10613,7 +10613,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_ADD2.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_ADD2.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_add2.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_add2.ifcplane' in typeof(basissurface)) or 'ifc4x3_add2.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_V1AndV2Different: SCOPE = 'entity' @@ -10666,7 +10666,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10707,7 +10707,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10808,7 +10808,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_ADD2.IFCELEMENT', 'IFC4X3_ADD2.IFCELEMENTTYPE', 'IFC4X3_ADD2.IFCSTRUCTURALMEMBER', 'IFC4X3_ADD2.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_add2.ifcelement', 'ifc4x3_add2.ifcelementtype', 'ifc4x3_add2.ifcstructuralmember', 'ifc4x3_add2.ifcport']) == 0]) == 0) is not False class IfcRelAssociatesMaterial_NoVoidElement: SCOPE = 'entity' @@ -10817,7 +10817,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_ADD2.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_ADD2.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_add2.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_add2.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10869,7 +10869,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_ADD2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_add2.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10889,7 +10889,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_ADD2.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_add2.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10932,7 +10932,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_ADD2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_ADD2.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_add2.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_add2.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10965,7 +10965,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_ADD2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_ADD2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_ADD2.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_add2.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_add2.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_add2.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10985,7 +10985,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_add2.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisDirectionInXY: SCOPE = 'entity' @@ -11005,7 +11005,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: @staticmethod def __call__(self): axis = express_getattr(self, 'Axis', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCCARTESIANPOINT' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False + assert ('ifc4x3_add2.ifccartesianpoint' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False def calc_IfcRevolvedAreaSolid_AxisLine(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -11029,7 +11029,7 @@ class IfcRigidOperation_SameCoordinateType: def __call__(self): firstcoordinate = express_getattr(self, 'FirstCoordinate', INDETERMINATE) secondcoordinate = express_getattr(self, 'SecondCoordinate', INDETERMINATE) - assert ('IFC4X3_ADD2.IFCLENGTHMEASURE' in typeof(firstcoordinate) and 'IFC4X3_ADD2.IFCLENGTHMEASURE' in typeof(secondcoordinate) or ('IFC4X3_ADD2.IFCPLANEANGLEMEASURE' in typeof(firstcoordinate) and 'IFC4X3_ADD2.IFCPLANEANGLEMEASURE' in typeof(secondcoordinate))) is not False + assert ('ifc4x3_add2.ifclengthmeasure' in typeof(firstcoordinate) and 'ifc4x3_add2.ifclengthmeasure' in typeof(secondcoordinate) or ('ifc4x3_add2.ifcplaneanglemeasure' in typeof(firstcoordinate) and 'ifc4x3_add2.ifcplaneanglemeasure' in typeof(secondcoordinate))) is not False class IfcRoad_CorrectPredefinedType: SCOPE = 'entity' @@ -11069,7 +11069,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11112,7 +11112,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11299,7 +11299,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11329,7 +11329,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11358,7 +11358,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_add2.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_CorrectItemsForType: SCOPE = 'entity' @@ -11395,7 +11395,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_ADD2.IFCVERTEXPOINT', 'IFC4X3_ADD2.IFCEDGECURVE', 'IFC4X3_ADD2.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_add2.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_add2.ifcvertexpoint', 'ifc4x3_add2.ifcedgecurve', 'ifc4x3_add2.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False def calc_IfcShellBasedSurfaceModel_Dim(self): return 3 @@ -11418,7 +11418,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11448,7 +11448,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11478,7 +11478,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11508,7 +11508,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11541,7 +11541,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11561,7 +11561,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11590,7 +11590,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_ADD2.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_ADD2.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_ADD2.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_add2.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_add2.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_add2.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11610,7 +11610,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11640,7 +11640,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11670,7 +11670,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11690,7 +11690,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11798,7 +11798,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD2.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_ADD2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add2.ifcstructuralloadlinearforce', 'ifc4x3_add2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLoadCase_IsLoadCasePredefinedType: SCOPE = 'entity' @@ -11848,7 +11848,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD2.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_ADD2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add2.ifcstructuralloadplanarforce', 'ifc4x3_add2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointAction_SuitableLoadType: SCOPE = 'entity' @@ -11857,7 +11857,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_ADD2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add2.ifcstructuralloadsingleforce', 'ifc4x3_add2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11866,7 +11866,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_ADD2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_ADD2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_add2.ifcstructuralloadsingleforce', 'ifc4x3_add2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11926,7 +11926,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_add2.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11935,7 +11935,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_ADD2.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_add2.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11978,7 +11978,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_add2.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -12061,7 +12061,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD2.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add2.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12070,7 +12070,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add2.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12079,7 +12079,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add2.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneShading: SCOPE = 'entity' @@ -12088,7 +12088,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add2.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12097,7 +12097,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_add2.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12119,7 +12119,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_ADD2.IFCCONIC', 'IFC4X3_ADD2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_add2.ifcconic', 'ifc4x3_add2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolid_DirectrixDim: SCOPE = 'entity' @@ -12159,7 +12159,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_ADD2.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_add2.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_add2.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12189,7 +12189,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12219,7 +12219,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12303,7 +12303,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12377,7 +12377,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12397,7 +12397,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12427,7 +12427,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12460,7 +12460,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_add2.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12469,7 +12469,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_ADD2.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_add2.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12478,7 +12478,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_ADD2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_add2.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12527,7 +12527,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12557,7 +12557,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTRANSFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctransformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12587,7 +12587,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12620,7 +12620,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_ADD2.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_add2.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTrimmedCurve_Trim1ValuesConsistent: SCOPE = 'entity' @@ -12660,7 +12660,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12698,7 +12698,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_ADD2.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_add2.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12750,7 +12750,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12780,7 +12780,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12810,7 +12810,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12854,7 +12854,7 @@ class IfcVehicle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCVEHICLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcvehicletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVehicleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12884,7 +12884,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12914,7 +12914,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12964,7 +12964,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -12973,7 +12973,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_ADD2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_ADD2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_ADD2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_add2.ifcrelassociates.relatedobjects') if 'ifc4x3_add2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_add2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -13003,7 +13003,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -13033,7 +13033,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_ADD2.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_add2.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -13075,7 +13075,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13084,7 +13084,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_ADD2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_add2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13144,7 +13144,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_ADD2.IFCZONE' in typeof(temp) or 'IFC4X3_ADD2.IFCSPACE' in typeof(temp) or 'IFC4X3_ADD2.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_add2.ifczone' in typeof(temp) or 'ifc4x3_add2.ifcspace' in typeof(temp) or 'ifc4x3_add2.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13407,10 +13407,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_ADD2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_ADD2.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_ADD2.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_ADD2.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_add2.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_add2.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_add2.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_add2.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13423,12 +13423,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_ADD2.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_add2.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_ADD2.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_ADD2.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_add2.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_add2.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_ADD2.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_add2.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13442,13 +13442,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD2.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD2.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_ADD2.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_add2.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_add2.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_add2.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_ADD2.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_add2.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_ADD2.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_add2.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13469,39 +13469,39 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_ADD2.IFCLINE' in typeof(curve): + if 'ifc4x3_add2.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCCONIC' in typeof(curve): + if 'ifc4x3_add2.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_add2.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_add2.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_ADD2.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_add2.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_ADD2.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_add2.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_ADD2.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_add2.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_add2.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_add2.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_ADD2.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_add2.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_ADD2.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_add2.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_ADD2.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_add2.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_ADD2.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3_add2.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3_ADD2.IFCPCURVE' in typeof(curve): + if 'ifc4x3_add2.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_ADD2.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_add2.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCSPIRAL' in typeof(curve): + if 'ifc4x3_add2.ifcspiral' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13627,23 +13627,23 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_ADD2.IFCPCURVE' in typeof(c): + if 'ifc4x3_add2.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_ADD2.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_add2.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_ADD2.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_add2.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) - if 'IFC4X3_ADD2.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add2.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_ADD2.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add2.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: for i in range(2, n + 1): - if 'IFC4X3_ADD2.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add2.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_ADD2.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add2.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) return surfs @@ -13694,7 +13694,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg): + if 'ifc4x3_add2.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13715,7 +13715,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg): + if 'ifc4x3_add2.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13740,20 +13740,20 @@ def IfcPathHeadToTail(apath): return p def IfcPointDim(point): - if 'IFC4X3_ADD2.IFCCARTESIANPOINT' in typeof(point): + if 'ifc4x3_add2.ifccartesianpoint' in typeof(point): return hiindex(express_getattr(point, 'Coordinates', INDETERMINATE)) - if 'IFC4X3_ADD2.IFCPOINTBYDISTANCEEXPRESSION' in typeof(point): + if 'ifc4x3_add2.ifcpointbydistanceexpression' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCPOINTONCURVE' in typeof(point): + if 'ifc4x3_add2.ifcpointoncurve' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCPOINTONSURFACE' in typeof(point): + if 'ifc4x3_add2.ifcpointonsurface' in typeof(point): return express_getattr(express_getattr(point, 'BasisSurface', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcPointListDim(pointlist): - if 'IFC4X3_ADD2.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_add2.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_ADD2.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_add2.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13803,7 +13803,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(vec): + if 'ifc4x3_add2.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13831,80 +13831,80 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): return express_getattr(yaxis, 'Orientation', INDETERMINATE) def IfcSegmentDim(segment): - if 'IFC4X3_ADD2.IFCCURVESEGMENT' in typeof(segment): + if 'ifc4x3_add2.ifccurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_ADD2.IFCCOMPOSITECURVESEGMENT' in typeof(segment): + if 'ifc4x3_add2.ifccompositecurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCPOINT' in typeof(temp) or 'IFC4X3_ADD2.IFCCARTESIANPOINTLIST' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Segment': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSEGMENT' in typeof(temp)]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'SectionedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSECTIONEDSURFACE' in typeof(temp)]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_ADD2.IFCPOINT', 'IFC4X3_ADD2.IFCCURVE', 'IFC4X3_ADD2.IFCGEOMETRICCURVESET', 'IFC4X3_ADD2.IFCANNOTATIONFILLAREA', 'IFC4X3_ADD2.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_ADD2.IFCPOINT' in typeof(temp) or 'IFC4X3_ADD2.IFCCURVE' in typeof(temp) or ('IFC4X3_ADD2.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_ADD2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_ADD2.IFCPOINT' in typeof(temp) or ('IFC4X3_ADD2.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcpoint' in typeof(temp) or 'ifc4x3_add2.ifccartesianpointlist' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'segment': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsegment' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsectionedsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_add2.ifcpoint', 'ifc4x3_add2.ifccurve', 'ifc4x3_add2.ifcgeometriccurveset', 'ifc4x3_add2.ifcannotationfillarea', 'ifc4x3_add2.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcgeometricset' in typeof(temp) or 'ifc4x3_add2.ifcpoint' in typeof(temp) or 'ifc4x3_add2.ifccurve' in typeof(temp) or ('ifc4x3_add2.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_add2.ifcgeometricset' in typeof(temp) or 'ifc4x3_add2.ifcpoint' in typeof(temp) or ('ifc4x3_add2.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_ADD2.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_ADD2.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_add2.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_add2.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCTESSELLATEDITEM', 'IFC4X3_ADD2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_ADD2.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_ADD2.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCTESSELLATEDITEM', 'IFC4X3_ADD2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_ADD2.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCEXTRUDEDAREASOLID', 'IFC4X3_ADD2.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_ADD2.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_ADD2.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCSWEPTAREASOLID', 'IFC4X3_ADD2.IFCSWEPTDISKSOLID', 'IFC4X3_ADD2.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCBOOLEANRESULT', 'IFC4X3_ADD2.IFCCSGPRIMITIVE3D', 'IFC4X3_ADD2.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_ADD2.IFCCSGSOLID', 'IFC4X3_ADD2.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifctessellateditem', 'ifc4x3_add2.ifcshellbasedsurfacemodel', 'ifc4x3_add2.ifcfacebasedsurfacemodel', 'ifc4x3_add2.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifctessellateditem', 'ifc4x3_add2.ifcshellbasedsurfacemodel', 'ifc4x3_add2.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifcextrudedareasolid', 'ifc4x3_add2.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_add2.ifcextrudedareasolidtapered', 'ifc4x3_add2.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifcsweptareasolid', 'ifc4x3_add2.ifcsweptdisksolid', 'ifc4x3_add2.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifcbooleanresult', 'ifc4x3_add2.ifccsgprimitive3d', 'ifc4x3_add2.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_add2.ifccsgsolid', 'ifc4x3_add2.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13921,12 +13921,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_ADD2.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_ADD2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_add2.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_add2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_ADD2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_add2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13934,17 +13934,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_ADD2.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_ADD2.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_add2.ifcopenshell' in typeof(temp) or 'ifc4x3_add2.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13956,9 +13956,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_ADD2.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_add2.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_ADD2.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_add2.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13975,7 +13975,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_ADD2.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_add2.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13997,13 +13997,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_add2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_add2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -14029,13 +14029,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_add2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_ADD2.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_add2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py index c24ab79c5e..ae0ee5bce1 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py @@ -5374,7 +5374,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5403,7 +5403,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC1.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5413,7 +5413,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC1.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5422,7 +5422,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC1.IFCELEMENTARYSURFACE', 'IFC4X3_RC1.IFCSWEPTSURFACE', 'IFC4X3_RC1.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc1.ifcelementarysurface', 'ifc4x3_rc1.ifcsweptsurface', 'ifc4x3_rc1.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5431,7 +5431,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_RC1.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_rc1.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5440,7 +5440,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_RC1.IFCLINE', 'IFC4X3_RC1.IFCCONIC', 'IFC4X3_RC1.IFCPOLYLINE', 'IFC4X3_RC1.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_rc1.ifcline', 'ifc4x3_rc1.ifcconic', 'ifc4x3_rc1.ifcpolyline', 'ifc4x3_rc1.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5460,7 +5460,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5480,7 +5480,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5520,7 +5520,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5550,7 +5550,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5591,7 +5591,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc1.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5601,7 +5601,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc1.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5610,7 +5610,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_RC1.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_rc1.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5649,7 +5649,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_RC1.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc1.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5717,7 +5717,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5965,7 +5965,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -5974,7 +5974,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6004,7 +6004,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6023,7 +6023,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -6053,7 +6053,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6073,7 +6073,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_RC1.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_RC1.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_RC1.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_rc1.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_rc1.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_rc1.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -6083,7 +6083,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_RC1.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_rc1.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6114,7 +6114,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -6124,7 +6124,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6149,7 +6149,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_RC1.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc1.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElementPart_CorrectPredefinedType: SCOPE = 'entity' @@ -6169,7 +6169,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6208,7 +6208,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6227,7 +6227,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6257,7 +6257,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6323,7 +6323,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6353,7 +6353,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6383,7 +6383,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6413,7 +6413,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6443,7 +6443,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6621,7 +6621,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6651,7 +6651,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6691,7 +6691,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6721,7 +6721,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6730,7 +6730,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6760,7 +6760,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6863,7 +6863,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_RC1.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_rc1.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6887,7 +6887,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_RC1.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_rc1.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6907,7 +6907,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6937,7 +6937,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7037,7 +7037,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7067,7 +7067,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7097,7 +7097,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7127,7 +7127,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7157,7 +7157,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7187,7 +7187,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7240,7 +7240,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7263,7 +7263,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_RC1.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_RC1.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_rc1.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_rc1.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -7305,7 +7305,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7325,7 +7325,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7385,7 +7385,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC1.IFCCONIC', 'IFC4X3_RC1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc1.ifcconic', 'ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7405,7 +7405,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7435,7 +7435,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7465,7 +7465,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7496,7 +7496,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7549,7 +7549,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC1.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc1.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7558,7 +7558,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC1.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc1.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7606,7 +7606,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7636,7 +7636,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7666,7 +7666,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7740,7 +7740,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7770,7 +7770,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7800,7 +7800,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7830,7 +7830,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7860,7 +7860,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7890,7 +7890,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7920,7 +7920,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -7950,7 +7950,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -7990,7 +7990,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8020,7 +8020,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8050,7 +8050,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8142,7 +8142,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_RC1.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_rc1.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8165,7 +8165,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8195,7 +8195,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8232,7 +8232,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC1.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc1.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8241,7 +8241,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc1.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -8290,7 +8290,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8320,7 +8320,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8350,7 +8350,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8380,7 +8380,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8410,7 +8410,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8440,7 +8440,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8470,7 +8470,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8489,7 +8489,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_rc1.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8509,7 +8509,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8604,7 +8604,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8634,7 +8634,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8700,7 +8700,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8740,7 +8740,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8788,7 +8788,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8850,7 +8850,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -8880,7 +8880,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8921,7 +8921,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8962,7 +8962,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC1.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9005,7 +9005,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9035,7 +9035,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9065,7 +9065,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -9074,7 +9074,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9107,7 +9107,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9137,7 +9137,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9167,7 +9167,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9206,7 +9206,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9307,7 +9307,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_rc1.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9337,7 +9337,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9441,7 +9441,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9471,7 +9471,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9501,7 +9501,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9587,7 +9587,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -9596,7 +9596,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9644,7 +9644,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_RC1.IFCPOLYLINE', 'IFC4X3_RC1.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc1.ifcpolyline', 'ifc4x3_rc1.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9689,7 +9689,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC1.IFCSHAPEREPRESENTATION', 'IFC4X3_RC1.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_RC1.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc1.ifcshaperepresentation', 'ifc4x3_rc1.ifcgeometricrepresentationitem', 'ifc4x3_rc1.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9699,7 +9699,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC1.IfcGeometricRepresentationItem', 'IFC4X3_RC1.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc1.ifcgeometricrepresentationitem', 'ifc4x3_rc1.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -9739,7 +9739,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_RC1.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_rc1.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9749,7 +9749,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC1.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -9767,7 +9767,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_RC1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -9948,7 +9948,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -9968,7 +9968,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10017,7 +10017,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10152,7 +10152,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10182,7 +10182,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10212,7 +10212,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10232,7 +10232,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10366,7 +10366,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_RC1.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_RC1.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_RC1.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_rc1.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_rc1.ifcplane' in typeof(basissurface)) or 'ifc4x3_rc1.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -10408,7 +10408,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -10449,7 +10449,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -10561,7 +10561,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC1.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_RC1.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc1.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_rc1.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -10570,7 +10570,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_RC1.IFCELEMENT', 'IFC4X3_RC1.IFCELEMENTTYPE', 'IFC4X3_RC1.IFCWINDOWSTYLE', 'IFC4X3_RC1.IFCDOORSTYLE', 'IFC4X3_RC1.IFCSTRUCTURALMEMBER', 'IFC4X3_RC1.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_rc1.ifcelement', 'ifc4x3_rc1.ifcelementtype', 'ifc4x3_rc1.ifcwindowstyle', 'ifc4x3_rc1.ifcdoorstyle', 'ifc4x3_rc1.ifcstructuralmember', 'ifc4x3_rc1.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10622,7 +10622,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc1.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10642,7 +10642,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC1.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc1.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10685,7 +10685,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_RC1.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc1.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_rc1.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10718,7 +10718,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_RC1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_RC1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_RC1.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_rc1.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10738,7 +10738,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_RC1.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_rc1.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -10791,7 +10791,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -10834,7 +10834,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -10967,7 +10967,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -10997,7 +10997,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11026,7 +11026,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_RC1.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_rc1.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -11036,7 +11036,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_RC1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_RC1.IFCVERTEXPOINT', 'IFC4X3_RC1.IFCEDGECURVE', 'IFC4X3_RC1.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_rc1.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_rc1.ifcvertexpoint', 'ifc4x3_rc1.ifcedgecurve', 'ifc4x3_rc1.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -11086,7 +11086,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11116,7 +11116,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11146,7 +11146,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11164,7 +11164,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11194,7 +11194,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11227,7 +11227,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11247,7 +11247,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11276,7 +11276,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_RC1.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC1.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_RC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_rc1.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc1.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_rc1.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11296,7 +11296,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11326,7 +11326,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11356,7 +11356,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11376,7 +11376,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11475,7 +11475,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC1.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_RC1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc1.ifcstructuralloadlinearforce', 'ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -11525,7 +11525,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC1.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_RC1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc1.ifcstructuralloadplanarforce', 'ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -11543,7 +11543,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce', 'ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11552,7 +11552,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce', 'ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11612,7 +11612,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_rc1.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11621,7 +11621,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC1.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc1.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11664,7 +11664,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_rc1.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -11747,7 +11747,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc1.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -11756,7 +11756,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc1.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -11765,7 +11765,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc1.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -11774,7 +11774,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc1.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -11783,7 +11783,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC1.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc1.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -11826,7 +11826,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC1.IFCCONIC', 'IFC4X3_RC1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc1.ifcconic', 'ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -11845,7 +11845,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_RC1.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_RC1.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_rc1.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_rc1.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -11875,7 +11875,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11905,7 +11905,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -11989,7 +11989,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12063,7 +12063,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12083,7 +12083,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12113,7 +12113,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12146,7 +12146,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_rc1.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12155,7 +12155,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_RC1.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_rc1.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12164,7 +12164,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc1.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12213,7 +12213,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12243,7 +12243,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12273,7 +12273,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12326,7 +12326,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_RC1.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_rc1.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -12346,7 +12346,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12384,7 +12384,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_RC1.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_rc1.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12436,7 +12436,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12466,7 +12466,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12496,7 +12496,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12540,7 +12540,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12570,7 +12570,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12610,7 +12610,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -12628,7 +12628,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc1.ifcrelassociates.relatedobjects') if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12658,7 +12658,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -12678,7 +12678,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC1.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc1.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -12720,7 +12720,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC1.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc1.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -12729,7 +12729,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC1.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc1.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -12789,7 +12789,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_RC1.IFCZONE' in typeof(temp) or 'IFC4X3_RC1.IFCSPACE' in typeof(temp) or 'IFC4X3_RC1.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_rc1.ifczone' in typeof(temp) or 'ifc4x3_rc1.ifcspace' in typeof(temp) or 'ifc4x3_rc1.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13052,10 +13052,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_RC1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_RC1.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_RC1.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_RC1.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_rc1.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_rc1.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_rc1.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_rc1.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13068,12 +13068,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_RC1.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_rc1.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_RC1.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_RC1.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_rc1.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_rc1.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_RC1.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_rc1.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13088,25 +13088,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC1.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc1.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -13117,13 +13117,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC1.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC1.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC1.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc1.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc1.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc1.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_RC1.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc1.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_RC1.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc1.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13144,31 +13144,31 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_RC1.IFCLINE' in typeof(curve): + if 'ifc4x3_rc1.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC1.IFCCONIC' in typeof(curve): + if 'ifc4x3_rc1.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC1.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_rc1.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC1.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_rc1.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_RC1.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_rc1.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC1.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_rc1.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC1.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_rc1.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_RC1.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_rc1.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_RC1.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_rc1.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_RC1.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_rc1.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_RC1.IFCALIGNMENTCURVE' in typeof(curve): + if 'ifc4x3_rc1.ifcalignmentcurve' in typeof(curve): return 3 - if 'IFC4X3_RC1.IFCPCURVE' in typeof(curve): + if 'ifc4x3_rc1.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_RC1.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_rc1.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13294,13 +13294,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_RC1.IFCPCURVE' in typeof(c): + if 'ifc4x3_rc1.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_RC1.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_rc1.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_RC1.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_rc1.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -13355,7 +13355,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc1.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13376,7 +13376,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc1.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13401,9 +13401,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X3_RC1.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_rc1.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_RC1.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_rc1.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13453,7 +13453,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_RC1.IFCVECTOR' in typeof(vec): + if 'ifc4x3_rc1.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13482,68 +13482,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_RC1.IFCPOINT', 'IFC4X3_RC1.IFCCURVE', 'IFC4X3_RC1.IFCGEOMETRICCURVESET', 'IFC4X3_RC1.IFCANNOTATIONFILLAREA', 'IFC4X3_RC1.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC1.IFCPOINT' in typeof(temp) or 'IFC4X3_RC1.IFCCURVE' in typeof(temp) or ('IFC4X3_RC1.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_RC1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC1.IFCPOINT' in typeof(temp) or ('IFC4X3_RC1.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_rc1.ifcpoint', 'ifc4x3_rc1.ifccurve', 'ifc4x3_rc1.ifcgeometriccurveset', 'ifc4x3_rc1.ifcannotationfillarea', 'ifc4x3_rc1.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc1.ifcpoint' in typeof(temp) or 'ifc4x3_rc1.ifccurve' in typeof(temp) or ('ifc4x3_rc1.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_rc1.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc1.ifcpoint' in typeof(temp) or ('ifc4x3_rc1.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_RC1.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_RC1.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_rc1.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_rc1.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCTESSELLATEDITEM', 'IFC4X3_RC1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC1.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_RC1.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCTESSELLATEDITEM', 'IFC4X3_RC1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC1.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCEXTRUDEDAREASOLID', 'IFC4X3_RC1.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_RC1.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_RC1.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCSWEPTAREASOLID', 'IFC4X3_RC1.IFCSWEPTDISKSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCBOOLEANRESULT', 'IFC4X3_RC1.IFCCSGPRIMITIVE3D', 'IFC4X3_RC1.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC1.IFCCSGSOLID', 'IFC4X3_RC1.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifctessellateditem', 'ifc4x3_rc1.ifcshellbasedsurfacemodel', 'ifc4x3_rc1.ifcfacebasedsurfacemodel', 'ifc4x3_rc1.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifctessellateditem', 'ifc4x3_rc1.ifcshellbasedsurfacemodel', 'ifc4x3_rc1.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifcextrudedareasolid', 'ifc4x3_rc1.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_rc1.ifcextrudedareasolidtapered', 'ifc4x3_rc1.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifcsweptareasolid', 'ifc4x3_rc1.ifcsweptdisksolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifcbooleanresult', 'ifc4x3_rc1.ifccsgprimitive3d', 'ifc4x3_rc1.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc1.ifccsgsolid', 'ifc4x3_rc1.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13560,12 +13560,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_RC1.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_RC1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_rc1.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_rc1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_RC1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_rc1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13573,17 +13573,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_RC1.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_RC1.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_rc1.ifcopenshell' in typeof(temp) or 'ifc4x3_rc1.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13595,9 +13595,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_RC1.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_rc1.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_RC1.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_rc1.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13614,7 +13614,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_RC1.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_rc1.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13636,13 +13636,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -13668,13 +13668,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py index bb1193d2ed..36329b4af0 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py @@ -5415,7 +5415,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5444,7 +5444,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC2.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5454,7 +5454,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC2.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5463,7 +5463,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC2.IFCELEMENTARYSURFACE', 'IFC4X3_RC2.IFCSWEPTSURFACE', 'IFC4X3_RC2.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc2.ifcelementarysurface', 'ifc4x3_rc2.ifcsweptsurface', 'ifc4x3_rc2.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5472,7 +5472,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_RC2.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_rc2.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5481,7 +5481,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC2.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_RC2.IFCLINE', 'IFC4X3_RC2.IFCCONIC', 'IFC4X3_RC2.IFCPOLYLINE', 'IFC4X3_RC2.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc2.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_rc2.ifcline', 'ifc4x3_rc2.ifcconic', 'ifc4x3_rc2.ifcpolyline', 'ifc4x3_rc2.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5501,7 +5501,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5521,7 +5521,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5561,7 +5561,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5591,7 +5591,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5632,7 +5632,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc2.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5642,7 +5642,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc2.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5651,7 +5651,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_rc2.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5690,7 +5690,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_RC2.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc2.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5758,7 +5758,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5796,7 +5796,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5828,7 +5828,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement2D_P(self): refdirection = express_getattr(self, 'RefDirection', INDETERMINATE) @@ -5892,7 +5892,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement3D_P(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5906,7 +5906,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IfcPointByDistanceExpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc2.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6053,7 +6053,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6062,7 +6062,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6092,7 +6092,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6111,7 +6111,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -6141,7 +6141,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6161,7 +6161,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_RC2.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_RC2.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_RC2.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_rc2.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_rc2.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_rc2.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -6171,7 +6171,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_RC2.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_rc2.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6202,7 +6202,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -6212,7 +6212,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6237,7 +6237,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_RC2.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc2.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBuildingElementPart_CorrectPredefinedType: SCOPE = 'entity' @@ -6257,7 +6257,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6296,7 +6296,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6315,7 +6315,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6345,7 +6345,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6411,7 +6411,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6441,7 +6441,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6471,7 +6471,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6501,7 +6501,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6531,7 +6531,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6709,7 +6709,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6739,7 +6739,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6779,7 +6779,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6809,7 +6809,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6818,7 +6818,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6848,7 +6848,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6951,7 +6951,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_RC2.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_rc2.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6975,7 +6975,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_RC2.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_rc2.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6995,7 +6995,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7025,7 +7025,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7125,7 +7125,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7155,7 +7155,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7185,7 +7185,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7215,7 +7215,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7245,7 +7245,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7275,7 +7275,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7328,7 +7328,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7351,7 +7351,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_RC2.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_RC2.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_rc2.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_rc2.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -7393,7 +7393,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7413,7 +7413,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7473,7 +7473,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC2.IFCCONIC', 'IFC4X3_RC2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc2.ifcconic', 'ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7493,7 +7493,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7523,7 +7523,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7553,7 +7553,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7584,7 +7584,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7637,7 +7637,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC2.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc2.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7646,7 +7646,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC2.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC2.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc2.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc2.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7694,7 +7694,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7724,7 +7724,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7754,7 +7754,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7828,7 +7828,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7858,7 +7858,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7888,7 +7888,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7918,7 +7918,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7948,7 +7948,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7978,7 +7978,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8008,7 +8008,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8038,7 +8038,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8078,7 +8078,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8108,7 +8108,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8138,7 +8138,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8230,7 +8230,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_RC2.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_rc2.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8253,7 +8253,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8283,7 +8283,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8320,7 +8320,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC2.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc2.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8329,7 +8329,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc2.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -8378,7 +8378,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8408,7 +8408,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8438,7 +8438,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8468,7 +8468,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8498,7 +8498,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8528,7 +8528,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8558,7 +8558,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8577,7 +8577,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_rc2.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8597,7 +8597,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8695,7 +8695,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8725,7 +8725,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8791,7 +8791,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8831,7 +8831,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8879,7 +8879,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8941,7 +8941,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -8971,7 +8971,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9012,7 +9012,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9053,7 +9053,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC2.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9096,7 +9096,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9126,7 +9126,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9156,7 +9156,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -9165,7 +9165,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9198,7 +9198,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9228,7 +9228,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9258,7 +9258,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9297,7 +9297,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9398,7 +9398,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_rc2.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9428,7 +9428,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9532,7 +9532,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9562,7 +9562,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9592,7 +9592,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9678,7 +9678,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -9687,7 +9687,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9739,7 +9739,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_RC2.IFCPOLYLINE', 'IFC4X3_RC2.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc2.ifcpolyline', 'ifc4x3_rc2.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9784,7 +9784,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC2.IFCSHAPEREPRESENTATION', 'IFC4X3_RC2.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_RC2.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc2.ifcshaperepresentation', 'ifc4x3_rc2.ifcgeometricrepresentationitem', 'ifc4x3_rc2.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9794,7 +9794,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC2.IfcGeometricRepresentationItem', 'IFC4X3_RC2.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc2.ifcgeometricrepresentationitem', 'ifc4x3_rc2.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -9834,7 +9834,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_RC2.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_rc2.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9844,7 +9844,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC2.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -9862,7 +9862,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_RC2.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -10043,7 +10043,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10063,7 +10063,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10112,7 +10112,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10247,7 +10247,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10277,7 +10277,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10307,7 +10307,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10327,7 +10327,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10461,7 +10461,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_RC2.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_RC2.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_RC2.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_rc2.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_rc2.ifcplane' in typeof(basissurface)) or 'ifc4x3_rc2.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -10503,7 +10503,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -10544,7 +10544,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -10656,7 +10656,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC2.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_RC2.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc2.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_rc2.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -10665,7 +10665,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_RC2.IFCELEMENT', 'IFC4X3_RC2.IFCELEMENTTYPE', 'IFC4X3_RC2.IFCWINDOWSTYLE', 'IFC4X3_RC2.IFCDOORSTYLE', 'IFC4X3_RC2.IFCSTRUCTURALMEMBER', 'IFC4X3_RC2.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_rc2.ifcelement', 'ifc4x3_rc2.ifcelementtype', 'ifc4x3_rc2.ifcwindowstyle', 'ifc4x3_rc2.ifcdoorstyle', 'ifc4x3_rc2.ifcstructuralmember', 'ifc4x3_rc2.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10717,7 +10717,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc2.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10737,7 +10737,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC2.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc2.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10780,7 +10780,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC2.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_RC2.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc2.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_rc2.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10813,7 +10813,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_RC2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_RC2.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_RC2.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_rc2.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10833,7 +10833,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_RC2.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_rc2.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -10886,7 +10886,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -10929,7 +10929,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11062,7 +11062,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11092,7 +11092,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11121,7 +11121,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_rc2.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -11131,7 +11131,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_RC2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_RC2.IFCVERTEXPOINT', 'IFC4X3_RC2.IFCEDGECURVE', 'IFC4X3_RC2.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_rc2.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_rc2.ifcvertexpoint', 'ifc4x3_rc2.ifcedgecurve', 'ifc4x3_rc2.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -11181,7 +11181,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11211,7 +11211,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11241,7 +11241,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11259,7 +11259,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11289,7 +11289,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11322,7 +11322,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11342,7 +11342,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11371,7 +11371,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_RC2.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC2.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_RC2.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_rc2.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc2.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_rc2.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11391,7 +11391,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11421,7 +11421,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11451,7 +11451,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11471,7 +11471,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11570,7 +11570,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC2.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_RC2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc2.ifcstructuralloadlinearforce', 'ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -11620,7 +11620,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC2.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_RC2.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc2.ifcstructuralloadplanarforce', 'ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -11638,7 +11638,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce', 'ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11647,7 +11647,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC2.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC2.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce', 'ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11707,7 +11707,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_rc2.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11716,7 +11716,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC2.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc2.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11759,7 +11759,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_rc2.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -11842,7 +11842,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc2.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -11851,7 +11851,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc2.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -11860,7 +11860,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc2.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -11869,7 +11869,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc2.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -11878,7 +11878,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC2.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc2.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -11921,7 +11921,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC2.IFCCONIC', 'IFC4X3_RC2.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc2.ifcconic', 'ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -11940,7 +11940,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_RC2.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_rc2.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_rc2.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -11970,7 +11970,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12000,7 +12000,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12084,7 +12084,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12158,7 +12158,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12178,7 +12178,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12208,7 +12208,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12241,7 +12241,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_rc2.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12250,7 +12250,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_RC2.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_rc2.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12259,7 +12259,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC2.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc2.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12308,7 +12308,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12338,7 +12338,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12368,7 +12368,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12421,7 +12421,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_RC2.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_rc2.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -12441,7 +12441,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12479,7 +12479,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_RC2.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_rc2.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12531,7 +12531,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12561,7 +12561,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12591,7 +12591,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12635,7 +12635,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12665,7 +12665,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12705,7 +12705,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -12723,7 +12723,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC2.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC2.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC2.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc2.ifcrelassociates.relatedobjects') if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc2.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12753,7 +12753,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -12773,7 +12773,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC2.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc2.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -12815,7 +12815,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC2.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc2.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -12824,7 +12824,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC2.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC2.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc2.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc2.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -12884,7 +12884,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_RC2.IFCZONE' in typeof(temp) or 'IFC4X3_RC2.IFCSPACE' in typeof(temp) or 'IFC4X3_RC2.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_rc2.ifczone' in typeof(temp) or 'ifc4x3_rc2.ifcspace' in typeof(temp) or 'ifc4x3_rc2.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13147,10 +13147,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_RC2.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_RC2.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_RC2.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_RC2.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_rc2.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_rc2.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_rc2.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_rc2.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13163,12 +13163,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_RC2.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_rc2.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_RC2.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_RC2.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_rc2.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_rc2.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_RC2.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_rc2.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13183,25 +13183,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC2.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc2.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -13212,13 +13212,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC2.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC2.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC2.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc2.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc2.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc2.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_RC2.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc2.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_RC2.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc2.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13239,35 +13239,35 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_RC2.IFCLINE' in typeof(curve): + if 'ifc4x3_rc2.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC2.IFCCONIC' in typeof(curve): + if 'ifc4x3_rc2.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC2.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_rc2.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC2.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_rc2.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_RC2.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_rc2.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC2.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC2.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_rc2.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_RC2.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_rc2.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_rc2.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_rc2.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_RC2.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCSERIESPARAMETERCURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcseriesparametercurve' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCPCURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_RC2.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_rc2.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13393,13 +13393,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_RC2.IFCPCURVE' in typeof(c): + if 'ifc4x3_rc2.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_RC2.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_rc2.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_RC2.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_rc2.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -13457,7 +13457,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc2.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13478,7 +13478,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc2.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13503,9 +13503,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X3_RC2.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_rc2.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_RC2.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_rc2.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13555,7 +13555,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_RC2.IFCVECTOR' in typeof(vec): + if 'ifc4x3_rc2.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13584,68 +13584,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_RC2.IFCPOINT', 'IFC4X3_RC2.IFCCURVE', 'IFC4X3_RC2.IFCGEOMETRICCURVESET', 'IFC4X3_RC2.IFCANNOTATIONFILLAREA', 'IFC4X3_RC2.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC2.IFCPOINT' in typeof(temp) or 'IFC4X3_RC2.IFCCURVE' in typeof(temp) or ('IFC4X3_RC2.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_RC2.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC2.IFCPOINT' in typeof(temp) or ('IFC4X3_RC2.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_rc2.ifcpoint', 'ifc4x3_rc2.ifccurve', 'ifc4x3_rc2.ifcgeometriccurveset', 'ifc4x3_rc2.ifcannotationfillarea', 'ifc4x3_rc2.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc2.ifcpoint' in typeof(temp) or 'ifc4x3_rc2.ifccurve' in typeof(temp) or ('ifc4x3_rc2.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_rc2.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc2.ifcpoint' in typeof(temp) or ('ifc4x3_rc2.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_RC2.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_RC2.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_rc2.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_rc2.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCTESSELLATEDITEM', 'IFC4X3_RC2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC2.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_RC2.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCTESSELLATEDITEM', 'IFC4X3_RC2.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC2.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCEXTRUDEDAREASOLID', 'IFC4X3_RC2.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_RC2.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_RC2.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCSWEPTAREASOLID', 'IFC4X3_RC2.IFCSWEPTDISKSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCBOOLEANRESULT', 'IFC4X3_RC2.IFCCSGPRIMITIVE3D', 'IFC4X3_RC2.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC2.IFCCSGSOLID', 'IFC4X3_RC2.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifctessellateditem', 'ifc4x3_rc2.ifcshellbasedsurfacemodel', 'ifc4x3_rc2.ifcfacebasedsurfacemodel', 'ifc4x3_rc2.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifctessellateditem', 'ifc4x3_rc2.ifcshellbasedsurfacemodel', 'ifc4x3_rc2.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifcextrudedareasolid', 'ifc4x3_rc2.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_rc2.ifcextrudedareasolidtapered', 'ifc4x3_rc2.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifcsweptareasolid', 'ifc4x3_rc2.ifcsweptdisksolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifcbooleanresult', 'ifc4x3_rc2.ifccsgprimitive3d', 'ifc4x3_rc2.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc2.ifccsgsolid', 'ifc4x3_rc2.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13662,12 +13662,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_RC2.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_RC2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_rc2.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_rc2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_RC2.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_rc2.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13675,17 +13675,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_RC2.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_RC2.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_rc2.ifcopenshell' in typeof(temp) or 'ifc4x3_rc2.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13697,9 +13697,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_RC2.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_rc2.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_RC2.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_rc2.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13716,7 +13716,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_RC2.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_rc2.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13738,13 +13738,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -13770,13 +13770,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc2.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC2.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc2.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py index afb04e0316..f04cb77e97 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py @@ -5404,7 +5404,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5433,7 +5433,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC3.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5443,7 +5443,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC3.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5452,7 +5452,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC3.IFCELEMENTARYSURFACE', 'IFC4X3_RC3.IFCSWEPTSURFACE', 'IFC4X3_RC3.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc3.ifcelementarysurface', 'ifc4x3_rc3.ifcsweptsurface', 'ifc4x3_rc3.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5461,7 +5461,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC3.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_RC3.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc3.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_rc3.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5470,7 +5470,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC3.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_RC3.IFCLINE', 'IFC4X3_RC3.IFCCONIC', 'IFC4X3_RC3.IFCPOLYLINE', 'IFC4X3_RC3.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc3.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_rc3.ifcline', 'ifc4x3_rc3.ifcconic', 'ifc4x3_rc3.ifcpolyline', 'ifc4x3_rc3.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5490,7 +5490,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5510,7 +5510,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5550,7 +5550,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5580,7 +5580,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5621,7 +5621,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc3.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5631,7 +5631,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc3.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5640,7 +5640,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_rc3.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5679,7 +5679,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_RC3.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc3.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5747,7 +5747,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5785,7 +5785,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5817,7 +5817,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement2D_P(self): refdirection = express_getattr(self, 'RefDirection', INDETERMINATE) @@ -5881,7 +5881,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement3D_P(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5895,7 +5895,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc3.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6042,7 +6042,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6051,7 +6051,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6081,7 +6081,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6100,7 +6100,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -6130,7 +6130,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6150,7 +6150,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_RC3.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_RC3.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_RC3.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_rc3.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_rc3.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_rc3.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -6160,7 +6160,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_RC3.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_rc3.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6191,7 +6191,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -6201,7 +6201,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6226,7 +6226,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_RC3.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc3.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6256,7 +6256,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6295,7 +6295,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6314,7 +6314,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6344,7 +6344,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6410,7 +6410,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6440,7 +6440,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6470,7 +6470,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6500,7 +6500,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6530,7 +6530,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6708,7 +6708,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6738,7 +6738,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6778,7 +6778,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6808,7 +6808,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6817,7 +6817,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6847,7 +6847,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6950,7 +6950,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_RC3.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_rc3.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6974,7 +6974,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_RC3.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_rc3.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6994,7 +6994,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7024,7 +7024,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7124,7 +7124,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7154,7 +7154,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7184,7 +7184,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7214,7 +7214,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7244,7 +7244,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7274,7 +7274,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7327,7 +7327,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7354,7 +7354,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_RC3.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_RC3.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_rc3.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_rc3.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -7396,7 +7396,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7416,7 +7416,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7476,7 +7476,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC3.IFCCONIC', 'IFC4X3_RC3.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc3.ifcconic', 'ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7496,7 +7496,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7526,7 +7526,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7556,7 +7556,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7597,7 +7597,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoor_CorrectPredefinedType: SCOPE = 'entity' @@ -7617,7 +7617,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7670,7 +7670,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC3.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc3.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7679,7 +7679,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC3.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC3.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc3.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc3.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7727,7 +7727,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7757,7 +7757,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7787,7 +7787,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7861,7 +7861,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7891,7 +7891,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7921,7 +7921,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7951,7 +7951,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7981,7 +7981,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8011,7 +8011,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8041,7 +8041,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8071,7 +8071,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8111,7 +8111,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8141,7 +8141,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8171,7 +8171,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8263,7 +8263,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_RC3.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_rc3.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8296,7 +8296,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8326,7 +8326,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8373,7 +8373,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC3.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc3.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8382,7 +8382,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc3.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -8431,7 +8431,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8461,7 +8461,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8491,7 +8491,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8521,7 +8521,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8551,7 +8551,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8581,7 +8581,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8611,7 +8611,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8630,7 +8630,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_rc3.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8650,7 +8650,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8748,7 +8748,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8778,7 +8778,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8844,7 +8844,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8884,7 +8884,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8932,7 +8932,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8994,7 +8994,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9024,7 +9024,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9065,7 +9065,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9106,7 +9106,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC3.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9149,7 +9149,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9179,7 +9179,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9209,7 +9209,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -9218,7 +9218,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9251,7 +9251,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9281,7 +9281,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9311,7 +9311,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9350,7 +9350,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9461,7 +9461,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_rc3.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9491,7 +9491,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9541,7 +9541,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9625,7 +9625,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9655,7 +9655,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9685,7 +9685,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9771,7 +9771,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -9780,7 +9780,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9832,7 +9832,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_RC3.IFCPOLYLINE', 'IFC4X3_RC3.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc3.ifcpolyline', 'ifc4x3_rc3.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9900,7 +9900,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC3.IFCSHAPEREPRESENTATION', 'IFC4X3_RC3.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_RC3.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc3.ifcshaperepresentation', 'ifc4x3_rc3.ifcgeometricrepresentationitem', 'ifc4x3_rc3.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9910,7 +9910,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC3.IfcGeometricRepresentationItem', 'IFC4X3_RC3.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc3.ifcgeometricrepresentationitem', 'ifc4x3_rc3.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -9950,7 +9950,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_RC3.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_rc3.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9960,7 +9960,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC3.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -9978,7 +9978,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_RC3.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -10169,7 +10169,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10189,7 +10189,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10238,7 +10238,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10373,7 +10373,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10403,7 +10403,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10443,7 +10443,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10463,7 +10463,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10597,7 +10597,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_RC3.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_RC3.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_RC3.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_rc3.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_rc3.ifcplane' in typeof(basissurface)) or 'ifc4x3_rc3.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -10639,7 +10639,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -10680,7 +10680,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -10792,7 +10792,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC3.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_RC3.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc3.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_rc3.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -10801,7 +10801,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_RC3.IFCELEMENT', 'IFC4X3_RC3.IFCELEMENTTYPE', 'IFC4X3_RC3.IFCWINDOWSTYLE', 'IFC4X3_RC3.IFCDOORSTYLE', 'IFC4X3_RC3.IFCSTRUCTURALMEMBER', 'IFC4X3_RC3.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_rc3.ifcelement', 'ifc4x3_rc3.ifcelementtype', 'ifc4x3_rc3.ifcwindowstyle', 'ifc4x3_rc3.ifcdoorstyle', 'ifc4x3_rc3.ifcstructuralmember', 'ifc4x3_rc3.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10853,7 +10853,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc3.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10873,7 +10873,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC3.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc3.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10916,7 +10916,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC3.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_RC3.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc3.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_rc3.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10949,7 +10949,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_RC3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_RC3.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_RC3.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_rc3.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10969,7 +10969,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_RC3.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_rc3.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -11032,7 +11032,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11075,7 +11075,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11208,7 +11208,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11238,7 +11238,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11267,7 +11267,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_rc3.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -11277,7 +11277,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_RC3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_RC3.IFCVERTEXPOINT', 'IFC4X3_RC3.IFCEDGECURVE', 'IFC4X3_RC3.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_rc3.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_rc3.ifcvertexpoint', 'ifc4x3_rc3.ifcedgecurve', 'ifc4x3_rc3.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -11327,7 +11327,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11357,7 +11357,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11387,7 +11387,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11405,7 +11405,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11435,7 +11435,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11468,7 +11468,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11488,7 +11488,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11517,7 +11517,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_RC3.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC3.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_RC3.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_rc3.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc3.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_rc3.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11537,7 +11537,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11567,7 +11567,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11597,7 +11597,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11617,7 +11617,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11726,7 +11726,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC3.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_RC3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc3.ifcstructuralloadlinearforce', 'ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -11776,7 +11776,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC3.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_RC3.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc3.ifcstructuralloadplanarforce', 'ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -11794,7 +11794,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce', 'ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11803,7 +11803,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC3.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC3.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce', 'ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11863,7 +11863,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_rc3.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11872,7 +11872,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC3.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc3.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11915,7 +11915,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_rc3.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -11998,7 +11998,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc3.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12007,7 +12007,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc3.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12016,7 +12016,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc3.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12025,7 +12025,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc3.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -12034,7 +12034,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC3.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc3.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12077,7 +12077,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC3.IFCCONIC', 'IFC4X3_RC3.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc3.ifcconic', 'ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -12096,7 +12096,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_RC3.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_rc3.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_rc3.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12126,7 +12126,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12156,7 +12156,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12240,7 +12240,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12314,7 +12314,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12334,7 +12334,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12364,7 +12364,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12397,7 +12397,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_rc3.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12406,7 +12406,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_RC3.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_rc3.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12415,7 +12415,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC3.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc3.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12464,7 +12464,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12494,7 +12494,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12524,7 +12524,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12577,7 +12577,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_RC3.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_rc3.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -12597,7 +12597,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12635,7 +12635,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_RC3.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_rc3.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12687,7 +12687,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12717,7 +12717,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12747,7 +12747,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12791,7 +12791,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12821,7 +12821,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12861,7 +12861,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -12879,7 +12879,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC3.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC3.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC3.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc3.ifcrelassociates.relatedobjects') if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc3.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12909,7 +12909,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -12929,7 +12929,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindow_CorrectPredefinedType: SCOPE = 'entity' @@ -12949,7 +12949,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC3.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc3.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -12991,7 +12991,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC3.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC3.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc3.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc3.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13000,7 +13000,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC3.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC3.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc3.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc3.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13060,7 +13060,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_RC3.IFCZONE' in typeof(temp) or 'IFC4X3_RC3.IFCSPACE' in typeof(temp) or 'IFC4X3_RC3.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_rc3.ifczone' in typeof(temp) or 'ifc4x3_rc3.ifcspace' in typeof(temp) or 'ifc4x3_rc3.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13323,10 +13323,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_RC3.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_RC3.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_RC3.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_RC3.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_rc3.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_rc3.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_rc3.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_rc3.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13339,12 +13339,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_RC3.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_rc3.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_RC3.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_RC3.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_rc3.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_rc3.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_RC3.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_rc3.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13359,25 +13359,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC3.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc3.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -13388,13 +13388,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC3.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC3.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC3.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc3.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc3.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc3.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_RC3.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc3.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_RC3.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc3.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13415,37 +13415,37 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_RC3.IFCLINE' in typeof(curve): + if 'ifc4x3_rc3.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC3.IFCCONIC' in typeof(curve): + if 'ifc4x3_rc3.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC3.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_rc3.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC3.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_rc3.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_RC3.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_RC3.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_RC3.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_rc3.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC3.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC3.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_rc3.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_RC3.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_rc3.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_RC3.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_rc3.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_RC3.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_rc3.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_RC3.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3_RC3.IFCPCURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_RC3.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_rc3.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13571,13 +13571,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_RC3.IFCPCURVE' in typeof(c): + if 'ifc4x3_rc3.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_RC3.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_rc3.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_RC3.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_rc3.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -13635,7 +13635,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc3.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13656,7 +13656,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc3.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13681,9 +13681,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X3_RC3.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_rc3.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_RC3.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_rc3.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13733,7 +13733,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_RC3.IFCVECTOR' in typeof(vec): + if 'ifc4x3_rc3.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13762,68 +13762,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_RC3.IFCPOINT', 'IFC4X3_RC3.IFCCURVE', 'IFC4X3_RC3.IFCGEOMETRICCURVESET', 'IFC4X3_RC3.IFCANNOTATIONFILLAREA', 'IFC4X3_RC3.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC3.IFCPOINT' in typeof(temp) or 'IFC4X3_RC3.IFCCURVE' in typeof(temp) or ('IFC4X3_RC3.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_RC3.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC3.IFCPOINT' in typeof(temp) or ('IFC4X3_RC3.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_rc3.ifcpoint', 'ifc4x3_rc3.ifccurve', 'ifc4x3_rc3.ifcgeometriccurveset', 'ifc4x3_rc3.ifcannotationfillarea', 'ifc4x3_rc3.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc3.ifcpoint' in typeof(temp) or 'ifc4x3_rc3.ifccurve' in typeof(temp) or ('ifc4x3_rc3.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_rc3.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc3.ifcpoint' in typeof(temp) or ('ifc4x3_rc3.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_RC3.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_RC3.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_rc3.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_rc3.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCTESSELLATEDITEM', 'IFC4X3_RC3.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC3.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_RC3.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCTESSELLATEDITEM', 'IFC4X3_RC3.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC3.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCEXTRUDEDAREASOLID', 'IFC4X3_RC3.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_RC3.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_RC3.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCSWEPTAREASOLID', 'IFC4X3_RC3.IFCSWEPTDISKSOLID', 'IFC4X3_RC3.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCBOOLEANRESULT', 'IFC4X3_RC3.IFCCSGPRIMITIVE3D', 'IFC4X3_RC3.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC3.IFCCSGSOLID', 'IFC4X3_RC3.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifctessellateditem', 'ifc4x3_rc3.ifcshellbasedsurfacemodel', 'ifc4x3_rc3.ifcfacebasedsurfacemodel', 'ifc4x3_rc3.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifctessellateditem', 'ifc4x3_rc3.ifcshellbasedsurfacemodel', 'ifc4x3_rc3.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifcextrudedareasolid', 'ifc4x3_rc3.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_rc3.ifcextrudedareasolidtapered', 'ifc4x3_rc3.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifcsweptareasolid', 'ifc4x3_rc3.ifcsweptdisksolid', 'ifc4x3_rc3.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifcbooleanresult', 'ifc4x3_rc3.ifccsgprimitive3d', 'ifc4x3_rc3.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc3.ifccsgsolid', 'ifc4x3_rc3.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13840,12 +13840,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_RC3.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_RC3.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_rc3.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_rc3.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_RC3.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_rc3.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13853,17 +13853,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_RC3.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_RC3.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_rc3.ifcopenshell' in typeof(temp) or 'ifc4x3_rc3.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13875,9 +13875,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_RC3.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_rc3.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_RC3.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_rc3.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13894,7 +13894,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_RC3.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_rc3.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13916,13 +13916,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -13948,13 +13948,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc3.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC3.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc3.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py index 3373713ed5..89afa919b8 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py @@ -5420,7 +5420,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5449,7 +5449,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC4.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5459,7 +5459,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_RC4.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5468,7 +5468,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC4.IFCELEMENTARYSURFACE', 'IFC4X3_RC4.IFCSWEPTSURFACE', 'IFC4X3_RC4.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc4.ifcelementarysurface', 'ifc4x3_rc4.ifcsweptsurface', 'ifc4x3_rc4.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5477,7 +5477,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC4.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_RC4.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc4.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_rc4.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5486,7 +5486,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_RC4.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_RC4.IFCLINE', 'IFC4X3_RC4.IFCCONIC', 'IFC4X3_RC4.IFCPOLYLINE', 'IFC4X3_RC4.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_rc4.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_rc4.ifcline', 'ifc4x3_rc4.ifcconic', 'ifc4x3_rc4.ifcpolyline', 'ifc4x3_rc4.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5506,7 +5506,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5526,7 +5526,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5566,7 +5566,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5596,7 +5596,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5637,7 +5637,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc4.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5647,7 +5647,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_rc4.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5656,7 +5656,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_rc4.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5695,7 +5695,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_RC4.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc4.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -5763,7 +5763,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5801,7 +5801,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5833,7 +5833,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement2D_P(self): refdirection = express_getattr(self, 'RefDirection', INDETERMINATE) @@ -5897,7 +5897,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis2Placement3D_P(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5911,7 +5911,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_rc4.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6058,7 +6058,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6067,7 +6067,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6097,7 +6097,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6116,7 +6116,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBlobTexture_RasterCodeByteStream: SCOPE = 'entity' @@ -6146,7 +6146,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6166,7 +6166,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_RC4.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_RC4.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_RC4.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_rc4.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_rc4.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_rc4.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_SecondOperandType: SCOPE = 'entity' @@ -6176,7 +6176,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_RC4.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_rc4.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6207,7 +6207,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SecondOperandClosed: SCOPE = 'entity' @@ -6217,7 +6217,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6242,7 +6242,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_RC4.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_rc4.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6272,7 +6272,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6311,7 +6311,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6330,7 +6330,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6360,7 +6360,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6426,7 +6426,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6456,7 +6456,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6486,7 +6486,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6516,7 +6516,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6546,7 +6546,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6724,7 +6724,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6754,7 +6754,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6794,7 +6794,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6824,7 +6824,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -6833,7 +6833,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6863,7 +6863,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6966,7 +6966,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_RC4.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_rc4.ifcboundedcurve' in typeof(parentcurve)) is not False def calc_IfcCompositeCurveSegment_Dim(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) @@ -6990,7 +6990,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_RC4.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_rc4.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -7010,7 +7010,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7040,7 +7040,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7140,7 +7140,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7170,7 +7170,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7200,7 +7200,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7230,7 +7230,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7260,7 +7260,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7290,7 +7290,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7343,7 +7343,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7370,7 +7370,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_RC4.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_RC4.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_rc4.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_rc4.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyle_IdentifiableCurveStyle: SCOPE = 'entity' @@ -7412,7 +7412,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7432,7 +7432,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7492,7 +7492,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC4.IFCCONIC', 'IFC4X3_RC4.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc4.ifcconic', 'ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7512,7 +7512,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7542,7 +7542,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7572,7 +7572,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7613,7 +7613,7 @@ class IfcDoor_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoor_CorrectPredefinedType: SCOPE = 'entity' @@ -7633,7 +7633,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7686,7 +7686,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC4.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC4.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc4.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc4.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7695,7 +7695,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC4.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC4.IFCDOORSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc4.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc4.ifcdoorstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7743,7 +7743,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7773,7 +7773,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7803,7 +7803,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7877,7 +7877,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7907,7 +7907,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7937,7 +7937,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7967,7 +7967,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7997,7 +7997,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8027,7 +8027,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8057,7 +8057,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8087,7 +8087,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8127,7 +8127,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8157,7 +8157,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8187,7 +8187,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8279,7 +8279,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_RC4.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_rc4.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8312,7 +8312,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8342,7 +8342,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8389,7 +8389,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC4.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc4.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8398,7 +8398,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_RC4.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_rc4.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_ConsistentHatchStyleDef: SCOPE = 'entity' @@ -8447,7 +8447,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8477,7 +8477,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8507,7 +8507,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8537,7 +8537,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8567,7 +8567,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8597,7 +8597,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8627,7 +8627,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8646,7 +8646,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_rc4.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8666,7 +8666,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8764,7 +8764,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8794,7 +8794,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8860,7 +8860,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8900,7 +8900,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8948,7 +8948,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -9010,7 +9010,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9040,7 +9040,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9081,7 +9081,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9122,7 +9122,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC4.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9165,7 +9165,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9195,7 +9195,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9225,7 +9225,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberStandardCase_HasMaterialProfileSetUsage: SCOPE = 'entity' @@ -9234,7 +9234,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALPROFILESETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmaterialprofilesetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9267,7 +9267,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9297,7 +9297,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9327,7 +9327,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9366,7 +9366,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9477,7 +9477,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_rc4.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9507,7 +9507,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9557,7 +9557,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9641,7 +9641,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9671,7 +9671,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9701,7 +9701,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9787,7 +9787,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -9796,7 +9796,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9848,7 +9848,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_RC4.IFCPOLYLINE', 'IFC4X3_RC4.IFCCOMPOSITECURVE']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc4.ifcpolyline', 'ifc4x3_rc4.ifccompositecurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9916,7 +9916,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC4.IFCSHAPEREPRESENTATION', 'IFC4X3_RC4.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_RC4.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc4.ifcshaperepresentation', 'ifc4x3_rc4.ifcgeometricrepresentationitem', 'ifc4x3_rc4.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9926,7 +9926,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_RC4.IfcGeometricRepresentationItem', 'IFC4X3_RC4.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_rc4.ifcgeometricrepresentationitem', 'ifc4x3_rc4.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_HasName: SCOPE = 'entity' @@ -9966,7 +9966,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_RC4.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_rc4.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9976,7 +9976,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_RC4.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -9994,7 +9994,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_RC4.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_NoDecomposition: SCOPE = 'entity' @@ -10185,7 +10185,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10205,7 +10205,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10254,7 +10254,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10389,7 +10389,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10419,7 +10419,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10459,7 +10459,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10479,7 +10479,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10613,7 +10613,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_RC4.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_RC4.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_RC4.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_rc4.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_rc4.ifcplane' in typeof(basissurface)) or 'ifc4x3_rc4.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_VsenseCompatible: SCOPE = 'entity' @@ -10655,7 +10655,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_CorrectPredefinedType: SCOPE = 'entity' @@ -10696,7 +10696,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_CorrectPredefinedType: SCOPE = 'entity' @@ -10808,7 +10808,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC4.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_RC4.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc4.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_rc4.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelAssociatesMaterial_AllowedElements: SCOPE = 'entity' @@ -10817,7 +10817,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_RC4.IFCELEMENT', 'IFC4X3_RC4.IFCELEMENTTYPE', 'IFC4X3_RC4.IFCWINDOWSTYLE', 'IFC4X3_RC4.IFCDOORSTYLE', 'IFC4X3_RC4.IFCSTRUCTURALMEMBER', 'IFC4X3_RC4.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_rc4.ifcelement', 'ifc4x3_rc4.ifcelementtype', 'ifc4x3_rc4.ifcwindowstyle', 'ifc4x3_rc4.ifcdoorstyle', 'ifc4x3_rc4.ifcstructuralmember', 'ifc4x3_rc4.ifcport']) == 0]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10869,7 +10869,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc4.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10889,7 +10889,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_RC4.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_rc4.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10932,7 +10932,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_RC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_RC4.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc4.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_rc4.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10965,7 +10965,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_RC4.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_RC4.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_RC4.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_rc4.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10985,7 +10985,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_RC4.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_rc4.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisStartInXY: SCOPE = 'entity' @@ -11048,7 +11048,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11091,7 +11091,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11224,7 +11224,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11254,7 +11254,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11283,7 +11283,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_rc4.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_NoTopologicalItem: SCOPE = 'entity' @@ -11293,7 +11293,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_RC4.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_RC4.IFCVERTEXPOINT', 'IFC4X3_RC4.IFCEDGECURVE', 'IFC4X3_RC4.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_rc4.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_rc4.ifcvertexpoint', 'ifc4x3_rc4.ifcedgecurve', 'ifc4x3_rc4.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False class IfcShapeRepresentation_HasRepresentationType: SCOPE = 'entity' @@ -11343,7 +11343,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11373,7 +11373,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11403,7 +11403,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabElementedCase_HasDecomposition: SCOPE = 'entity' @@ -11421,7 +11421,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11451,7 +11451,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11484,7 +11484,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11504,7 +11504,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11533,7 +11533,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_RC4.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC4.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_RC4.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_rc4.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc4.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_rc4.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11553,7 +11553,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11583,7 +11583,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11613,7 +11613,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11633,7 +11633,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11742,7 +11742,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC4.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_RC4.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc4.ifcstructuralloadlinearforce', 'ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLinearAction_ConstPredefinedType: SCOPE = 'entity' @@ -11792,7 +11792,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC4.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_RC4.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc4.ifcstructuralloadplanarforce', 'ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPlanarAction_ConstPredefinedType: SCOPE = 'entity' @@ -11810,7 +11810,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC4.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC4.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce', 'ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11819,7 +11819,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_RC4.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_RC4.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce', 'ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11879,7 +11879,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_rc4.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11888,7 +11888,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC4.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc4.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11931,7 +11931,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_rc4.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -12014,7 +12014,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc4.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12023,7 +12023,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc4.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12032,7 +12032,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc4.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12041,7 +12041,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc4.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneExtDefined: SCOPE = 'entity' @@ -12050,7 +12050,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_RC4.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_rc4.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12093,7 +12093,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_RC4.IFCCONIC', 'IFC4X3_RC4.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_rc4.ifcconic', 'ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolidPolygonal_CorrectRadii: SCOPE = 'entity' @@ -12112,7 +12112,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_RC4.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_rc4.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_rc4.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12142,7 +12142,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12172,7 +12172,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12256,7 +12256,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12330,7 +12330,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12350,7 +12350,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12380,7 +12380,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12413,7 +12413,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_rc4.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12422,7 +12422,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_RC4.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_rc4.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12431,7 +12431,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_RC4.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_rc4.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12480,7 +12480,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12510,7 +12510,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTRANFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctranformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12540,7 +12540,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12593,7 +12593,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_RC4.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_rc4.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTubeBundle_CorrectPredefinedType: SCOPE = 'entity' @@ -12613,7 +12613,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12651,7 +12651,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_RC4.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_rc4.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12703,7 +12703,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12733,7 +12733,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12763,7 +12763,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12807,7 +12807,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12837,7 +12837,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12877,7 +12877,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallElementedCase_HasDecomposition: SCOPE = 'entity' @@ -12895,7 +12895,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_RC4.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_RC4.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_RC4.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_rc4.ifcrelassociates.relatedobjects') if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_rc4.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12925,7 +12925,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -12945,7 +12945,7 @@ class IfcWindow_CorrectStyleAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindow_CorrectPredefinedType: SCOPE = 'entity' @@ -12965,7 +12965,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_RC4.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_rc4.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -13007,7 +13007,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC4.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC4.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc4.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc4.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13016,7 +13016,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_RC4.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'IFC4X3_RC4.IFCWINDOWSTYLE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_rc4.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or 'ifc4x3_rc4.ifcwindowstyle' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13076,7 +13076,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_RC4.IFCZONE' in typeof(temp) or 'IFC4X3_RC4.IFCSPACE' in typeof(temp) or 'IFC4X3_RC4.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_rc4.ifczone' in typeof(temp) or 'ifc4x3_rc4.ifcspace' in typeof(temp) or 'ifc4x3_rc4.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13339,10 +13339,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_RC4.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_RC4.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_RC4.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_RC4.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_rc4.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_rc4.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_rc4.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_rc4.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13355,12 +13355,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_RC4.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_rc4.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_RC4.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_RC4.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_rc4.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_rc4.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_RC4.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_rc4.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13375,25 +13375,25 @@ def IfcCorrectObjectAssignment(constraint, objects): if constraint == express_getattr(IfcObjectTypeEnum, 'NOTDEFINED', INDETERMINATE): return True elif constraint == express_getattr(IfcObjectTypeEnum, 'PRODUCT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCPRODUCT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcproduct' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROCESS', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCPROCESS' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcprocess' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'CONTROL', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCCONTROL' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifccontrol' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'RESOURCE', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCRESOURCE' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcresource' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'ACTOR', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCACTOR' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcactor' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'GROUP', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCGROUP' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcgroup' in typeof(temp)]) return count == 0 elif constraint == express_getattr(IfcObjectTypeEnum, 'PROJECT', INDETERMINATE): - count = sizeof([temp for temp in objects if not 'IFC4X3_RC4.IFCPROJECT' in typeof(temp)]) + count = sizeof([temp for temp in objects if not 'ifc4x3_rc4.ifcproject' in typeof(temp)]) return count == 0 else: return None @@ -13404,13 +13404,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC4.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC4.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_RC4.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc4.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc4.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_rc4.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_RC4.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc4.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_RC4.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_rc4.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13431,37 +13431,37 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_RC4.IFCLINE' in typeof(curve): + if 'ifc4x3_rc4.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC4.IFCCONIC' in typeof(curve): + if 'ifc4x3_rc4.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC4.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_rc4.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC4.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_rc4.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_RC4.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_RC4.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_RC4.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_rc4.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC4.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_RC4.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_rc4.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_RC4.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_rc4.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_RC4.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_rc4.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_RC4.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_rc4.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_RC4.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3_RC4.IFCPCURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_RC4.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_rc4.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13587,13 +13587,13 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_RC4.IFCPCURVE' in typeof(c): + if 'ifc4x3_rc4.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_RC4.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_rc4.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_RC4.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_rc4.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: @@ -13651,7 +13651,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc4.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13672,7 +13672,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg): + if 'ifc4x3_rc4.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13697,9 +13697,9 @@ def IfcPathHeadToTail(apath): return p def IfcPointListDim(pointlist): - if 'IFC4X3_RC4.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_rc4.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_RC4.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_rc4.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13749,7 +13749,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_RC4.IFCVECTOR' in typeof(vec): + if 'ifc4x3_rc4.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13778,68 +13778,68 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_RC4.IFCPOINT', 'IFC4X3_RC4.IFCCURVE', 'IFC4X3_RC4.IFCGEOMETRICCURVESET', 'IFC4X3_RC4.IFCANNOTATIONFILLAREA', 'IFC4X3_RC4.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC4.IFCPOINT' in typeof(temp) or 'IFC4X3_RC4.IFCCURVE' in typeof(temp) or ('IFC4X3_RC4.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_RC4.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_RC4.IFCPOINT' in typeof(temp) or ('IFC4X3_RC4.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_rc4.ifcpoint', 'ifc4x3_rc4.ifccurve', 'ifc4x3_rc4.ifcgeometriccurveset', 'ifc4x3_rc4.ifcannotationfillarea', 'ifc4x3_rc4.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc4.ifcpoint' in typeof(temp) or 'ifc4x3_rc4.ifccurve' in typeof(temp) or ('ifc4x3_rc4.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_rc4.ifcgeometricset' in typeof(temp) or 'ifc4x3_rc4.ifcpoint' in typeof(temp) or ('ifc4x3_rc4.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_RC4.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_RC4.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_rc4.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_rc4.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCTESSELLATEDITEM', 'IFC4X3_RC4.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC4.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_RC4.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCTESSELLATEDITEM', 'IFC4X3_RC4.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_RC4.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCEXTRUDEDAREASOLID', 'IFC4X3_RC4.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_RC4.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_RC4.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCSWEPTAREASOLID', 'IFC4X3_RC4.IFCSWEPTDISKSOLID', 'IFC4X3_RC4.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCBOOLEANRESULT', 'IFC4X3_RC4.IFCCSGPRIMITIVE3D', 'IFC4X3_RC4.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_RC4.IFCCSGSOLID', 'IFC4X3_RC4.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifctessellateditem', 'ifc4x3_rc4.ifcshellbasedsurfacemodel', 'ifc4x3_rc4.ifcfacebasedsurfacemodel', 'ifc4x3_rc4.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifctessellateditem', 'ifc4x3_rc4.ifcshellbasedsurfacemodel', 'ifc4x3_rc4.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifcextrudedareasolid', 'ifc4x3_rc4.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_rc4.ifcextrudedareasolidtapered', 'ifc4x3_rc4.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifcsweptareasolid', 'ifc4x3_rc4.ifcsweptdisksolid', 'ifc4x3_rc4.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifcbooleanresult', 'ifc4x3_rc4.ifccsgprimitive3d', 'ifc4x3_rc4.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_rc4.ifccsgsolid', 'ifc4x3_rc4.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13856,12 +13856,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_RC4.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_RC4.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_rc4.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_rc4.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_RC4.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_rc4.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13869,17 +13869,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_RC4.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_RC4.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_rc4.ifcopenshell' in typeof(temp) or 'ifc4x3_rc4.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13891,9 +13891,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_RC4.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_rc4.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_RC4.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_rc4.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13910,7 +13910,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_RC4.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_rc4.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13932,13 +13932,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc4.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc4.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -13964,13 +13964,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_rc4.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_RC4.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_rc4.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py index aa0fa20a31..c9d106e350 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py @@ -5377,7 +5377,7 @@ class IfcActuator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCACTUATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcactuatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcActuatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -5406,7 +5406,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: @staticmethod def __call__(self): - assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'IFC4X3_TC1.IFCADVANCEDFACE' in typeof(afs)]) == 0) is not False + assert (sizeof([afs for afs in express_getattr(express_getattr(self, 'Outer', INDETERMINATE), 'CfsFaces', INDETERMINATE) if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)]) == 0) is not False class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: SCOPE = 'entity' @@ -5416,7 +5416,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: @staticmethod def __call__(self): voids = express_getattr(self, 'Voids', INDETERMINATE) - assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'IFC4X3_TC1.IFCADVANCEDFACE' in typeof(afs)]) == 0]) == 0) is not False + assert (sizeof([vsh for vsh in voids if sizeof([afs for afs in express_getattr(vsh, 'CfsFaces', INDETERMINATE) if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableEdgeCurves: SCOPE = 'entity' @@ -5425,7 +5425,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_TC1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['IFC4X3_TC1.IFCLINE', 'IFC4X3_TC1.IFCCONIC', 'IFC4X3_TC1.IFCPOLYLINE', 'IFC4X3_TC1.IFCBSPLINECURVE'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_tc1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not sizeof(['ifc4x3_tc1.ifcline', 'ifc4x3_tc1.ifcconic', 'ifc4x3_tc1.ifcpolyline', 'ifc4x3_tc1.ifcbsplinecurve'] * typeof(express_getattr(express_getattr(oe, 'EdgeElement', INDETERMINATE), 'EdgeGeometry', INDETERMINATE))) == 1]) == 0]) == 0) is not False class IfcAdvancedFace_ApplicableSurface: SCOPE = 'entity' @@ -5434,7 +5434,7 @@ class IfcAdvancedFace_ApplicableSurface: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_TC1.IFCELEMENTARYSURFACE', 'IFC4X3_TC1.IFCSWEPTSURFACE', 'IFC4X3_TC1.IFCBSPLINESURFACE'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_tc1.ifcelementarysurface', 'ifc4x3_tc1.ifcsweptsurface', 'ifc4x3_tc1.ifcbsplinesurface'] * typeof(express_getattr(self, 'FaceSurface', INDETERMINATE))) == 1) is not False class IfcAdvancedFace_RequiresEdgeCurve: SCOPE = 'entity' @@ -5443,7 +5443,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: @staticmethod def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'IFC4X3_TC1.IFCEDGELOOP' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'IFC4X3_TC1.IFCEDGECURVE' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False + assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in express_getattr(self, 'Bounds', INDETERMINATE) if 'ifc4x3_tc1.ifcedgeloop' in typeof(express_getattr(bnds, 'Bound', INDETERMINATE))] if not sizeof([oe for oe in express_getattr(express_getattr(elpfbnds, 'Bound', INDETERMINATE), 'EdgeList', INDETERMINATE) if not 'ifc4x3_tc1.ifcedgecurve' in typeof(express_getattr(oe, 'EdgeElement', INDETERMINATE))]) == 0]) == 0) is not False class IfcAirTerminal_CorrectPredefinedType: SCOPE = 'entity' @@ -5463,7 +5463,7 @@ class IfcAirTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCAIRTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcairterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBox_CorrectPredefinedType: SCOPE = 'entity' @@ -5483,7 +5483,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCAIRTERMINALBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcairterminalboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirTerminalBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -5523,7 +5523,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCAIRTOAIRHEATRECOVERYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcairtoairheatrecoverytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: SCOPE = 'entity' @@ -5553,7 +5553,7 @@ class IfcAlarm_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCALARMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcalarmtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAlarmType_CorrectPredefinedType: SCOPE = 'entity' @@ -5594,7 +5594,7 @@ class IfcArbitraryClosedProfileDef_WR2: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCLINE' in typeof(outercurve)) is not False + assert (not 'ifc4x3_tc1.ifcline' in typeof(outercurve)) is not False class IfcArbitraryClosedProfileDef_WR3: SCOPE = 'entity' @@ -5604,7 +5604,7 @@ class IfcArbitraryClosedProfileDef_WR3: @staticmethod def __call__(self): outercurve = express_getattr(self, 'OuterCurve', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCOFFSETCURVE2D' in typeof(outercurve)) is not False + assert (not 'ifc4x3_tc1.ifcoffsetcurve2d' in typeof(outercurve)) is not False class IfcArbitraryOpenProfileDef_WR11: SCOPE = 'entity' @@ -5613,7 +5613,7 @@ class IfcArbitraryOpenProfileDef_WR11: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCCENTERLINEPROFILEDEF' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False + assert ('ifc4x3_tc1.ifccenterlineprofiledef' in typeof(self) or express_getattr(self, 'ProfileType', INDETERMINATE) == express_getattr(IfcProfileTypeEnum, 'CURVE', INDETERMINATE)) is not False class IfcArbitraryOpenProfileDef_WR12: SCOPE = 'entity' @@ -5652,7 +5652,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: @staticmethod def __call__(self): innercurves = express_getattr(self, 'InnerCurves', INDETERMINATE) - assert (sizeof([temp for temp in innercurves if 'IFC4X3_TC1.IFCLINE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in innercurves if 'ifc4x3_tc1.ifcline' in typeof(temp)]) == 0) is not False class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: SCOPE = 'entity' @@ -5720,7 +5720,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCAUDIOVISUALAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcaudiovisualappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcAudioVisualApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -5758,7 +5758,7 @@ class IfcAxis1Placement_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False def calc_IfcAxis1Placement_Z(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -5780,7 +5780,7 @@ class IfcAxis2Placement2D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement2D_RefDirIs2D: SCOPE = 'entity' @@ -5844,7 +5844,7 @@ class IfcAxis2Placement3D_LocationIsCP: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCCARTESIANPOINT' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2Placement3D_RefDirIs3D: SCOPE = 'entity' @@ -5868,7 +5868,7 @@ class IfcAxis2PlacementLinear_WR1: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCPOINTBYDISTANCEEXPRESSION' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False + assert ('ifc4x3_tc1.ifcpointbydistanceexpression' in typeof(express_getattr(self, 'Location', INDETERMINATE))) is not False class IfcAxis2PlacementLinear_WR2: SCOPE = 'entity' @@ -6015,7 +6015,7 @@ class IfcBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -6045,7 +6045,7 @@ class IfcBearing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBEARINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcbearingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBearingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6074,7 +6074,7 @@ class IfcBlobTexture_SupportedRasterFormat: @staticmethod def __call__(self): - assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['BMP', 'JPG', 'GIF', 'PNG']) is not False + assert (express_getattr(express_getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False class IfcBoiler_CorrectPredefinedType: SCOPE = 'entity' @@ -6094,7 +6094,7 @@ class IfcBoiler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBOILERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcboilertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBoilerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6114,7 +6114,7 @@ class IfcBooleanClippingResult_FirstOperandType: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert ('IFC4X3_TC1.IFCSWEPTAREASOLID' in typeof(firstoperand) or 'IFC4X3_TC1.IFCSWEPTDISCSOLID' in typeof(firstoperand) or 'IFC4X3_TC1.IFCBOOLEANCLIPPINGRESULT' in typeof(firstoperand)) is not False + assert ('ifc4x3_tc1.ifcsweptareasolid' in typeof(firstoperand) or 'ifc4x3_tc1.ifcsweptdiscsolid' in typeof(firstoperand) or 'ifc4x3_tc1.ifcbooleanclippingresult' in typeof(firstoperand)) is not False class IfcBooleanClippingResult_OperatorType: SCOPE = 'entity' @@ -6134,7 +6134,7 @@ class IfcBooleanClippingResult_SecondOperandType: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert ('IFC4X3_TC1.IFCHALFSPACESOLID' in typeof(secondoperand)) is not False + assert ('ifc4x3_tc1.ifchalfspacesolid' in typeof(secondoperand)) is not False class IfcBooleanResult_FirstOperandClosed: SCOPE = 'entity' @@ -6144,7 +6144,7 @@ class IfcBooleanResult_FirstOperandClosed: @staticmethod def __call__(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCTESSELLATEDFACESET' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(firstoperand) or (exists(express_getattr(firstoperand, 'Closed', INDETERMINATE)) and express_getattr(firstoperand, 'Closed', INDETERMINATE))) is not False class IfcBooleanResult_SameDim: SCOPE = 'entity' @@ -6165,7 +6165,7 @@ class IfcBooleanResult_SecondOperandClosed: @staticmethod def __call__(self): secondoperand = express_getattr(self, 'SecondOperand', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCTESSELLATEDFACESET' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False + assert (not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(secondoperand) or (exists(express_getattr(secondoperand, 'Closed', INDETERMINATE)) and express_getattr(secondoperand, 'Closed', INDETERMINATE))) is not False def calc_IfcBooleanResult_Dim(self): firstoperand = express_getattr(self, 'FirstOperand', INDETERMINATE) @@ -6190,7 +6190,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: @staticmethod def __call__(self): - assert (not 'IFC4X3_TC1.IFCCURVEBOUNDEDPLANE' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False + assert (not 'ifc4x3_tc1.ifccurveboundedplane' in typeof(express_getattr(self, 'BaseSurface', INDETERMINATE))) is not False class IfcBridge_CorrectPredefinedType: SCOPE = 'entity' @@ -6230,7 +6230,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBUILDINGELEMENTPARTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcbuildingelementparttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementPartType_CorrectPredefinedType: SCOPE = 'entity' @@ -6260,7 +6260,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBUILDINGELEMENTPROXYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcbuildingelementproxytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBuildingElementProxy_HasObjectName: SCOPE = 'entity' @@ -6298,7 +6298,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'IFC4X3_TC1.IFCRELASSOCIATESMATERIAL' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in express_getattr(self, 'HasAssociations', INDETERMINATE) if 'ifc4x3_tc1.ifcrelassociatesmaterial' in typeof(temp)]) <= 1) is not False class IfcBuiltSystem_CorrectPredefinedType: SCOPE = 'entity' @@ -6328,7 +6328,7 @@ class IfcBurner_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCBURNERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcburnertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcBurnerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6394,7 +6394,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCABLECARRIERFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccablecarrierfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6424,7 +6424,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCABLECARRIERSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccablecarriersegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableCarrierSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6454,7 +6454,7 @@ class IfcCableFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCABLEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccablefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -6484,7 +6484,7 @@ class IfcCableSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCABLESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccablesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCableSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -6514,7 +6514,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCAISSONFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccaissonfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCaissonFoundationType_CorrectPredefinedType: SCOPE = 'entity' @@ -6688,7 +6688,7 @@ class IfcChiller_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCHILLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcchillertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChillerType_CorrectPredefinedType: SCOPE = 'entity' @@ -6718,7 +6718,7 @@ class IfcChimney_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCHIMNEYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcchimneytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcChimneyType_CorrectPredefinedType: SCOPE = 'entity' @@ -6758,7 +6758,7 @@ class IfcCoil_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccoiltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoilType_CorrectPredefinedType: SCOPE = 'entity' @@ -6788,7 +6788,7 @@ class IfcColumn_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOLUMNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccolumntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcColumnType_CorrectPredefinedType: SCOPE = 'entity' @@ -6818,7 +6818,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -6921,7 +6921,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: @staticmethod def __call__(self): parentcurve = express_getattr(self, 'ParentCurve', INDETERMINATE) - assert ('IFC4X3_TC1.IFCBOUNDEDCURVE' in typeof(parentcurve)) is not False + assert ('ifc4x3_tc1.ifcboundedcurve' in typeof(parentcurve)) is not False class IfcCompositeProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -6941,7 +6941,7 @@ class IfcCompositeProfileDef_NoRecursion: @staticmethod def __call__(self): profiles = express_getattr(self, 'Profiles', INDETERMINATE) - assert (sizeof([temp for temp in profiles if 'IFC4X3_TC1.IFCCOMPOSITEPROFILEDEF' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in profiles if 'ifc4x3_tc1.ifccompositeprofiledef' in typeof(temp)]) == 0) is not False class IfcCompressor_CorrectPredefinedType: SCOPE = 'entity' @@ -6961,7 +6961,7 @@ class IfcCompressor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOMPRESSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccompressortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCompressorType_CorrectPredefinedType: SCOPE = 'entity' @@ -6991,7 +6991,7 @@ class IfcCondenser_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCONDENSERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccondensertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCondenserType_CorrectPredefinedType: SCOPE = 'entity' @@ -7091,7 +7091,7 @@ class IfcController_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCONTROLLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccontrollertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcControllerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7121,7 +7121,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCONVEYORSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcconveyorsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcConveyorSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7151,7 +7151,7 @@ class IfcCooledBeam_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOOLEDBEAMTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccooledbeamtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCooledBeamType_CorrectPredefinedType: SCOPE = 'entity' @@ -7181,7 +7181,7 @@ class IfcCoolingTower_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOOLINGTOWERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccoolingtowertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoolingTowerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7211,7 +7211,7 @@ class IfcCourse_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOURSETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccoursetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCourseType_CorrectPredefinedType: SCOPE = 'entity' @@ -7241,7 +7241,7 @@ class IfcCovering_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCOVERINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccoveringtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCoveringType_CorrectPredefinedType: SCOPE = 'entity' @@ -7294,7 +7294,7 @@ class IfcCurtainWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCCURTAINWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifccurtainwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcCurtainWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -7329,7 +7329,7 @@ class IfcCurveStyle_MeasureOfWidth: @staticmethod def __call__(self): curvewidth = express_getattr(self, 'CurveWidth', INDETERMINATE) - assert (not exists(curvewidth) or 'IFC4X3_TC1.IFCPOSITIVELENGTHMEASURE' in typeof(curvewidth) or ('IFC4X3_TC1.IFCDESCRIPTIVEMEASURE' in typeof(curvewidth) and curvewidth == 'by layer')) is not False + assert (not exists(curvewidth) or 'ifc4x3_tc1.ifcpositivelengthmeasure' in typeof(curvewidth) or ('ifc4x3_tc1.ifcdescriptivemeasure' in typeof(curvewidth) and curvewidth == 'by layer')) is not False class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: SCOPE = 'entity' @@ -7359,7 +7359,7 @@ class IfcDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -7379,7 +7379,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDEEPFOUNDATIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdeepfoundationtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDerivedProfileDef_InvariantProfileType: SCOPE = 'entity' @@ -7439,7 +7439,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_TC1.IFCCONIC', 'IFC4X3_TC1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_tc1.ifcconic', 'ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcDiscreteAccessory_CorrectPredefinedType: SCOPE = 'entity' @@ -7459,7 +7459,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDISCRETEACCESSORYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdiscreteaccessorytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDiscreteAccessoryType_CorrectPredefinedType: SCOPE = 'entity' @@ -7489,7 +7489,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7519,7 +7519,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDISTRIBUTIONCHAMBERELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdistributionchamberelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDistributionChamberElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -7570,7 +7570,7 @@ class IfcDoor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDOORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcdoortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDoorLiningProperties_WR31: SCOPE = 'entity' @@ -7623,7 +7623,7 @@ class IfcDoorLiningProperties_WR35: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_TC1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_tc1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -7632,7 +7632,7 @@ class IfcDoorPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_TC1.IFCDOORTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_tc1.ifcdoortype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcDoorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7680,7 +7680,7 @@ class IfcDuctFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDUCTFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcductfittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -7710,7 +7710,7 @@ class IfcDuctSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDUCTSEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcductsegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -7740,7 +7740,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCDUCTSILENCERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcductsilencertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcDuctSilencerType_CorrectPredefinedType: SCOPE = 'entity' @@ -7814,7 +7814,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7844,7 +7844,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICDISTRIBUTIONBOARDTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricdistributionboardtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricDistributionBoardType_CorrectPredefinedType: SCOPE = 'entity' @@ -7874,7 +7874,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICFLOWSTORAGEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricflowstoragedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7904,7 +7904,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICFLOWTREATMENTDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricflowtreatmentdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -7934,7 +7934,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICGENERATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricgeneratortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricGeneratorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7964,7 +7964,7 @@ class IfcElectricMotor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICMOTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectricmotortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricMotorType_CorrectPredefinedType: SCOPE = 'entity' @@ -7994,7 +7994,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELECTRICTIMECONTROLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelectrictimecontroltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElectricTimeControlType_CorrectPredefinedType: SCOPE = 'entity' @@ -8024,7 +8024,7 @@ class IfcElementAssembly_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCELEMENTASSEMBLYTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcelementassemblytype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcElementAssemblyType_CorrectPredefinedType: SCOPE = 'entity' @@ -8064,7 +8064,7 @@ class IfcEngine_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCENGINETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcenginetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEngineType_CorrectPredefinedType: SCOPE = 'entity' @@ -8094,7 +8094,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCEVAPORATIVECOOLERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcevaporativecoolertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporativeCoolerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8124,7 +8124,7 @@ class IfcEvaporator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCEVAPORATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcevaporatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcEvaporatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8216,7 +8216,7 @@ class IfcFace_HasOuterBound: @staticmethod def __call__(self): bounds = express_getattr(self, 'Bounds', INDETERMINATE) - assert (sizeof([temp for temp in bounds if 'IFC4X3_TC1.IFCFACEOUTERBOUND' in typeof(temp)]) <= 1) is not False + assert (sizeof([temp for temp in bounds if 'ifc4x3_tc1.ifcfaceouterbound' in typeof(temp)]) <= 1) is not False def calc_IfcFaceBasedSurfaceModel_Dim(self): return 3 @@ -8249,7 +8249,7 @@ class IfcFan_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFANTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfantype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFanType_CorrectPredefinedType: SCOPE = 'entity' @@ -8279,7 +8279,7 @@ class IfcFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8335,7 +8335,7 @@ class IfcFillAreaStyle_MaxOneColour: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_TC1.IFCCOLOUR' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_tc1.ifccolour' in typeof(style)]) <= 1) is not False class IfcFillAreaStyle_MaxOneExtHatchStyle: SCOPE = 'entity' @@ -8344,7 +8344,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'IFC4X3_TC1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'FillStyles', INDETERMINATE) if 'ifc4x3_tc1.ifcexternallydefinedhatchstyle' in typeof(style)]) <= 1) is not False class IfcFillAreaStyleHatching_PatternStart2D: SCOPE = 'entity' @@ -8384,7 +8384,7 @@ class IfcFilter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFILTERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfiltertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFilterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8414,7 +8414,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFIRESUPPRESSIONTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfiresuppressionterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFireSuppressionTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -8444,7 +8444,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFLOWINSTRUMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcflowinstrumenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowInstrumentType_CorrectPredefinedType: SCOPE = 'entity' @@ -8474,7 +8474,7 @@ class IfcFlowMeter_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFLOWMETERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcflowmetertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFlowMeterType_CorrectPredefinedType: SCOPE = 'entity' @@ -8504,7 +8504,7 @@ class IfcFooting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFOOTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfootingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFootingType_CorrectPredefinedType: SCOPE = 'entity' @@ -8534,7 +8534,7 @@ class IfcFurniture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCFURNITURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcfurnituretype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcFurnitureType_CorrectPredefinedType: SCOPE = 'entity' @@ -8564,7 +8564,7 @@ class IfcGeographicElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCGEOGRAPHICELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcgeographicelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcGeographicElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -8583,7 +8583,7 @@ class IfcGeometricCurveSet_NoSurfaces: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACE' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Elements', INDETERMINATE) if 'ifc4x3_tc1.ifcsurface' in typeof(temp)]) == 0) is not False class IfcGeometricRepresentationContext_North2D: SCOPE = 'entity' @@ -8612,7 +8612,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: @staticmethod def __call__(self): parentcontext = express_getattr(self, 'ParentContext', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(parentcontext)) is not False + assert (not 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False class IfcGeometricRepresentationSubContext_UserTargetProvided: SCOPE = 'entity' @@ -8708,7 +8708,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCHEATEXCHANGERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcheatexchangertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHeatExchangerType_CorrectPredefinedType: SCOPE = 'entity' @@ -8738,7 +8738,7 @@ class IfcHumidifier_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCHUMIDIFIERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifchumidifiertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcHumidifierType_CorrectPredefinedType: SCOPE = 'entity' @@ -8804,7 +8804,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCIMPACTPROTECTIONDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcimpactprotectiondevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcImpactProtectionDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -8844,7 +8844,7 @@ class IfcInterceptor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCINTERCEPTORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcinterceptortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcInterceptorType_CorrectPredefinedType: SCOPE = 'entity' @@ -8892,7 +8892,7 @@ class IfcJunctionBox_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCJUNCTIONBOXTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcjunctionboxtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcJunctionBoxType_CorrectPredefinedType: SCOPE = 'entity' @@ -8922,7 +8922,7 @@ class IfcKerb_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCKERBTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifckerbtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcKerbType_CorrectPredefinedType: SCOPE = 'entity' @@ -8984,7 +8984,7 @@ class IfcLamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCLAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifclamptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLampType_CorrectPredefinedType: SCOPE = 'entity' @@ -9014,7 +9014,7 @@ class IfcLightFixture_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCLIGHTFIXTURETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifclightfixturetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLightFixtureType_CorrectPredefinedType: SCOPE = 'entity' @@ -9055,7 +9055,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCLIQUIDTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcliquidterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcLiquidTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -9106,7 +9106,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_TC1.IFCSTYLEDREPRESENTATION' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcstyledrepresentation' in typeof(temp)]) == 0) is not False class IfcMaterialLayer_NormalizedPriority: SCOPE = 'entity' @@ -9149,7 +9149,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMECHANICALFASTENERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmechanicalfastenertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMechanicalFastenerType_CorrectPredefinedType: SCOPE = 'entity' @@ -9179,7 +9179,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMEDICALDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmedicaldevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMedicalDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9209,7 +9209,7 @@ class IfcMember_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMEMBERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmembertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMemberType_CorrectPredefinedType: SCOPE = 'entity' @@ -9242,7 +9242,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmobiletelecommunicationsappliancetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9272,7 +9272,7 @@ class IfcMooringDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMOORINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmooringdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMooringDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -9302,7 +9302,7 @@ class IfcMotorConnection_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCMOTORCONNECTIONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcmotorconnectiontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcMotorConnectionType_CorrectPredefinedType: SCOPE = 'entity' @@ -9341,7 +9341,7 @@ class IfcNavigationElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCNAVIGATIONELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcnavigationelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcNavigationElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9452,7 +9452,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: @staticmethod def __call__(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCORIENTEDEDGE' in typeof(edgeelement)) is not False + assert (not 'ifc4x3_tc1.ifcorientededge' in typeof(edgeelement)) is not False def calc_IfcOrientedEdge_EdgeStart(self): edgeelement = express_getattr(self, 'EdgeElement', INDETERMINATE) @@ -9482,7 +9482,7 @@ class IfcOutlet_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCOUTLETTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcoutlettype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcOutletType_CorrectPredefinedType: SCOPE = 'entity' @@ -9532,7 +9532,7 @@ class IfcPavement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPAVEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcpavementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPavementType_CorrectPredefinedType: SCOPE = 'entity' @@ -9616,7 +9616,7 @@ class IfcPile_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPILETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcpiletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPileType_CorrectPredefinedType: SCOPE = 'entity' @@ -9646,7 +9646,7 @@ class IfcPipeFitting_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPIPEFITTINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcpipefittingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeFittingType_CorrectPredefinedType: SCOPE = 'entity' @@ -9676,7 +9676,7 @@ class IfcPipeSegment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPIPESEGMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcpipesegmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPipeSegmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -9762,7 +9762,7 @@ class IfcPlate_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPLATETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcplatetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPlateType_CorrectPredefinedType: SCOPE = 'entity' @@ -9805,7 +9805,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: @staticmethod def __call__(self): polygonalboundary = express_getattr(self, 'PolygonalBoundary', INDETERMINATE) - assert (sizeof(typeof(polygonalboundary) * ['IFC4X3_TC1.IfcPolyline', 'IFC4X3_TC1.IfcCompositeCurve', 'IFC4X3_TC1.IfcIndexedPolyCurve']) == 1) is not False + assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_tc1.ifcpolyline', 'ifc4x3_tc1.ifccompositecurve', 'ifc4x3_tc1.ifcindexedpolycurve']) == 1) is not False class IfcPolyline_SameDim: SCOPE = 'entity' @@ -9873,7 +9873,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_TC1.IFCSHAPEREPRESENTATION', 'IFC4X3_TC1.IFCGEOMETRICREPRESENTATIONITEM', 'IFC4X3_TC1.IFCMAPPEDITEM']) == 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_tc1.ifcshaperepresentation', 'ifc4x3_tc1.ifcgeometricrepresentationitem', 'ifc4x3_tc1.ifcmappeditem']) == 1]) == sizeof(assigneditems)) is not False class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: SCOPE = 'entity' @@ -9883,7 +9883,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: @staticmethod def __call__(self): assigneditems = express_getattr(self, 'AssignedItems', INDETERMINATE) - assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['IFC4X3_TC1.IfcGeometricRepresentationItem', 'IFC4X3_TC1.IfcMappedItem']) >= 1]) == sizeof(assigneditems)) is not False + assert (sizeof([temp for temp in assigneditems if sizeof(typeof(temp) * ['ifc4x3_tc1.ifcgeometricrepresentationitem', 'ifc4x3_tc1.ifcmappeditem']) >= 1]) == sizeof(assigneditems)) is not False class IfcProcedure_CorrectPredefinedType: SCOPE = 'entity' @@ -9923,7 +9923,7 @@ class IfcProduct_PlacementForShapeRepresentation: def __call__(self): objectplacement = express_getattr(self, 'ObjectPlacement', INDETERMINATE) representation = express_getattr(self, 'Representation', INDETERMINATE) - assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'IFC4X3_TC1.IFCSHAPEREPRESENTATION' in typeof(temp)]) == 0) or (not exists(representation))) is not False + assert (exists(representation) and exists(objectplacement) or (exists(representation) and sizeof([temp for temp in express_getattr(representation, 'Representations', INDETERMINATE) if 'ifc4x3_tc1.ifcshaperepresentation' in typeof(temp)]) == 0) or (not exists(representation))) is not False class IfcProductDefinitionShape_OnlyShapeModel: SCOPE = 'entity' @@ -9933,7 +9933,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: @staticmethod def __call__(self): representations = express_getattr(self, 'Representations', INDETERMINATE) - assert (sizeof([temp for temp in representations if not 'IFC4X3_TC1.IFCSHAPEMODEL' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcshapemodel' in typeof(temp)]) == 0) is not False class IfcProject_CorrectContext: SCOPE = 'entity' @@ -9942,7 +9942,7 @@ class IfcProject_CorrectContext: @staticmethod def __call__(self): - assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'IFC4X3_TC1.IFCGEOMETRICREPRESENTATIONSUBCONTEXT' in typeof(temp)]) == 0) is not False + assert (not exists(express_getattr(self, 'RepresentationContexts', INDETERMINATE)) or sizeof([temp for temp in express_getattr(self, 'RepresentationContexts', INDETERMINATE) if 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(temp)]) == 0) is not False class IfcProject_HasName: SCOPE = 'entity' @@ -10142,7 +10142,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPROTECTIVEDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcprotectivedevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: SCOPE = 'entity' @@ -10162,7 +10162,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPROTECTIVEDEVICETRIPPINGUNITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcprotectivedevicetrippingunittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: SCOPE = 'entity' @@ -10202,7 +10202,7 @@ class IfcPump_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCPUMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcpumptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcPumpType_CorrectPredefinedType: SCOPE = 'entity' @@ -10337,7 +10337,7 @@ class IfcRail_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCRAILTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcrailtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailType_CorrectPredefinedType: SCOPE = 'entity' @@ -10367,7 +10367,7 @@ class IfcRailing_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCRAILINGTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcrailingtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRailingType_CorrectPredefinedType: SCOPE = 'entity' @@ -10417,7 +10417,7 @@ class IfcRamp_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCRAMPTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcramptype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -10437,7 +10437,7 @@ class IfcRampFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCRAMPFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcrampflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRampFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -10560,7 +10560,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u1 = express_getattr(self, 'U1', INDETERMINATE) u2 = express_getattr(self, 'U2', INDETERMINATE) usense = express_getattr(self, 'Usense', INDETERMINATE) - assert ('IFC4X3_TC1.IFCELEMENTARYSURFACE' in typeof(basissurface) and (not 'IFC4X3_TC1.IFCPLANE' in typeof(basissurface)) or 'IFC4X3_TC1.IFCSURFACEOFREVOLUTION' in typeof(basissurface) or usense == (u2 > u1)) is not False + assert ('ifc4x3_tc1.ifcelementarysurface' in typeof(basissurface) and (not 'ifc4x3_tc1.ifcplane' in typeof(basissurface)) or 'ifc4x3_tc1.ifcsurfaceofrevolution' in typeof(basissurface) or usense == (u2 > u1)) is not False class IfcRectangularTrimmedSurface_V1AndV2Different: SCOPE = 'entity' @@ -10613,7 +10613,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCREINFORCINGBARTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcreinforcingbartype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingBarType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10654,7 +10654,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCREINFORCINGMESHTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcreinforcingmeshtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcReinforcingMeshType_BendingShapeCodeProvided: SCOPE = 'entity' @@ -10755,7 +10755,7 @@ class IfcRelAssociatesMaterial_AllowedElements: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['IFC4X3_TC1.IFCELEMENT', 'IFC4X3_TC1.IFCELEMENTTYPE', 'IFC4X3_TC1.IFCSTRUCTURALMEMBER', 'IFC4X3_TC1.IFCPORT']) == 0]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if sizeof(typeof(temp) * ['ifc4x3_tc1.ifcelement', 'ifc4x3_tc1.ifcelementtype', 'ifc4x3_tc1.ifcstructuralmember', 'ifc4x3_tc1.ifcport']) == 0]) == 0) is not False class IfcRelAssociatesMaterial_NoVoidElement: SCOPE = 'entity' @@ -10764,7 +10764,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_TC1.IFCFEATUREELEMENTSUBTRACTION' in typeof(temp) or 'IFC4X3_TC1.IFCVIRTUALELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_tc1.ifcfeatureelementsubtraction' in typeof(temp) or 'ifc4x3_tc1.ifcvirtualelement' in typeof(temp)]) == 0) is not False class IfcRelConnectsElements_NoSelfReference: SCOPE = 'entity' @@ -10816,7 +10816,7 @@ class IfcRelContainedInSpatialStructure_WR31: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_TC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_tc1.ifcspatialstructureelement' in typeof(temp)]) == 0) is not False class IfcRelDeclares_NoSelfReference: SCOPE = 'entity' @@ -10836,7 +10836,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: @staticmethod def __call__(self): - assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'IFC4X3_TC1.IFCTYPEOBJECT' in typeof(types)]) == 0) is not False + assert (sizeof([types for types in express_getattr(self, 'RelatedObjects', INDETERMINATE) if 'ifc4x3_tc1.ifctypeobject' in typeof(types)]) == 0) is not False class IfcRelInterferesElements_NoSelfReference: SCOPE = 'entity' @@ -10879,7 +10879,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: @staticmethod def __call__(self): relatedelements = express_getattr(self, 'RelatedElements', INDETERMINATE) - assert (sizeof([temp for temp in relatedelements if 'IFC4X3_TC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(temp) and (not 'IFC4X3_TC1.IFCSPACE' in typeof(temp))]) == 0) is not False + assert (sizeof([temp for temp in relatedelements if 'ifc4x3_tc1.ifcspatialstructureelement' in typeof(temp) and (not 'ifc4x3_tc1.ifcspace' in typeof(temp))]) == 0) is not False class IfcRelSequence_AvoidInconsistentSequence: SCOPE = 'entity' @@ -10912,7 +10912,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: def __call__(self): relatedbuildingelement = express_getattr(self, 'RelatedBuildingElement', INDETERMINATE) physicalorvirtualboundary = express_getattr(self, 'PhysicalOrVirtualBoundary', INDETERMINATE) - assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'IFC4X3_TC1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('IFC4X3_TC1.IFCVIRTUALELEMENT' in typeof(relatedbuildingelement) or 'IFC4X3_TC1.IFCOPENINGELEMENT' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False + assert (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Physical', INDETERMINATE) and (not 'ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or (physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'Virtual', INDETERMINATE) and ('ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement) or 'ifc4x3_tc1.ifcopeningelement' in typeof(relatedbuildingelement))) or physicalorvirtualboundary == express_getattr(IfcPhysicalOrVirtualEnum, 'NotDefined', INDETERMINATE)) is not False class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: SCOPE = 'entity' @@ -10932,7 +10932,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: @staticmethod def __call__(self): mappedrepresentation = express_getattr(self, 'MappedRepresentation', INDETERMINATE) - assert ('IFC4X3_TC1.IFCSHAPEMODEL' in typeof(mappedrepresentation)) is not False + assert ('ifc4x3_tc1.ifcshapemodel' in typeof(mappedrepresentation)) is not False class IfcRevolvedAreaSolid_AxisDirectionInXY: SCOPE = 'entity' @@ -10952,7 +10952,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: @staticmethod def __call__(self): axis = express_getattr(self, 'Axis', INDETERMINATE) - assert ('IFC4X3_TC1.IFCCARTESIANPOINT' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(express_getattr(axis, 'Location', INDETERMINATE)) and express_getitem(express_getattr(express_getattr(axis, 'Location', INDETERMINATE), 'Coordinates', INDETERMINATE), 3 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) == 0.0) is not False def calc_IfcRevolvedAreaSolid_AxisLine(self): axis = express_getattr(self, 'Axis', INDETERMINATE) @@ -11005,7 +11005,7 @@ class IfcRoof_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCROOFTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcrooftype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcRoofType_CorrectPredefinedType: SCOPE = 'entity' @@ -11048,7 +11048,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSANITARYTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsanitaryterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSanitaryTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11235,7 +11235,7 @@ class IfcSensor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSENSORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsensortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSensorType_CorrectPredefinedType: SCOPE = 'entity' @@ -11265,7 +11265,7 @@ class IfcShadingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSHADINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcshadingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcShadingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11294,7 +11294,7 @@ class IfcShapeRepresentation_CorrectContext: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCGEOMETRICREPRESENTATIONCONTEXT' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False + assert ('ifc4x3_tc1.ifcgeometricrepresentationcontext' in typeof(express_getattr(self, 'ContextOfItems', INDETERMINATE))) is not False class IfcShapeRepresentation_CorrectItemsForType: SCOPE = 'entity' @@ -11331,7 +11331,7 @@ class IfcShapeRepresentation_NoTopologicalItem: @staticmethod def __call__(self): items = express_getattr(self, 'Items', INDETERMINATE) - assert (sizeof([temp for temp in items if 'IFC4X3_TC1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp) and (not sizeof(['IFC4X3_TC1.IFCVERTEXPOINT', 'IFC4X3_TC1.IFCEDGECURVE', 'IFC4X3_TC1.IFCFACESURFACE'] * typeof(temp)) == 1)]) == 0) is not False + assert (sizeof([temp for temp in items if 'ifc4x3_tc1.ifctopologicalrepresentationitem' in typeof(temp) and (not sizeof(['ifc4x3_tc1.ifcvertexpoint', 'ifc4x3_tc1.ifcedgecurve', 'ifc4x3_tc1.ifcfacesurface'] * typeof(temp)) == 1)]) == 0) is not False def calc_IfcShellBasedSurfaceModel_Dim(self): return 3 @@ -11354,7 +11354,7 @@ class IfcSign_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSIGNTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsigntype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignType_CorrectPredefinedType: SCOPE = 'entity' @@ -11384,7 +11384,7 @@ class IfcSignal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSIGNALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsignaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSignalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11414,7 +11414,7 @@ class IfcSlab_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSLABTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcslabtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSlabType_CorrectPredefinedType: SCOPE = 'entity' @@ -11444,7 +11444,7 @@ class IfcSolarDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSOLARDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsolardevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSolarDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -11477,7 +11477,7 @@ class IfcSpace_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSPACETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcspacetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeater_CorrectPredefinedType: SCOPE = 'entity' @@ -11497,7 +11497,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSPACEHEATERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcspaceheatertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpaceHeaterType_CorrectPredefinedType: SCOPE = 'entity' @@ -11526,7 +11526,7 @@ class IfcSpatialStructureElement_WR41: @staticmethod def __call__(self): - assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'IFC4X3_TC1.IFCRELAGGREGATES' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('IFC4X3_TC1.IFCPROJECT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'IFC4X3_TC1.IFCSPATIALSTRUCTUREELEMENT' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False + assert (hiindex(express_getattr(self, 'Decomposes', INDETERMINATE)) == 1 and 'ifc4x3_tc1.ifcrelaggregates' in typeof(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and ('ifc4x3_tc1.ifcproject' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)) or 'ifc4x3_tc1.ifcspatialstructureelement' in typeof(express_getattr(express_getitem(express_getattr(self, 'Decomposes', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingObject', INDETERMINATE)))) is not False class IfcSpatialZone_CorrectPredefinedType: SCOPE = 'entity' @@ -11546,7 +11546,7 @@ class IfcSpatialZone_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSPATIALZONETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcspatialzonetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSpatialZoneType_CorrectPredefinedType: SCOPE = 'entity' @@ -11576,7 +11576,7 @@ class IfcStackTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSTACKTERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcstackterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStackTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -11606,7 +11606,7 @@ class IfcStair_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSTAIRTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcstairtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlight_CorrectPredefinedType: SCOPE = 'entity' @@ -11626,7 +11626,7 @@ class IfcStairFlight_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSTAIRFLIGHTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcstairflighttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcStairFlightType_CorrectPredefinedType: SCOPE = 'entity' @@ -11734,7 +11734,7 @@ class IfcStructuralLinearAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_TC1.IFCSTRUCTURALLOADLINEARFORCE', 'IFC4X3_TC1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_tc1.ifcstructuralloadlinearforce', 'ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralLoadCase_IsLoadCasePredefinedType: SCOPE = 'entity' @@ -11784,7 +11784,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_TC1.IFCSTRUCTURALLOADPLANARFORCE', 'IFC4X3_TC1.IFCSTRUCTURALLOADTEMPERATURE'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_tc1.ifcstructuralloadplanarforce', 'ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointAction_SuitableLoadType: SCOPE = 'entity' @@ -11793,7 +11793,7 @@ class IfcStructuralPointAction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_TC1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_TC1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce', 'ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralPointReaction_SuitableLoadType: SCOPE = 'entity' @@ -11802,7 +11802,7 @@ class IfcStructuralPointReaction_SuitableLoadType: @staticmethod def __call__(self): - assert (sizeof(['IFC4X3_TC1.IFCSTRUCTURALLOADSINGLEFORCE', 'IFC4X3_TC1.IFCSTRUCTURALLOADSINGLEDISPLACEMENT'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False + assert (sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce', 'ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(express_getattr(self, 'AppliedLoad', INDETERMINATE))) == 1) is not False class IfcStructuralResultGroup_HasObjectType: SCOPE = 'entity' @@ -11862,7 +11862,7 @@ class IfcStyledItem_ApplicableItem: @staticmethod def __call__(self): item = express_getattr(self, 'Item', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCSTYLEDITEM' in typeof(item)) is not False + assert (not 'ifc4x3_tc1.ifcstyleditem' in typeof(item)) is not False class IfcStyledRepresentation_OnlyStyledItems: SCOPE = 'entity' @@ -11871,7 +11871,7 @@ class IfcStyledRepresentation_OnlyStyledItems: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_TC1.IFCSTYLEDITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_tc1.ifcstyleditem' in typeof(temp)]) == 0) is not False class IfcSubContractResource_CorrectPredefinedType: SCOPE = 'entity' @@ -11914,7 +11914,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: @staticmethod def __call__(self): curve3d = express_getattr(self, 'Curve3D', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCPCURVE' in typeof(curve3d)) is not False + assert (not 'ifc4x3_tc1.ifcpcurve' in typeof(curve3d)) is not False def calc_IfcSurfaceCurve_BasisSurface(self): return IfcGetBasisSurface(self) @@ -11997,7 +11997,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_TC1.IFCEXTERNALLYDEFINEDSURFACESTYLE' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_tc1.ifcexternallydefinedsurfacestyle' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneLighting: SCOPE = 'entity' @@ -12006,7 +12006,7 @@ class IfcSurfaceStyle_MaxOneLighting: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACESTYLELIGHTING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_tc1.ifcsurfacestylelighting' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneRefraction: SCOPE = 'entity' @@ -12015,7 +12015,7 @@ class IfcSurfaceStyle_MaxOneRefraction: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACESTYLEREFRACTION' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_tc1.ifcsurfacestylerefraction' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneShading: SCOPE = 'entity' @@ -12024,7 +12024,7 @@ class IfcSurfaceStyle_MaxOneShading: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACESTYLESHADING' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_tc1.ifcsurfacestyleshading' in typeof(style)]) <= 1) is not False class IfcSurfaceStyle_MaxOneTextures: SCOPE = 'entity' @@ -12033,7 +12033,7 @@ class IfcSurfaceStyle_MaxOneTextures: @staticmethod def __call__(self): - assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACESTYLEWITHTEXTURES' in typeof(style)]) <= 1) is not False + assert (sizeof([style for style in express_getattr(self, 'Styles', INDETERMINATE) if 'ifc4x3_tc1.ifcsurfacestylewithtextures' in typeof(style)]) <= 1) is not False class IfcSweptAreaSolid_SweptAreaType: SCOPE = 'entity' @@ -12055,7 +12055,7 @@ class IfcSweptDiskSolid_DirectrixBounded: directrix = express_getattr(self, 'Directrix', INDETERMINATE) startparam = express_getattr(self, 'StartParam', INDETERMINATE) endparam = express_getattr(self, 'EndParam', INDETERMINATE) - assert (exists(startparam) and exists(endparam) or sizeof(['IFC4X3_TC1.IFCCONIC', 'IFC4X3_TC1.IFCBOUNDEDCURVE'] * typeof(directrix)) == 1) is not False + assert (exists(startparam) and exists(endparam) or sizeof(['ifc4x3_tc1.ifcconic', 'ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix)) == 1) is not False class IfcSweptDiskSolid_DirectrixDim: SCOPE = 'entity' @@ -12095,7 +12095,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCPOLYLINE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('IFC4X3_TC1.IFCINDEXEDPOLYCURVE' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False + assert ('ifc4x3_tc1.ifcpolyline' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) or ('ifc4x3_tc1.ifcindexedpolycurve' in typeof(express_getattr(self, 'Directrix', INDETERMINATE)) and (not exists(express_getattr(express_getattr(self, 'Directrix', INDETERMINATE), 'Segments', INDETERMINATE))))) is not False class IfcSweptSurface_SweptCurveType: SCOPE = 'entity' @@ -12125,7 +12125,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSWITCHINGDEVICETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcswitchingdevicetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSwitchingDeviceType_CorrectPredefinedType: SCOPE = 'entity' @@ -12155,7 +12155,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCSYSTEMFURNITUREELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcsystemfurnitureelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcSystemFurnitureElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12239,7 +12239,7 @@ class IfcTank_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTANKTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctanktype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTankType_CorrectPredefinedType: SCOPE = 'entity' @@ -12313,7 +12313,7 @@ class IfcTendon_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTENDONTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctendontype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchor_CorrectPredefinedType: SCOPE = 'entity' @@ -12333,7 +12333,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTENDONANCHORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctendonanchortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonAnchorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12363,7 +12363,7 @@ class IfcTendonConduit_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTENDONCONDUITTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctendonconduittype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTendonConduitType_CorrectPredefinedType: SCOPE = 'entity' @@ -12396,7 +12396,7 @@ class IfcTextLiteralWithExtent_WR31: @staticmethod def __call__(self): extent = express_getattr(self, 'Extent', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCPLANARBOX' in typeof(extent)) is not False + assert (not 'ifc4x3_tc1.ifcplanarbox' in typeof(extent)) is not False class IfcTextStyleFontModel_MeasureOfFontSize: SCOPE = 'entity' @@ -12405,7 +12405,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: @staticmethod def __call__(self): - assert ('IFC4X3_TC1.IFCLENGTHMEASURE' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False + assert ('ifc4x3_tc1.ifclengthmeasure' in typeof(express_getattr(self, 'FontSize', INDETERMINATE)) and express_getattr(self, 'FontSize', INDETERMINATE) > 0.0) is not False class IfcTopologyRepresentation_WR21: SCOPE = 'entity' @@ -12414,7 +12414,7 @@ class IfcTopologyRepresentation_WR21: @staticmethod def __call__(self): - assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'IFC4X3_TC1.IFCTOPOLOGICALREPRESENTATIONITEM' in typeof(temp)]) == 0) is not False + assert (sizeof([temp for temp in express_getattr(self, 'Items', INDETERMINATE) if not 'ifc4x3_tc1.ifctopologicalrepresentationitem' in typeof(temp)]) == 0) is not False class IfcTopologyRepresentation_WR22: SCOPE = 'entity' @@ -12463,7 +12463,7 @@ class IfcTrackElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTRACKELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctrackelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTrackElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12493,7 +12493,7 @@ class IfcTransformer_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTRANSFORMERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctransformertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransformerType_CorrectPredefinedType: SCOPE = 'entity' @@ -12523,7 +12523,7 @@ class IfcTransportElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTRANSPORTELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctransportelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTransportElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12556,7 +12556,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: @staticmethod def __call__(self): basiscurve = express_getattr(self, 'BasisCurve', INDETERMINATE) - assert (not 'IFC4X3_TC1.IFCBOUNDEDCURVE' in typeof(basiscurve)) is not False + assert (not 'ifc4x3_tc1.ifcboundedcurve' in typeof(basiscurve)) is not False class IfcTrimmedCurve_Trim1ValuesConsistent: SCOPE = 'entity' @@ -12596,7 +12596,7 @@ class IfcTubeBundle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCTUBEBUNDLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifctubebundletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcTubeBundleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12634,7 +12634,7 @@ class IfcTypeProduct_ApplicableOccurrence: @staticmethod def __call__(self): - assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'IFC4X3_TC1.IFCPRODUCT' in typeof(temp)]) == 0) is not False + assert (not exists(lambda : express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'Types', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not 'ifc4x3_tc1.ifcproduct' in typeof(temp)]) == 0) is not False class IfcUShapeProfileDef_ValidFlangeThickness: SCOPE = 'entity' @@ -12686,7 +12686,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCUNITARYCONTROLELEMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcunitarycontrolelementtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryControlElementType_CorrectPredefinedType: SCOPE = 'entity' @@ -12716,7 +12716,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCUNITARYEQUIPMENTTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcunitaryequipmenttype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcUnitaryEquipmentType_CorrectPredefinedType: SCOPE = 'entity' @@ -12746,7 +12746,7 @@ class IfcValve_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCVALVETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcvalvetype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcValveType_CorrectPredefinedType: SCOPE = 'entity' @@ -12790,7 +12790,7 @@ class IfcVehicle_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCVEHICLETYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcvehicletype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVehicleType_CorrectPredefinedType: SCOPE = 'entity' @@ -12820,7 +12820,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCVIBRATIONDAMPERTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcvibrationdampertype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationDamperType_CorrectPredefinedType: SCOPE = 'entity' @@ -12850,7 +12850,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCVIBRATIONISOLATORTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcvibrationisolatortype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcVibrationIsolatorType_CorrectPredefinedType: SCOPE = 'entity' @@ -12900,7 +12900,7 @@ class IfcWall_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCWALLTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcwalltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWallStandardCase_HasMaterialLayerSetUsage: SCOPE = 'entity' @@ -12909,7 +12909,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: @staticmethod def __call__(self): - assert (sizeof([temp for temp in usedin(self, 'IFC4X3_TC1.IFCRELASSOCIATES.RELATEDOBJECTS') if 'IFC4X3_TC1.IFCRELASSOCIATESMATERIAL' in typeof(temp) and 'IFC4X3_TC1.IFCMATERIALLAYERSETUSAGE' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False + assert (sizeof([temp for temp in usedin(self, 'ifc4x3_tc1.ifcrelassociates.relatedobjects') if 'ifc4x3_tc1.ifcrelassociatesmaterial' in typeof(temp) and 'ifc4x3_tc1.ifcmateriallayersetusage' in typeof(express_getattr(temp, 'RelatingMaterial', INDETERMINATE))]) == 1) is not False class IfcWallType_CorrectPredefinedType: SCOPE = 'entity' @@ -12939,7 +12939,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCWASTETERMINALTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcwasteterminaltype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWasteTerminalType_CorrectPredefinedType: SCOPE = 'entity' @@ -12969,7 +12969,7 @@ class IfcWindow_CorrectTypeAssigned: @staticmethod def __call__(self): istypedby = express_getattr(self, 'IsTypedBy', INDETERMINATE) - assert (sizeof(istypedby) == 0 or 'IFC4X3_TC1.IFCWINDOWTYPE' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False + assert (sizeof(istypedby) == 0 or 'ifc4x3_tc1.ifcwindowtype' in typeof(express_getattr(express_getitem(express_getattr(self, 'IsTypedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingType', INDETERMINATE))) is not False class IfcWindowLiningProperties_WR31: SCOPE = 'entity' @@ -13011,7 +13011,7 @@ class IfcWindowLiningProperties_WR34: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_TC1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_tc1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowPanelProperties_ApplicableToType: SCOPE = 'entity' @@ -13020,7 +13020,7 @@ class IfcWindowPanelProperties_ApplicableToType: @staticmethod def __call__(self): - assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'IFC4X3_TC1.IFCWINDOWTYPE' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False + assert (exists(lambda : express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and 'ifc4x3_tc1.ifcwindowtype' in typeof(express_getitem(express_getattr(self, 'DefinesType', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE))) is not False class IfcWindowType_CorrectPredefinedType: SCOPE = 'entity' @@ -13080,7 +13080,7 @@ class IfcZone_WR1: @staticmethod def __call__(self): - assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('IFC4X3_TC1.IFCZONE' in typeof(temp) or 'IFC4X3_TC1.IFCSPACE' in typeof(temp) or 'IFC4X3_TC1.IFCSPATIALZONE' in typeof(temp))]) == 0) is not False + assert (sizeof(express_getattr(self, 'IsGroupedBy', INDETERMINATE)) == 0 or sizeof([temp for temp in express_getattr(express_getitem(express_getattr(self, 'IsGroupedBy', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatedObjects', INDETERMINATE) if not ('ifc4x3_tc1.ifczone' in typeof(temp) or 'ifc4x3_tc1.ifcspace' in typeof(temp) or 'ifc4x3_tc1.ifcspatialzone' in typeof(temp))]) == 0) is not False class IfcRepresentationContextSameWCS: SCOPE = 'file' @@ -13343,10 +13343,10 @@ def IfcCorrectFillAreaStyle(styles): tiles = 0 colour = 0 external = 0 - external = sizeof([style for style in styles if 'IFC4X3_TC1.IFCEXTERNALLYDEFINEDHATCHSTYLE' in typeof(style)]) - hatching = sizeof([style for style in styles if 'IFC4X3_TC1.IFCFILLAREASTYLEHATCHING' in typeof(style)]) - tiles = sizeof([style for style in styles if 'IFC4X3_TC1.IFCFILLAREASTYLETILES' in typeof(style)]) - colour = sizeof([style for style in styles if 'IFC4X3_TC1.IFCCOLOUR' in typeof(style)]) + external = sizeof([style for style in styles if 'ifc4x3_tc1.ifcexternallydefinedhatchstyle' in typeof(style)]) + hatching = sizeof([style for style in styles if 'ifc4x3_tc1.ifcfillareastylehatching' in typeof(style)]) + tiles = sizeof([style for style in styles if 'ifc4x3_tc1.ifcfillareastyletiles' in typeof(style)]) + colour = sizeof([style for style in styles if 'ifc4x3_tc1.ifccolour' in typeof(style)]) if external > 1: return False if external == 1 and (hatching > 0 or tiles > 0 or colour > 0): @@ -13359,12 +13359,12 @@ def IfcCorrectFillAreaStyle(styles): def IfcCorrectLocalPlacement(axisplacement, relplacement): if exists(relplacement): - if 'IFC4X3_TC1.IFCGRIDPLACEMENT' in typeof(relplacement): + if 'ifc4x3_tc1.ifcgridplacement' in typeof(relplacement): return None - if 'IFC4X3_TC1.IFCLOCALPLACEMENT' in typeof(relplacement): - if 'IFC4X3_TC1.IFCAXIS2PLACEMENT2D' in typeof(axisplacement): + if 'ifc4x3_tc1.ifclocalplacement' in typeof(relplacement): + if 'ifc4x3_tc1.ifcaxis2placement2d' in typeof(axisplacement): return True - if 'IFC4X3_TC1.IFCAXIS2PLACEMENT3D' in typeof(axisplacement): + if 'ifc4x3_tc1.ifcaxis2placement3d' in typeof(axisplacement): if express_getattr(express_getattr(relplacement, 'RelativePlacement', INDETERMINATE), 'Dim', INDETERMINATE) == 3: return True else: @@ -13378,13 +13378,13 @@ def IfcCorrectUnitAssignment(units): monetaryunitnumber = 0 namedunitnames = express_set([]) derivedunitnames = express_set([]) - namedunitnumber = sizeof([temp for temp in units if 'IFC4X3_TC1.IFCNAMEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) - derivedunitnumber = sizeof([temp for temp in units if 'IFC4X3_TC1.IFCDERIVEDUNIT' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) - monetaryunitnumber = sizeof([temp for temp in units if 'IFC4X3_TC1.IFCMONETARYUNIT' in typeof(temp)]) + namedunitnumber = sizeof([temp for temp in units if 'ifc4x3_tc1.ifcnamedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE))]) + derivedunitnumber = sizeof([temp for temp in units if 'ifc4x3_tc1.ifcderivedunit' in typeof(temp) and (not express_getattr(temp, 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE))]) + monetaryunitnumber = sizeof([temp for temp in units if 'ifc4x3_tc1.ifcmonetaryunit' in typeof(temp)]) for i in range(1, sizeof(units) + 1): - if 'IFC4X3_TC1.IFCNAMEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_tc1.ifcnamedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcUnitEnum, 'USERDEFINED', INDETERMINATE)): namedunitnames = namedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) - if 'IFC4X3_TC1.IFCDERIVEDUNIT' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): + if 'ifc4x3_tc1.ifcderivedunit' in typeof(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) and (not express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) == express_getattr(IfcDerivedUnitEnum, 'USERDEFINED', INDETERMINATE)): derivedunitnames = derivedunitnames + express_getattr(express_getitem(units, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'UnitType', INDETERMINATE) return sizeof(namedunitnames) == namedunitnumber and sizeof(derivedunitnames) == derivedunitnumber and (monetaryunitnumber <= 1) @@ -13405,37 +13405,37 @@ def IfcCrossProduct(arg1, arg2): return result def IfcCurveDim(curve): - if 'IFC4X3_TC1.IFCLINE' in typeof(curve): + if 'ifc4x3_tc1.ifcline' in typeof(curve): return express_getattr(express_getattr(curve, 'Pnt', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCCONIC' in typeof(curve): + if 'ifc4x3_tc1.ifcconic' in typeof(curve): return express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCPOLYLINE' in typeof(curve): + if 'ifc4x3_tc1.ifcpolyline' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Points', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCTRIMMEDCURVE' in typeof(curve): + if 'ifc4x3_tc1.ifctrimmedcurve' in typeof(curve): return IfcCurveDim(express_getattr(curve, 'BasisCurve', INDETERMINATE)) - if 'IFC4X3_TC1.IFCGRADIENTCURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcgradientcurve' in typeof(curve): return 3 - if 'IFC4X3_TC1.IFCSEGMENTEDREFERENCECURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcsegmentedreferencecurve' in typeof(curve): return 3 - if 'IFC4X3_TC1.IFCCOMPOSITECURVE' in typeof(curve): + if 'ifc4x3_tc1.ifccompositecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCBSPLINECURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcbsplinecurve' in typeof(curve): return express_getattr(express_getitem(express_getattr(curve, 'ControlPointsList', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCOFFSETCURVE2D' in typeof(curve): + if 'ifc4x3_tc1.ifcoffsetcurve2d' in typeof(curve): return 2 - if 'IFC4X3_TC1.IFCOFFSETCURVE3D' in typeof(curve): + if 'ifc4x3_tc1.ifcoffsetcurve3d' in typeof(curve): return 3 - if 'IFC4X3_TC1.IFCOFFSETCURVEBYDISTANCES' in typeof(curve): + if 'ifc4x3_tc1.ifcoffsetcurvebydistances' in typeof(curve): return 3 - if 'IFC4X3_TC1.IFCCURVESEGMENT2D' in typeof(curve): + if 'ifc4x3_tc1.ifccurvesegment2d' in typeof(curve): return 2 - if 'IFC4X3_TC1.IFCPOLYNOMIALCURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcpolynomialcurve' in typeof(curve): if not exists(express_getattr(curve, 'CoefficientsZ', INDETERMINATE)) and express_getattr(express_getattr(curve, 'Position', INDETERMINATE), 'Dim', INDETERMINATE) == 2: return 2 return 3 - if 'IFC4X3_TC1.IFCPCURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcpcurve' in typeof(curve): return 3 - if 'IFC4X3_TC1.IFCINDEXEDPOLYCURVE' in typeof(curve): + if 'ifc4x3_tc1.ifcindexedpolycurve' in typeof(curve): return express_getattr(express_getattr(curve, 'Points', INDETERMINATE), 'Dim', INDETERMINATE) return None @@ -13561,23 +13561,23 @@ def IfcFirstProjAxis(zaxis, arg): def IfcGetBasisSurface(c): surfs = [] - if 'IFC4X3_TC1.IFCPCURVE' in typeof(c): + if 'ifc4x3_tc1.ifcpcurve' in typeof(c): surfs = [express_getattr(c, 'BasisSurface', INDETERMINATE)] - elif 'IFC4X3_TC1.IFCSURFACECURVE' in typeof(c): + elif 'ifc4x3_tc1.ifcsurfacecurve' in typeof(c): n = sizeof(express_getattr(c, 'AssociatedGeometry', INDETERMINATE)) for i in range(1, n + 1): surfs = surfs + IfcAssociatedSurface(express_getitem(express_getattr(c, 'AssociatedGeometry', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)) - if 'IFC4X3_TC1.IFCCOMPOSITECURVEONSURFACE' in typeof(c): + if 'ifc4x3_tc1.ifccompositecurveonsurface' in typeof(c): n = sizeof(express_getattr(c, 'Segments', INDETERMINATE)) - if 'IFC4X3_TC1.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_tc1.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_TC1.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_tc1.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), 1 - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) if n > 1: for i in range(2, n + 1): - if 'IFC4X3_TC1.IFCCURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_tc1.ifccurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) - if 'IFC4X3_TC1.IFCCOMPOSITECURVESEGMENT' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_tc1.ifccompositecurvesegment' in typeof(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): surfs = surfs * IfcGetBasisSurface(express_getattr(express_getitem(express_getattr(c, 'Segments', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'ParentCurve', INDETERMINATE)) return surfs @@ -13628,7 +13628,7 @@ def IfcNormalise(arg): if not exists(arg): return None else: - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_tc1.ifcvector' in typeof(arg): ndim = express_getattr(arg, 'Dim', INDETERMINATE) v.DirectionRatios = express_getattr(express_getattr(arg, 'Orientation', INDETERMINATE), 'DirectionRatios', INDETERMINATE) vec.Magnitude = express_getattr(arg, 'Magnitude', INDETERMINATE) @@ -13649,7 +13649,7 @@ def IfcNormalise(arg): temp = list(express_getattr(v, 'DirectionRatios', INDETERMINATE)) temp[i - EXPRESS_ONE_BASED_INDEXING] = express_getitem(express_getattr(v, 'DirectionRatios', INDETERMINATE), i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) / mag v.DirectionRatios = temp - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg): + if 'ifc4x3_tc1.ifcvector' in typeof(arg): vec.Orientation = v result = vec else: @@ -13674,20 +13674,20 @@ def IfcPathHeadToTail(apath): return p def IfcPointDim(point): - if 'IFC4X3_TC1.IFCCARTESIANPOINT' in typeof(point): + if 'ifc4x3_tc1.ifccartesianpoint' in typeof(point): return hiindex(express_getattr(point, 'Coordinates', INDETERMINATE)) - if 'IFC4X3_TC1.IFCPOINTBYDISTANCEEXPRESSION' in typeof(point): + if 'ifc4x3_tc1.ifcpointbydistanceexpression' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCPOINTONCURVE' in typeof(point): + if 'ifc4x3_tc1.ifcpointoncurve' in typeof(point): return express_getattr(express_getattr(point, 'BasisCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCPOINTONSURFACE' in typeof(point): + if 'ifc4x3_tc1.ifcpointonsurface' in typeof(point): return express_getattr(express_getattr(point, 'BasisSurface', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcPointListDim(pointlist): - if 'IFC4X3_TC1.IFCCARTESIANPOINTLIST2D' in typeof(pointlist): + if 'ifc4x3_tc1.ifccartesianpointlist2d' in typeof(pointlist): return 2 - if 'IFC4X3_TC1.IFCCARTESIANPOINTLIST3D' in typeof(pointlist): + if 'ifc4x3_tc1.ifccartesianpointlist3d' in typeof(pointlist): return 3 return None @@ -13737,7 +13737,7 @@ def IfcScalarTimesVector(scalar, vec): if not exists(scalar) or not exists(vec): return None else: - if 'IFC4X3_TC1.IFCVECTOR' in typeof(vec): + if 'ifc4x3_tc1.ifcvector' in typeof(vec): v = express_getattr(vec, 'Orientation', INDETERMINATE) mag = scalar * express_getattr(vec, 'Magnitude', INDETERMINATE) else: @@ -13765,80 +13765,80 @@ def IfcSecondProjAxis(zaxis, xaxis, arg): return express_getattr(yaxis, 'Orientation', INDETERMINATE) def IfcSegmentDim(segment): - if 'IFC4X3_TC1.IFCCURVESEGMENT' in typeof(segment): + if 'ifc4x3_tc1.ifccurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) - if 'IFC4X3_TC1.IFCCOMPOSITECURVESEGMENT' in typeof(segment): + if 'ifc4x3_tc1.ifccompositecurvesegment' in typeof(segment): return express_getattr(express_getattr(segment, 'ParentCurve', INDETERMINATE), 'Dim', INDETERMINATE) return None def IfcShapeRepresentationTypes(reptype, items): count = 0 - if reptype == 'Point': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCPOINT' in typeof(temp)]) - elif reptype == 'PointCloud': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCCARTESIANPOINTLIST3D' in typeof(temp)]) - elif reptype == 'Curve': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCCURVE' in typeof(temp)]) - elif reptype == 'Curve2D': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Curve3D': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCCURVE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'Segment': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSEGMENT' in typeof(temp)]) - elif reptype == 'Surface': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSURFACE' in typeof(temp)]) - elif reptype == 'Surface2D': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) - elif reptype == 'Surface3D': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSURFACE' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) - elif reptype == 'SectionedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSECTIONEDSURFACE' in typeof(temp)]) - elif reptype == 'FillArea': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCANNOTATIONFILLAREA' in typeof(temp)]) - elif reptype == 'Text': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCTEXTLITERAL' in typeof(temp)]) - elif reptype == 'AdvancedSurface': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCBSPLINESURFACE' in typeof(temp)]) - elif reptype == 'Annotation2D': - count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['IFC4X3_TC1.IFCPOINT', 'IFC4X3_TC1.IFCCURVE', 'IFC4X3_TC1.IFCGEOMETRICCURVESET', 'IFC4X3_TC1.IFCANNOTATIONFILLAREA', 'IFC4X3_TC1.IFCTEXTLITERAL']) == 1]) - elif reptype == 'GeometricSet': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_TC1.IFCPOINT' in typeof(temp) or 'IFC4X3_TC1.IFCCURVE' in typeof(temp) or ('IFC4X3_TC1.IFCSURFACE' in typeof(temp))]) - elif reptype == 'GeometricCurveSet': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCGEOMETRICCURVESET' in typeof(temp) or 'IFC4X3_TC1.IFCGEOMETRICSET' in typeof(temp) or 'IFC4X3_TC1.IFCPOINT' in typeof(temp) or ('IFC4X3_TC1.IFCCURVE' in typeof(temp))]) + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'point': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcpoint' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'pointcloud': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifccartesianpointlist3d' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifccurve' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve2d': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'curve3d': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifccurve' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'segment': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsegment' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface2d': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 2]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surface3d': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsurface' in typeof(temp) and express_getattr(temp, 'Dim', INDETERMINATE) == 3]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsectionedsurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'fillarea': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcannotationfillarea' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'text': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifctextliteral' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsurface': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcbsplinesurface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'annotation2d': + count = sizeof([temp for temp in items if sizeof(typeof(temp) * ['ifc4x3_tc1.ifcpoint', 'ifc4x3_tc1.ifccurve', 'ifc4x3_tc1.ifcgeometriccurveset', 'ifc4x3_tc1.ifcannotationfillarea', 'ifc4x3_tc1.ifctextliteral']) == 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometricset': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcgeometricset' in typeof(temp) or 'ifc4x3_tc1.ifcpoint' in typeof(temp) or 'ifc4x3_tc1.ifccurve' in typeof(temp) or ('ifc4x3_tc1.ifcsurface' in typeof(temp))]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'geometriccurveset': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcgeometriccurveset' in typeof(temp) or 'ifc4x3_tc1.ifcgeometricset' in typeof(temp) or 'ifc4x3_tc1.ifcpoint' in typeof(temp) or ('ifc4x3_tc1.ifccurve' in typeof(temp))]) for i in range(1, hiindex(items) + 1): - if 'IFC4X3_TC1.IFCGEOMETRICSET' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): - if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'IFC4X3_TC1.IFCSURFACE' in typeof(temp)]) > 0: + if 'ifc4x3_tc1.ifcgeometricset' in typeof(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if sizeof([temp for temp in express_getattr(express_getitem(items, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Elements', INDETERMINATE) if 'ifc4x3_tc1.ifcsurface' in typeof(temp)]) > 0: count = count - 1 - elif reptype == 'Tessellation': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCTESSELLATEDITEM' in typeof(temp)]) - elif reptype == 'SurfaceOrSolidModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCTESSELLATEDITEM', 'IFC4X3_TC1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_TC1.IFCFACEBASEDSURFACEMODEL', 'IFC4X3_TC1.IFCSOLIDMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SurfaceModel': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCTESSELLATEDITEM', 'IFC4X3_TC1.IFCSHELLBASEDSURFACEMODEL', 'IFC4X3_TC1.IFCFACEBASEDSURFACEMODEL'] * typeof(temp)) >= 1]) - elif reptype == 'SolidModel': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSOLIDMODEL' in typeof(temp)]) - elif reptype == 'SweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCEXTRUDEDAREASOLID', 'IFC4X3_TC1.IFCREVOLVEDAREASOLID'] * typeof(temp)) >= 1 and sizeof(['IFC4X3_TC1.IFCEXTRUDEDAREASOLIDTAPERED', 'IFC4X3_TC1.IFCREVOLVEDAREASOLIDTAPERED'] * typeof(temp)) == 0]) - elif reptype == 'AdvancedSweptSolid': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCSWEPTAREASOLID', 'IFC4X3_TC1.IFCSWEPTDISKSOLID', 'IFC4X3_TC1.IFCSECTIONEDSOLIDHORIZONTAL'] * typeof(temp)) >= 1]) - elif reptype == 'CSG': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCBOOLEANRESULT', 'IFC4X3_TC1.IFCCSGPRIMITIVE3D', 'IFC4X3_TC1.IFCCSGSOLID'] * typeof(temp)) >= 1]) - elif reptype == 'Clipping': - count = sizeof([temp for temp in items if sizeof(['IFC4X3_TC1.IFCCSGSOLID', 'IFC4X3_TC1.IFCBOOLEANCLIPPINGRESULT'] * typeof(temp)) >= 1]) - elif reptype == 'Brep': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCFACETEDBREP' in typeof(temp)]) - elif reptype == 'AdvancedBrep': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCMANIFOLDSOLIDBREP' in typeof(temp)]) - elif reptype == 'BoundingBox': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCBOUNDINGBOX' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'tessellation': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifctessellateditem' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfaceorsolidmodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifctessellateditem', 'ifc4x3_tc1.ifcshellbasedsurfacemodel', 'ifc4x3_tc1.ifcfacebasedsurfacemodel', 'ifc4x3_tc1.ifcsolidmodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'surfacemodel': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifctessellateditem', 'ifc4x3_tc1.ifcshellbasedsurfacemodel', 'ifc4x3_tc1.ifcfacebasedsurfacemodel'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'solidmodel': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsolidmodel' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifcextrudedareasolid', 'ifc4x3_tc1.ifcrevolvedareasolid'] * typeof(temp)) >= 1 and sizeof(['ifc4x3_tc1.ifcextrudedareasolidtapered', 'ifc4x3_tc1.ifcrevolvedareasolidtapered'] * typeof(temp)) == 0]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedsweptsolid': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifcsweptareasolid', 'ifc4x3_tc1.ifcsweptdisksolid', 'ifc4x3_tc1.ifcsectionedsolidhorizontal'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'csg': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifcbooleanresult', 'ifc4x3_tc1.ifccsgprimitive3d', 'ifc4x3_tc1.ifccsgsolid'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'clipping': + count = sizeof([temp for temp in items if sizeof(['ifc4x3_tc1.ifccsgsolid', 'ifc4x3_tc1.ifcbooleanclippingresult'] * typeof(temp)) >= 1]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'brep': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcfacetedbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'advancedbrep': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcmanifoldsolidbrep' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'boundingbox': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcboundingbox' in typeof(temp)]) if sizeof(items) > 1: count = 0 - elif reptype == 'SectionedSpine': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCSECTIONEDSPINE' in typeof(temp)]) - elif reptype == 'LightSource': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCLIGHTSOURCE' in typeof(temp)]) - elif reptype == 'MappedRepresentation': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCMAPPEDITEM' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'sectionedspine': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcsectionedspine' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'lightsource': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifclightsource' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'mappedrepresentation': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcmappeditem' in typeof(temp)]) else: return None return count == sizeof(items) @@ -13855,12 +13855,12 @@ def IfcSurfaceWeightsPositive(b): def IfcTaperedSweptAreaProfiles(startarea, endarea): result = False - if 'IFC4X3_TC1.IFCPARAMETERIZEDPROFILEDEF' in typeof(startarea): - if 'IFC4X3_TC1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + if 'ifc4x3_tc1.ifcparameterizedprofiledef' in typeof(startarea): + if 'ifc4x3_tc1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = typeof(startarea) == typeof(endarea) - elif 'IFC4X3_TC1.IFCDERIVEDPROFILEDEF' in typeof(endarea): + elif 'ifc4x3_tc1.ifcderivedprofiledef' in typeof(endarea): result = startarea == express_getattr(endarea, 'ParentProfile', INDETERMINATE) else: result = False @@ -13868,17 +13868,17 @@ def IfcTaperedSweptAreaProfiles(startarea, endarea): def IfcTopologyRepresentationTypes(reptype, items): count = 0 - if reptype == 'Vertex': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCVERTEX' in typeof(temp)]) - elif reptype == 'Edge': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCEDGE' in typeof(temp)]) - elif reptype == 'Path': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCPATH' in typeof(temp)]) - elif reptype == 'Face': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCFACE' in typeof(temp)]) - elif reptype == 'Shell': - count = sizeof([temp for temp in items if 'IFC4X3_TC1.IFCOPENSHELL' in typeof(temp) or 'IFC4X3_TC1.IFCCLOSEDSHELL' in typeof(temp)]) - elif reptype == 'Undefined': + if express_getattr(reptype, 'lower', INDETERMINATE)() == 'vertex': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcvertex' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'edge': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcedge' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'path': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcpath' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'face': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcface' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'shell': + count = sizeof([temp for temp in items if 'ifc4x3_tc1.ifcopenshell' in typeof(temp) or 'ifc4x3_tc1.ifcclosedshell' in typeof(temp)]) + elif express_getattr(reptype, 'lower', INDETERMINATE)() == 'undefined': return True else: return None @@ -13890,9 +13890,9 @@ def IfcUniqueDefinitionNames(relations): return True for i in range(1, hiindex(relations) + 1): definition = express_getattr(express_getitem(relations, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'RelatingPropertyDefinition', INDETERMINATE) - if 'IFC4X3_TC1.IFCPROPERTYSETDEFINITION' in typeof(definition): + if 'ifc4x3_tc1.ifcpropertysetdefinition' in typeof(definition): properties = properties + definition - elif 'IFC4X3_TC1.IFCPROPERTYSETDEFINITIONSET' in typeof(definition): + elif 'ifc4x3_tc1.ifcpropertysetdefinitionset' in typeof(definition): definitionset = definition for j in range(1, hiindex(definitionset) + 1): properties = properties + express_getitem(definitionset, j - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE) @@ -13909,7 +13909,7 @@ def IfcUniquePropertySetNames(properties): names = express_set([]) unnamed = 0 for i in range(1, hiindex(properties) + 1): - if 'IFC4X3_TC1.IFCPROPERTYSET' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): + if 'ifc4x3_tc1.ifcpropertyset' in typeof(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE)): names = names + express_getattr(express_getitem(properties, i - EXPRESS_ONE_BASED_INDEXING, INDETERMINATE), 'Name', INDETERMINATE) else: unnamed = unnamed + 1 @@ -13931,13 +13931,13 @@ def IfcVectorDifference(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_tc1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_tc1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: @@ -13963,13 +13963,13 @@ def IfcVectorSum(arg1, arg2): if (not exists(arg1) or not exists(arg2)) or express_getattr(arg1, 'Dim', INDETERMINATE) != express_getattr(arg2, 'Dim', INDETERMINATE): return None else: - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg1): + if 'ifc4x3_tc1.ifcvector' in typeof(arg1): mag1 = express_getattr(arg1, 'Magnitude', INDETERMINATE) vec1 = express_getattr(arg1, 'Orientation', INDETERMINATE) else: mag1 = 1.0 vec1 = arg1 - if 'IFC4X3_TC1.IFCVECTOR' in typeof(arg2): + if 'ifc4x3_tc1.ifcvector' in typeof(arg2): mag2 = express_getattr(arg2, 'Magnitude', INDETERMINATE) vec2 = express_getattr(arg2, 'Orientation', INDETERMINATE) else: