From d1a40d129f44234eedc644f5a34595d40b3260b1 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 11 Jan 2023 13:38:12 +0100 Subject: [PATCH] #2685 Recompile rules --- .../ifcopenshell/express/rules/IFC2X3.py | 739 ++++---- .../ifcopenshell/express/rules/IFC4.py | 1367 +++++++------- .../ifcopenshell/express/rules/IFC4X1.py | 1379 +++++++-------- .../ifcopenshell/express/rules/IFC4X2.py | 1407 +++++++-------- .../ifcopenshell/express/rules/IFC4X3.py | 1563 +++++++++-------- .../ifcopenshell/express/rules/IFC4X3_ADD1.py | 1563 +++++++++-------- .../ifcopenshell/express/rules/IFC4X3_RC1.py | 1499 ++++++++-------- .../ifcopenshell/express/rules/IFC4X3_RC2.py | 1509 ++++++++-------- .../ifcopenshell/express/rules/IFC4X3_RC3.py | 1545 ++++++++-------- .../ifcopenshell/express/rules/IFC4X3_RC4.py | 1545 ++++++++-------- .../ifcopenshell/express/rules/IFC4X3_TC1.py | 1557 ++++++++-------- 11 files changed, 7875 insertions(+), 7798 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py index 68d07b8b0c..d8869ec8ee 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -6537,7 +6544,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -6591,7 +6598,7 @@ class IfcCompoundPlaneAngleMeasure_WR1: def __call__(self): - assert -360 <= self[1 - 1] < 360 + assert (-360 <= self[1 - 1] < 360) is not False @@ -6605,7 +6612,7 @@ class IfcCompoundPlaneAngleMeasure_WR2: def __call__(self): - assert -60 <= self[2 - 1] < 60 + assert (-60 <= self[2 - 1] < 60) is not False @@ -6619,7 +6626,7 @@ class IfcCompoundPlaneAngleMeasure_WR3: def __call__(self): - assert -60 <= self[3 - 1] < 60 + assert (-60 <= self[3 - 1] < 60) is not False @@ -6633,7 +6640,7 @@ class IfcCompoundPlaneAngleMeasure_WR4: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0)) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0)) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0)) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0))) is not False @@ -6717,7 +6724,7 @@ class IfcDaylightSavingHour_WR1: def __call__(self): - assert 0 <= self <= 2 + assert (0 <= self <= 2) is not False @@ -6744,7 +6751,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -6894,7 +6901,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -6909,7 +6916,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -6924,7 +6931,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -6972,7 +6979,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -6987,7 +6994,7 @@ class IfcHourInDay_WR1: def __call__(self): - assert 0 <= self < 24 + assert (0 <= self < 24) is not False @@ -7128,7 +7135,7 @@ class IfcMinuteInHour_WR1: def __call__(self): - assert 0 <= self <= 59 + assert (0 <= self <= 59) is not False @@ -7167,7 +7174,7 @@ class IfcMonthInYearNumber_WR1: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -7185,7 +7192,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -7224,7 +7231,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -7272,7 +7279,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -7287,7 +7294,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -7302,7 +7309,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -7410,7 +7417,7 @@ class IfcSecondInMinute_WR1: def __call__(self): - assert 0. <= self < 60. + assert (0. <= self < 60.) is not False @@ -7488,7 +7495,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -7554,7 +7561,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -7569,7 +7576,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -7596,7 +7603,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -7728,7 +7735,7 @@ class Ifc2DCompositeCurve_WR1: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -7742,7 +7749,7 @@ class Ifc2DCompositeCurve_WR2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -7763,7 +7770,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -7781,7 +7788,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -7796,7 +7803,7 @@ class IfcAirTerminalBoxType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -7811,7 +7818,7 @@ class IfcAirTerminalType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -7826,7 +7833,7 @@ class IfcAirToAirHeatRecoveryType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -7850,7 +7857,7 @@ class IfcAnnotationCurveOccurrence_WR31: def __call__(self): - assert (not exists(self.Item)) or ('ifc2x3.ifccurve' in typeof(self.Item)) + assert ((not exists(self.Item)) or ('ifc2x3.ifccurve' in typeof(self.Item))) is not False @@ -7868,7 +7875,7 @@ class IfcAnnotationFillAreaOccurrence_WR31: def __call__(self): - assert (not exists(self.Item)) or ('ifc2x3.ifcannotationfillarea' in typeof(self.Item)) + assert ((not exists(self.Item)) or ('ifc2x3.ifcannotationfillarea' in typeof(self.Item))) is not False @@ -7886,7 +7893,7 @@ class IfcAnnotationSurface_WR01: def __call__(self): item = self.Item - assert (sizeof(['ifc2x3.ifcsurface','ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcsolidmodel','ifc2x3.ifcbooleanresult','ifc2x3.ifccsgprimitive3d'] * typeof(item))) >= 1 + assert ((sizeof(['ifc2x3.ifcsurface','ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcsolidmodel','ifc2x3.ifcbooleanresult','ifc2x3.ifccsgprimitive3d'] * typeof(item))) >= 1) is not False @@ -7901,7 +7908,7 @@ class IfcAnnotationSurfaceOccurrence_WR31: def __call__(self): - assert (not exists(self.Item)) or ((sizeof(['ifc2x3.ifcsurface','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcsolidmodel'] * typeof(self.Item))) > 0) + assert ((not exists(self.Item)) or ((sizeof(['ifc2x3.ifcsurface','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcsolidmodel'] * typeof(self.Item))) > 0)) is not False @@ -7916,7 +7923,7 @@ class IfcAnnotationSymbolOccurrence_WR31: def __call__(self): - assert (not exists(self.Item)) or ('ifc2x3.ifcdefinedsymbol' in typeof(self.Item)) + assert ((not exists(self.Item)) or ('ifc2x3.ifcdefinedsymbol' in typeof(self.Item))) is not False @@ -7931,7 +7938,7 @@ class IfcAnnotationTextOccurrence_WR31: def __call__(self): - assert (not exists(self.Item)) or ('ifc2x3.ifctextliteral' in typeof(self.Item)) + assert ((not exists(self.Item)) or ('ifc2x3.ifctextliteral' in typeof(self.Item))) is not False @@ -7950,7 +7957,7 @@ class IfcAppliedValue_WR1: appliedvalue = self.AppliedValue valueofcomponents = self.ValueOfComponents - assert exists(appliedvalue) or exists(valueofcomponents) + assert (exists(appliedvalue) or exists(valueofcomponents)) is not False @@ -7980,7 +7987,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -7994,7 +8001,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc2x3.ifcline' in typeof(outercurve) + assert (not 'ifc2x3.ifcline' in typeof(outercurve)) is not False @@ -8008,7 +8015,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc2x3.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc2x3.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -8023,7 +8030,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc2x3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc2x3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -8037,7 +8044,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -8052,7 +8059,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -8066,7 +8073,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -8080,7 +8087,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc2x3.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc2x3.ifcline' in typeof(temp)])) == 0) is not False @@ -8095,7 +8102,7 @@ class IfcAsset_WR1: def __call__(self): - assert (sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not 'ifc2x3.ifcelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not 'ifc2x3.ifcelement' in typeof(temp)])) == 0) is not False @@ -8113,7 +8120,7 @@ class IfcAxis1Placement_WR1: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -8127,7 +8134,7 @@ class IfcAxis1Placement_WR2: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -8149,7 +8156,7 @@ class IfcAxis2Placement2D_WR1: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -8163,7 +8170,7 @@ class IfcAxis2Placement2D_WR2: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -8185,7 +8192,7 @@ class IfcAxis2Placement3D_WR1: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -8199,7 +8206,7 @@ class IfcAxis2Placement3D_WR2: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -8213,7 +8220,7 @@ class IfcAxis2Placement3D_WR3: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -8228,7 +8235,7 @@ class IfcAxis2Placement3D_WR4: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -8243,7 +8250,7 @@ class IfcAxis2Placement3D_WR5: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -8266,7 +8273,7 @@ class IfcBSplineCurve_WR41: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -8305,7 +8312,7 @@ class IfcBlobTexture_WR11: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -8323,7 +8330,7 @@ class IfcBoilerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -8338,7 +8345,7 @@ class IfcBooleanClippingResult_WR1: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc2x3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc2x3.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc2x3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc2x3.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -8352,7 +8359,7 @@ class IfcBooleanClippingResult_WR2: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc2x3.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc2x3.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -8366,7 +8373,7 @@ class IfcBooleanClippingResult_WR3: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -8382,7 +8389,7 @@ class IfcBooleanResult_WR1: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -8433,7 +8440,7 @@ class IfcBoxedHalfSpace_WR1: def __call__(self): - assert not 'ifc2x3.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc2x3.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -8460,7 +8467,7 @@ class IfcBuildingElementProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -8485,7 +8492,7 @@ class IfcCShapeProfileDef_WR1: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -8501,7 +8508,7 @@ class IfcCShapeProfileDef_WR2: width = self.Width internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= (width / 2.)) and (internalfilletradius <= (depth / 2.))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= (width / 2.)) and (internalfilletradius <= (depth / 2.)))) is not False @@ -8517,7 +8524,7 @@ class IfcCShapeProfileDef_WR3: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -8532,7 +8539,7 @@ class IfcCableCarrierFittingType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -8553,7 +8560,7 @@ class IfcCalendarDate_WR21: def __call__(self): - assert IfcValidCalendarDate(self) + assert (IfcValidCalendarDate(self)) is not False @@ -8568,7 +8575,7 @@ class IfcCartesianPoint_WR1: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -8590,7 +8597,7 @@ class IfcCartesianTransformationOperator_WR1: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -8619,7 +8626,7 @@ class IfcCartesianTransformationOperator2D_WR1: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -8633,7 +8640,7 @@ class IfcCartesianTransformationOperator2D_WR2: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -8647,7 +8654,7 @@ class IfcCartesianTransformationOperator2D_WR3: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -8669,7 +8676,7 @@ class IfcCartesianTransformationOperator2DnonUniform_WR1: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -8691,7 +8698,7 @@ class IfcCartesianTransformationOperator3D_WR1: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -8705,7 +8712,7 @@ class IfcCartesianTransformationOperator3D_WR2: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -8719,7 +8726,7 @@ class IfcCartesianTransformationOperator3D_WR3: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -8733,7 +8740,7 @@ class IfcCartesianTransformationOperator3D_WR4: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -8755,7 +8762,7 @@ class IfcCartesianTransformationOperator3DnonUniform_WR1: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -8769,7 +8776,7 @@ class IfcCartesianTransformationOperator3DnonUniform_WR2: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -8804,7 +8811,7 @@ class IfcChillerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -8822,7 +8829,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -8861,7 +8868,7 @@ class IfcCoilType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -8888,7 +8895,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -8902,7 +8909,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -8918,7 +8925,7 @@ class IfcCompositeCurve_WR41: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -8932,7 +8939,7 @@ class IfcCompositeCurve_WR42: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -8962,7 +8969,7 @@ class IfcCompositeCurveSegment_WR1: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc2x3.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc2x3.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -8984,7 +8991,7 @@ class IfcCompositeProfileDef_WR1: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -8998,7 +9005,7 @@ class IfcCompositeProfileDef_WR2: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc2x3.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc2x3.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -9013,7 +9020,7 @@ class IfcCompressorType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9028,7 +9035,7 @@ class IfcCondenserType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9046,7 +9053,7 @@ class IfcConditionCriterion_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -9085,7 +9092,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -9101,7 +9108,7 @@ class IfcConstraintAggregationRelationship_WR11: relatingconstraint = self.RelatingConstraint relatedconstraints = self.RelatedConstraints - assert (sizeof([temp for temp in relatedconstraints if temp == relatingconstraint])) == 0 + assert ((sizeof([temp for temp in relatedconstraints if temp == relatingconstraint])) == 0) is not False @@ -9120,7 +9127,7 @@ class IfcConstraintRelationship_WR11: relatingconstraint = self.RelatingConstraint relatedconstraints = self.RelatedConstraints - assert (sizeof([temp for temp in relatedconstraints if temp == relatingconstraint])) == 0 + assert ((sizeof([temp for temp in relatedconstraints if temp == relatingconstraint])) == 0) is not False @@ -9138,7 +9145,7 @@ class IfcConstructionMaterialResource_WR1: def __call__(self): - assert sizeof(self.ResourceOf) <= 1 + assert (sizeof(self.ResourceOf) <= 1) is not False @@ -9152,7 +9159,7 @@ class IfcConstructionMaterialResource_WR2: def __call__(self): - assert (not exists(lambda: self.ResourceOf[1 - 1])) or ((self.ResourceOf[1 - 1].RelatedObjectsType) == IfcObjectTypeEnum.PRODUCT) + assert ((not exists(lambda: self.ResourceOf[1 - 1])) or ((self.ResourceOf[1 - 1].RelatedObjectsType) == IfcObjectTypeEnum.PRODUCT)) is not False @@ -9167,7 +9174,7 @@ class IfcConstructionProductResource_WR1: def __call__(self): - assert sizeof(self.ResourceOf) <= 1 + assert (sizeof(self.ResourceOf) <= 1) is not False @@ -9181,7 +9188,7 @@ class IfcConstructionProductResource_WR2: def __call__(self): - assert (not exists(lambda: self.ResourceOf[1 - 1])) or ((self.ResourceOf[1 - 1].RelatedObjectsType) == IfcObjectTypeEnum.PRODUCT) + assert ((not exists(lambda: self.ResourceOf[1 - 1])) or ((self.ResourceOf[1 - 1].RelatedObjectsType) == IfcObjectTypeEnum.PRODUCT)) is not False @@ -9211,7 +9218,7 @@ class IfcCooledBeamType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9226,7 +9233,7 @@ class IfcCoolingTowerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9253,7 +9260,7 @@ class IfcCovering_WR61: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9316,7 +9323,7 @@ class IfcCurveStyle_WR11: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc2x3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc2x3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc2x3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc2x3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -9337,7 +9344,7 @@ class IfcCurveStyleFontPattern_WR01: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -9352,7 +9359,7 @@ class IfcDamperType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9373,7 +9380,7 @@ class IfcDerivedProfileDef_WR1: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -9388,7 +9395,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -9402,7 +9409,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -9430,7 +9437,7 @@ class IfcDimensionCalloutRelationship_WR11: def __call__(self): - assert self.Name in ['primary','secondary'] + assert (self.Name in ['primary','secondary']) is not False @@ -9444,7 +9451,7 @@ class IfcDimensionCalloutRelationship_WR12: def __call__(self): - assert (sizeof(typeof(self.RelatingDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1 + assert ((sizeof(typeof(self.RelatingDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1) is not False @@ -9458,7 +9465,7 @@ class IfcDimensionCalloutRelationship_WR13: def __call__(self): - assert not 'ifc2x3.ifcdimensioncurvedirectedcallout' in typeof(self.RelatedDraughtingCallout) + assert (not 'ifc2x3.ifcdimensioncurvedirectedcallout' in typeof(self.RelatedDraughtingCallout)) is not False @@ -9473,7 +9480,7 @@ class IfcDimensionCurve_WR51: def __call__(self): - assert sizeof(usedin(self,'ifc2x3.ifcdraughtingcallout.contents')) >= 1 + assert (sizeof(usedin(self,'ifc2x3.ifcdraughtingcallout.contents')) >= 1) is not False @@ -9487,7 +9494,7 @@ class IfcDimensionCurve_WR52: def __call__(self): - assert ((sizeof([dct1 for dct1 in usedin(self,'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if dct1.Role == IfcDimensionExtentUsage.ORIGIN])) <= 1) and ((sizeof([dct2 for dct2 in usedin(self,'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if dct2.Role == IfcDimensionExtentUsage.TARGET])) <= 1) + assert (((sizeof([dct1 for dct1 in usedin(self,'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if dct1.Role == IfcDimensionExtentUsage.ORIGIN])) <= 1) and ((sizeof([dct2 for dct2 in usedin(self,'ifc2x3.' + 'ifcterminatorsymbol.annotatedcurve') if dct2.Role == IfcDimensionExtentUsage.TARGET])) <= 1)) is not False @@ -9501,7 +9508,7 @@ class IfcDimensionCurve_WR53: def __call__(self): annotatedbysymbols = self.AnnotatedBySymbols - assert (sizeof([dct for dct in annotatedbysymbols if not 'ifc2x3.ifcdimensioncurveterminator' in typeof(dct)])) == 0 + assert ((sizeof([dct for dct in annotatedbysymbols if not 'ifc2x3.ifcdimensioncurveterminator' in typeof(dct)])) == 0) is not False @@ -9516,7 +9523,7 @@ class IfcDimensionCurveDirectedCallout_WR41: def __call__(self): - assert (sizeof([dc for dc in self.Contents if 'ifc2x3.ifcdimensioncurve' in typeof(dc)])) == 1 + assert ((sizeof([dc for dc in self.Contents if 'ifc2x3.ifcdimensioncurve' in typeof(dc)])) == 1) is not False @@ -9530,7 +9537,7 @@ class IfcDimensionCurveDirectedCallout_WR42: def __call__(self): contents = self.Contents - assert (sizeof([dc for dc in self.contents if 'ifc2x3.ifcprojectioncurve' in typeof(dc)])) <= 2 + assert ((sizeof([dc for dc in self.contents if 'ifc2x3.ifcprojectioncurve' in typeof(dc)])) <= 2) is not False @@ -9545,7 +9552,7 @@ class IfcDimensionCurveTerminator_WR61: def __call__(self): - assert 'ifc2x3.ifcdimensioncurve' in typeof(self.AnnotatedCurve) + assert ('ifc2x3.ifcdimensioncurve' in typeof(self.AnnotatedCurve)) is not False @@ -9560,7 +9567,7 @@ class IfcDimensionPair_WR11: def __call__(self): - assert self.Name in ['chained','parallel'] + assert (self.Name in ['chained','parallel']) is not False @@ -9574,7 +9581,7 @@ class IfcDimensionPair_WR12: def __call__(self): - assert (sizeof(typeof(self.RelatingDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1 + assert ((sizeof(typeof(self.RelatingDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1) is not False @@ -9588,7 +9595,7 @@ class IfcDimensionPair_WR13: def __call__(self): - assert (sizeof(typeof(self.RelatedDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1 + assert ((sizeof(typeof(self.RelatedDraughtingCallout) * ['ifc2x3.ifcangulardimension','ifc2x3.ifcdiameterdimension','ifc2x3.ifclineardimension','ifc2x3.ifcradiusdimension'])) == 1) is not False @@ -9648,7 +9655,7 @@ class IfcDocumentElectronicFormat_WR1: fileextension = self.FileExtension mimecontenttype = self.MimeContentType - assert exists(fileextension) or exists(mimecontenttype) + assert (exists(fileextension) or exists(mimecontenttype)) is not False @@ -9670,7 +9677,7 @@ class IfcDocumentReference_WR1: name = self.Name referencetodocument = self.ReferenceToDocument - assert exists(name) ^ (exists(lambda: referencetodocument[1 - 1])) + assert (exists(name) ^ (exists(lambda: referencetodocument[1 - 1]))) is not False @@ -9689,7 +9696,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not (not exists(liningdepth)) and exists(liningthickness) + assert (not (not exists(liningdepth)) and exists(liningthickness)) is not False @@ -9704,7 +9711,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not (not exists(thresholddepth)) and exists(thresholdthickness) + assert (not (not exists(thresholddepth)) and exists(thresholdthickness)) is not False @@ -9719,7 +9726,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -9734,7 +9741,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -9748,7 +9755,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -9763,7 +9770,7 @@ class IfcDoorPanelProperties_WR31: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -9787,7 +9794,7 @@ class IfcDraughtingPreDefinedColour_WR31: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -9802,7 +9809,7 @@ class IfcDraughtingPreDefinedCurveFont_WR31: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -9817,7 +9824,7 @@ class IfcDraughtingPreDefinedTextFont_WR31: def __call__(self): - assert self.Name in ['iso3098-1fonta','iso3098-1fontb'] + assert (self.Name in ['iso3098-1fonta','iso3098-1fontb']) is not False @@ -9832,7 +9839,7 @@ class IfcDuctFittingType_WR2: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9847,7 +9854,7 @@ class IfcDuctSegmentType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9862,7 +9869,7 @@ class IfcDuctSilencerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9887,7 +9894,7 @@ class IfcEdgeLoop_WR1: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -9901,7 +9908,7 @@ class IfcEdgeLoop_WR2: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -9926,7 +9933,7 @@ class IfcElectricDistributionPoint_WR31: def __call__(self): distributionpointfunction = self.DistributionPointFunction - assert (distributionpointfunction != IfcElectricDistributionPointFunctionEnum.USERDEFINED) or ((distributionpointfunction == IfcElectricDistributionPointFunctionEnum.USERDEFINED) and exists(self.UserDefinedFunction)) + assert ((distributionpointfunction != IfcElectricDistributionPointFunctionEnum.USERDEFINED) or ((distributionpointfunction == IfcElectricDistributionPointFunctionEnum.USERDEFINED) and exists(self.UserDefinedFunction))) is not False @@ -9968,7 +9975,7 @@ class IfcElementAssembly_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10018,7 +10025,7 @@ class IfcEnvironmentalImpactValue_WR1: def __call__(self): category = self.Category - assert (category != IfcEnvironmentalImpactCategoryEnum.USERDEFINED) or ((category == IfcEnvironmentalImpactCategoryEnum.USERDEFINED) and exists(self.UserDefinedCategory)) + assert ((category != IfcEnvironmentalImpactCategoryEnum.USERDEFINED) or ((category == IfcEnvironmentalImpactCategoryEnum.USERDEFINED) and exists(self.UserDefinedCategory))) is not False @@ -10039,7 +10046,7 @@ class IfcEvaporativeCoolerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10054,7 +10061,7 @@ class IfcEvaporatorType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10074,7 +10081,7 @@ class IfcExternalReference_WR1: itemreference = self.ItemReference name = self.Name - assert exists(itemreference) or exists(location) or exists(name) + assert (exists(itemreference) or exists(location) or exists(name)) is not False @@ -10101,7 +10108,7 @@ class IfcExtrudedAreaSolid_WR31: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -10116,7 +10123,7 @@ class IfcFace_WR1: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc2x3.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc2x3.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -10157,7 +10164,7 @@ class IfcFanType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10187,7 +10194,7 @@ class IfcFillAreaStyle_WR11: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc2x3.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc2x3.ifccolour' in typeof(style)])) <= 1) is not False @@ -10201,7 +10208,7 @@ class IfcFillAreaStyle_WR12: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc2x3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc2x3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -10215,7 +10222,7 @@ class IfcFillAreaStyle_WR13: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -10230,7 +10237,7 @@ class IfcFillAreaStyleHatching_WR21: def __call__(self): startofnexthatchline = self.StartOfNextHatchLine - assert not 'ifc2x3.ifctwodirectionrepeatfactor' in typeof(startofnexthatchline) + assert (not 'ifc2x3.ifctwodirectionrepeatfactor' in typeof(startofnexthatchline)) is not False @@ -10244,7 +10251,7 @@ class IfcFillAreaStyleHatching_WR22: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -10258,7 +10265,7 @@ class IfcFillAreaStyleHatching_WR23: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -10279,7 +10286,7 @@ class IfcFilterType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10312,7 +10319,7 @@ class IfcFlowMeterType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10360,7 +10367,7 @@ class IfcFooting_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10390,7 +10397,7 @@ class IfcGasTerminalType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGasTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcGasTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGasTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcGasTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10408,7 +10415,7 @@ class IfcGeneralProfileProperties_WR1: def __call__(self): crosssectionarea = self.CrossSectionArea - assert (not exists(crosssectionarea)) or (crosssectionarea > 0.) + assert ((not exists(crosssectionarea)) or (crosssectionarea > 0.)) is not False @@ -10423,7 +10430,7 @@ class IfcGeometricCurveSet_WR1: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc2x3.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc2x3.ifcsurface' in typeof(temp)])) == 0) is not False @@ -10444,7 +10451,7 @@ class IfcGeometricRepresentationSubContext_WR31: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -10459,7 +10466,7 @@ class IfcGeometricRepresentationSubContext_WR32: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -10502,7 +10509,7 @@ class IfcGeometricSet_WR21: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -10524,7 +10531,7 @@ class IfcGrid_WR41: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -10539,7 +10546,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -10555,7 +10562,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -10584,7 +10591,7 @@ class IfcHeatExchangerType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10599,7 +10606,7 @@ class IfcHumidifierType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10618,7 +10625,7 @@ class IfcIShapeProfileDef_WR1: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert flangethickness < (overalldepth / 2.) + assert (flangethickness < (overalldepth / 2.)) is not False @@ -10633,7 +10640,7 @@ class IfcIShapeProfileDef_WR2: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -10651,7 +10658,7 @@ class IfcIShapeProfileDef_WR3: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -10669,7 +10676,7 @@ class IfcInventory_WR41: def __call__(self): - assert (sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not ('ifc2x3.ifcspace' in typeof(temp)) or ('ifc2x3.ifcasset' in typeof(temp)) or ('ifc2x3.ifcfurnishingelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not ('ifc2x3.ifcspace' in typeof(temp)) or ('ifc2x3.ifcasset' in typeof(temp)) or ('ifc2x3.ifcfurnishingelement' in typeof(temp))])) == 0) is not False @@ -10694,7 +10701,7 @@ class IfcLShapeProfileDef_WR21: depth = self.Depth thickness = self.Thickness - assert thickness < depth + assert (thickness < depth) is not False @@ -10709,7 +10716,7 @@ class IfcLShapeProfileDef_WR22: width = self.Width thickness = self.Thickness - assert (not exists(width)) or (thickness < width) + assert ((not exists(width)) or (thickness < width)) is not False @@ -10764,7 +10771,7 @@ class IfcLine_WR1: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -10783,7 +10790,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -10798,7 +10805,7 @@ class IfcLocalTime_WR21: def __call__(self): - assert IfcValidTime(self) + assert (IfcValidTime(self)) is not False @@ -10828,7 +10835,7 @@ class IfcMaterialDefinitionRepresentation_WR11: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc2x3.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc2x3.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -10875,7 +10882,7 @@ class IfcMechanicalMaterialProperties_WR21: def __call__(self): youngmodulus = self.YoungModulus - assert (not exists(youngmodulus)) or (youngmodulus >= 0.0) + assert ((not exists(youngmodulus)) or (youngmodulus >= 0.0)) is not False @@ -10889,7 +10896,7 @@ class IfcMechanicalMaterialProperties_WR22: def __call__(self): shearmodulus = self.ShearModulus - assert (not exists(shearmodulus)) or (shearmodulus >= 0.0) + assert ((not exists(shearmodulus)) or (shearmodulus >= 0.0)) is not False @@ -10904,7 +10911,7 @@ class IfcMechanicalSteelMaterialProperties_WR31: def __call__(self): yieldstress = self.YieldStress - assert (not exists(yieldstress)) or (yieldstress >= 0.) + assert ((not exists(yieldstress)) or (yieldstress >= 0.)) is not False @@ -10918,7 +10925,7 @@ class IfcMechanicalSteelMaterialProperties_WR32: def __call__(self): ultimatestress = self.UltimateStress - assert (not exists(ultimatestress)) or (ultimatestress >= 0.) + assert ((not exists(ultimatestress)) or (ultimatestress >= 0.)) is not False @@ -10932,7 +10939,7 @@ class IfcMechanicalSteelMaterialProperties_WR33: def __call__(self): hardeningmodule = self.HardeningModule - assert (not exists(hardeningmodule)) or (hardeningmodule >= 0.) + assert ((not exists(hardeningmodule)) or (hardeningmodule >= 0.)) is not False @@ -10946,7 +10953,7 @@ class IfcMechanicalSteelMaterialProperties_WR34: def __call__(self): proportionalstress = self.ProportionalStress - assert (not exists(proportionalstress)) or (proportionalstress >= 0.) + assert ((not exists(proportionalstress)) or (proportionalstress >= 0.)) is not False @@ -10976,7 +10983,7 @@ class IfcMove_WR1: def __call__(self): - assert sizeof(self.OperatesOn) >= 1 + assert (sizeof(self.OperatesOn) >= 1) is not False @@ -10990,7 +10997,7 @@ class IfcMove_WR2: def __call__(self): operateson = self.OperatesOn - assert (sizeof([temp for temp in operateson if (sizeof([temp2 for temp2 in temp.RelatedObjects if ('ifc2x3.ifcactor' in typeof(temp2)) or ('ifc2x3.ifcequipmentelement' in typeof(temp2)) or ('ifc2x3.ifcfurnishingelement' in typeof(temp2))])) >= 1])) >= 1 + assert ((sizeof([temp for temp in operateson if (sizeof([temp2 for temp2 in temp.RelatedObjects if ('ifc2x3.ifcactor' in typeof(temp2)) or ('ifc2x3.ifcequipmentelement' in typeof(temp2)) or ('ifc2x3.ifcfurnishingelement' in typeof(temp2))])) >= 1])) >= 1) is not False @@ -11004,7 +11011,7 @@ class IfcMove_WR3: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11019,7 +11026,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -11034,7 +11041,7 @@ class IfcObject_WR1: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof([temp for temp in isdefinedby if 'ifc2x3.ifcreldefinesbytype' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in isdefinedby if 'ifc2x3.ifcreldefinesbytype' in typeof(temp)])) <= 1) is not False @@ -11055,7 +11062,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -11070,7 +11077,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -11085,7 +11092,7 @@ class IfcOffsetCurve2D_WR1: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -11100,7 +11107,7 @@ class IfcOffsetCurve3D_WR1: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -11136,7 +11143,7 @@ class IfcOrientedEdge_WR1: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc2x3.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc2x3.ifcorientededge' in typeof(edgeelement)) is not False @@ -11176,7 +11183,7 @@ class IfcPath_WR1: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -11201,7 +11208,7 @@ class IfcPerson_WR1: familyname = self.FamilyName givenname = self.GivenName - assert exists(familyname) or exists(givenname) + assert (exists(familyname) or exists(givenname)) is not False @@ -11219,7 +11226,7 @@ class IfcPhysicalComplexQuantity_WR21: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -11240,7 +11247,7 @@ class IfcPile_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11255,7 +11262,7 @@ class IfcPipeFittingType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11270,7 +11277,7 @@ class IfcPipeSegmentType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11285,7 +11292,7 @@ class IfcPixelTexture_WR21: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -11299,7 +11306,7 @@ class IfcPixelTexture_WR22: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -11313,7 +11320,7 @@ class IfcPixelTexture_WR23: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -11329,7 +11336,7 @@ class IfcPixelTexture_WR24: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -11386,7 +11393,7 @@ class IfcPolyLoop_WR21: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -11401,7 +11408,7 @@ class IfcPolygonalBoundedHalfSpace_WR41: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -11415,7 +11422,7 @@ class IfcPolygonalBoundedHalfSpace_WR42: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc2x3.ifcpolyline','ifc2x3.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc2x3.ifcpolyline','ifc2x3.ifccompositecurve'])) == 1) is not False @@ -11430,7 +11437,7 @@ class IfcPolyline_WR41: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -11454,7 +11461,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -11475,7 +11482,7 @@ class IfcPreDefinedDimensionSymbol_WR31: def __call__(self): - assert self.Name in ['arclength','conicaltaper','counterbore','countersink','depth','diameter','plusminus','radius','slope','sphericaldiameter','sphericalradius','square'] + assert (self.Name in ['arclength','conicaltaper','counterbore','countersink','depth','diameter','plusminus','radius','slope','sphericaldiameter','sphericalradius','square']) is not False @@ -11493,7 +11500,7 @@ class IfcPreDefinedPointMarkerSymbol_WR31: def __call__(self): - assert self.Name in ['asterisk','circle','dot','plus','square','triangle','x'] + assert (self.Name in ['asterisk','circle','dot','plus','square','triangle','x']) is not False @@ -11511,7 +11518,7 @@ class IfcPreDefinedTerminatorSymbol_WR31: def __call__(self): - assert self.Name in ['blankedarrow','blankedbox','blankeddot','dimensionorigin','filledarrow','filledbox','filleddot','integralsymbol','openarrow','slash','unfilledarrow'] + assert (self.Name in ['blankedarrow','blankedbox','blankeddot','dimensionorigin','filledarrow','filledbox','filleddot','integralsymbol','openarrow','slash','unfilledarrow']) is not False @@ -11541,7 +11548,7 @@ class IfcProcedure_WR1: def __call__(self): - assert (sizeof([temp for temp in self.Decomposes if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Decomposes if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0) is not False @@ -11555,7 +11562,7 @@ class IfcProcedure_WR2: def __call__(self): - assert (sizeof([temp for temp in self.IsDecomposedBy if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.IsDecomposedBy if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0) is not False @@ -11569,7 +11576,7 @@ class IfcProcedure_WR3: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11583,7 +11590,7 @@ class IfcProcedure_WR4: def __call__(self): proceduretype = self.ProcedureType - assert (proceduretype != IfcProcedureTypeEnum.USERDEFINED) or ((proceduretype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.UserDefinedProcedureType)) + assert ((proceduretype != IfcProcedureTypeEnum.USERDEFINED) or ((proceduretype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.UserDefinedProcedureType))) is not False @@ -11602,7 +11609,7 @@ class IfcProduct_WR1: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and (not 'ifc2x3.ifcproductdefinitionshape' in typeof(representation))) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and (not 'ifc2x3.ifcproductdefinitionshape' in typeof(representation))) or (not exists(representation))) is not False @@ -11617,7 +11624,7 @@ class IfcProductDefinitionShape_WR11: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc2x3.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc2x3.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -11644,7 +11651,7 @@ class IfcProject_WR31: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11658,7 +11665,7 @@ class IfcProject_WR32: def __call__(self): representationcontexts = self.RepresentationContexts - assert (sizeof([temp for temp in representationcontexts if 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representationcontexts if 'ifc2x3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) is not False @@ -11672,7 +11679,7 @@ class IfcProject_WR33: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -11703,7 +11710,7 @@ class IfcPropertyBoundedValue_WR21: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -11718,7 +11725,7 @@ class IfcPropertyBoundedValue_WR22: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert exists(upperboundvalue) or exists(lowerboundvalue) + assert (exists(upperboundvalue) or exists(lowerboundvalue)) is not False @@ -11740,7 +11747,7 @@ class IfcPropertyDependencyRelationship_WR1: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -11756,7 +11763,7 @@ class IfcPropertyEnumeratedValue_WR1: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -11771,7 +11778,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -11786,7 +11793,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -11804,7 +11811,7 @@ class IfcPropertySet_WR31: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11818,7 +11825,7 @@ class IfcPropertySet_WR32: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -11840,7 +11847,7 @@ class IfcPropertyTableValue_WR1: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert sizeof(definingvalues) == sizeof(definedvalues) + assert (sizeof(definingvalues) == sizeof(definedvalues)) is not False @@ -11854,7 +11861,7 @@ class IfcPropertyTableValue_WR2: def __call__(self): - assert (sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0 + assert ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) is not False @@ -11868,7 +11875,7 @@ class IfcPropertyTableValue_WR3: def __call__(self): - assert (sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0 + assert ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) is not False @@ -11886,7 +11893,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11901,7 +11908,7 @@ class IfcPumpType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11916,7 +11923,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -11930,7 +11937,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -11945,7 +11952,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -11960,7 +11967,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -11974,7 +11981,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -11989,7 +11996,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -12003,7 +12010,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -12018,7 +12025,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -12032,7 +12039,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -12047,7 +12054,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -12061,7 +12068,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -12079,7 +12086,7 @@ class IfcRailing_WR61: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12097,7 +12104,7 @@ class IfcRamp_WR1: def __call__(self): - assert (hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation))) + assert ((hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation)))) is not False @@ -12118,7 +12125,7 @@ class IfcRationalBezierCurve_WR1: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -12132,7 +12139,7 @@ class IfcRationalBezierCurve_WR2: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -12154,7 +12161,7 @@ class IfcRectangleHollowProfileDef_WR31: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -12168,7 +12175,7 @@ class IfcRectangleHollowProfileDef_WR32: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -12183,7 +12190,7 @@ class IfcRectangleHollowProfileDef_WR33: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -12205,7 +12212,7 @@ class IfcRectangularTrimmedSurface_WR1: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -12220,7 +12227,7 @@ class IfcRectangularTrimmedSurface_WR2: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -12237,7 +12244,7 @@ class IfcRectangularTrimmedSurface_WR3: u2 = self.U2 usense = self.Usense - assert (('ifc2x3.ifcelementarysurface' in typeof(basissurface)) and (not 'ifc2x3.ifcplane' in typeof(basissurface))) or ('ifc2x3.ifcsurfaceofrevolution' in typeof(basissurface)) or (usense == (u2 > u1)) + 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 @@ -12253,7 +12260,7 @@ class IfcRectangularTrimmedSurface_WR4: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -12287,7 +12294,7 @@ class IfcReinforcingBar_WR1: def __call__(self): barrole = self.BarRole - assert (barrole != IfcReinforcingBarRoleEnum.USERDEFINED) or ((barrole == IfcReinforcingBarRoleEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((barrole != IfcReinforcingBarRoleEnum.USERDEFINED) or ((barrole == IfcReinforcingBarRoleEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12312,7 +12319,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -12327,7 +12334,7 @@ class IfcRelAssignsTasks_WR1: def __call__(self): - assert hiindex(self.RelatedObjects) == 1 + assert (hiindex(self.RelatedObjects) == 1) is not False @@ -12341,7 +12348,7 @@ class IfcRelAssignsTasks_WR2: def __call__(self): - assert 'ifc2x3.ifctask' in (typeof(self.RelatedObjects[1 - 1])) + assert ('ifc2x3.ifctask' in (typeof(self.RelatedObjects[1 - 1]))) is not False @@ -12355,7 +12362,7 @@ class IfcRelAssignsTasks_WR3: def __call__(self): - assert 'ifc2x3.ifcworkcontrol' in typeof(self.RelatingControl) + assert ('ifc2x3.ifcworkcontrol' in typeof(self.RelatingControl)) is not False @@ -12370,7 +12377,7 @@ class IfcRelAssignsToActor_WR1: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -12385,7 +12392,7 @@ class IfcRelAssignsToControl_WR1: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -12400,7 +12407,7 @@ class IfcRelAssignsToGroup_WR1: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -12415,7 +12422,7 @@ class IfcRelAssignsToProcess_WR1: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -12430,7 +12437,7 @@ class IfcRelAssignsToProduct_WR1: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -12448,7 +12455,7 @@ class IfcRelAssignsToResource_WR1: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -12463,7 +12470,7 @@ class IfcRelAssociates_WR21: def __call__(self): relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if not ('ifc2x3.ifcobjectdefinition' in typeof(temp)) or ('ifc2x3.ifcpropertydefinition' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in relatedobjects if not ('ifc2x3.ifcobjectdefinition' in typeof(temp)) or ('ifc2x3.ifcpropertydefinition' in typeof(temp))])) == 0) is not False @@ -12496,7 +12503,7 @@ class IfcRelAssociatesMaterial_WR21: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc2x3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc2x3.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc2x3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc2x3.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -12510,7 +12517,7 @@ class IfcRelAssociatesMaterial_WR22: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (not 'ifc2x3.ifcproduct' in typeof(temp)) and (not 'ifc2x3.ifctypeproduct' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (not 'ifc2x3.ifcproduct' in typeof(temp)) and (not 'ifc2x3.ifctypeproduct' in typeof(temp))])) == 0) is not False @@ -12532,7 +12539,7 @@ class IfcRelConnectsElements_WR31: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -12571,7 +12578,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -12593,7 +12600,7 @@ class IfcRelDecomposes_WR31: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -12626,7 +12633,7 @@ class IfcRelNests_WR1: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if not typeof(self.RelatingObject) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if not typeof(self.RelatingObject) == typeof(temp)])) == 0) is not False @@ -12644,7 +12651,7 @@ class IfcRelOverridesProperties_WR1: def __call__(self): - assert sizeof(self.RelatedObjects) == 1 + assert (sizeof(self.RelatedObjects) == 1) is not False @@ -12662,7 +12669,7 @@ class IfcRelReferencedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc2x3.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -12677,7 +12684,7 @@ class IfcRelSchedulesCostItems_WR11: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if not 'ifc2x3.ifccostitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if not 'ifc2x3.ifccostitem' in typeof(temp)])) == 0) is not False @@ -12691,7 +12698,7 @@ class IfcRelSchedulesCostItems_WR12: def __call__(self): - assert 'ifc2x3.ifccostschedule' in typeof(self.RelatingControl) + assert ('ifc2x3.ifccostschedule' in typeof(self.RelatingControl)) is not False @@ -12707,7 +12714,7 @@ class IfcRelSequence_WR1: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -12726,7 +12733,7 @@ class IfcRelSpaceBoundary_WR1: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (exists(relatedbuildingelement) and (not 'ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement)))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and ((not exists(relatedbuildingelement)) or ('ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (exists(relatedbuildingelement) and (not 'ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement)))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and ((not exists(relatedbuildingelement)) or ('ifc2x3.ifcvirtualelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -12765,7 +12772,7 @@ class IfcRevolvedAreaSolid_WR31: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -12779,7 +12786,7 @@ class IfcRevolvedAreaSolid_WR32: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -12810,7 +12817,7 @@ class IfcRoof_WR1: def __call__(self): - assert (hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation))) + assert ((hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation)))) is not False @@ -12831,7 +12838,7 @@ class IfcRoundedRectangleProfileDef_WR31: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -12867,7 +12874,7 @@ class IfcSectionedSpine_WR1: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -12881,7 +12888,7 @@ class IfcSectionedSpine_WR2: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -12895,7 +12902,7 @@ class IfcSectionedSpine_WR3: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -12923,7 +12930,7 @@ class IfcServiceLifeFactor_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcServiceLifeFactorTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcServiceLifeFactorTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -12941,7 +12948,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -12956,7 +12963,7 @@ class IfcShapeRepresentation_WR21: def __call__(self): - assert 'ifc2x3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc2x3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -12970,7 +12977,7 @@ class IfcShapeRepresentation_WR22: def __call__(self): items = self.Items - 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 + 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 @@ -12984,7 +12991,7 @@ class IfcShapeRepresentation_WR23: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -12998,7 +13005,7 @@ class IfcShapeRepresentation_WR24: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -13027,7 +13034,7 @@ class IfcSlab_WR61: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13065,7 +13072,7 @@ class IfcSpaceHeaterType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13089,7 +13096,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc2x3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc2x3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc2x3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc2x3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc2x3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc2x3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -13113,7 +13120,7 @@ class IfcStair_WR1: def __call__(self): - assert (hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation))) + assert ((hiindex(self.IsDecomposedBy) == 0) or ((hiindex(self.IsDecomposedBy) == 1) and (not exists(self.Representation)))) is not False @@ -13161,7 +13168,7 @@ class IfcStructuralLinearAction_WR61: def __call__(self): - assert (sizeof(['ifc2x3.ifcstructuralloadlinearforce','ifc2x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc2x3.ifcstructuralloadlinearforce','ifc2x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -13217,7 +13224,7 @@ class IfcStructuralPlanarAction_WR61: def __call__(self): - assert (sizeof(['ifc2x3.ifcstructuralloadplanarforce','ifc2x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc2x3.ifcstructuralloadplanarforce','ifc2x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -13240,7 +13247,7 @@ class IfcStructuralPointAction_WR61: def __call__(self): - assert (sizeof(['ifc2x3.ifcstructuralloadsingleforce','ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc2x3.ifcstructuralloadsingleforce','ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -13258,7 +13265,7 @@ class IfcStructuralPointReaction_WR61: def __call__(self): - assert (sizeof(['ifc2x3.ifcstructuralloadsingleforce','ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc2x3.ifcstructuralloadsingleforce','ifc2x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -13273,7 +13280,7 @@ class IfcStructuralProfileProperties_WR21: def __call__(self): sheardeformationareay = self.ShearDeformationAreaY - assert (not exists(sheardeformationareay)) or (sheardeformationareay >= 0.) + assert ((not exists(sheardeformationareay)) or (sheardeformationareay >= 0.)) is not False @@ -13287,7 +13294,7 @@ class IfcStructuralProfileProperties_WR22: def __call__(self): sheardeformationareaz = self.ShearDeformationAreaZ - assert (not exists(sheardeformationareaz)) or (sheardeformationareaz >= 0.) + assert ((not exists(sheardeformationareaz)) or (sheardeformationareaz >= 0.)) is not False @@ -13308,7 +13315,7 @@ class IfcStructuralSteelProfileProperties_WR31: def __call__(self): shearareay = self.ShearAreaY - assert (not exists(shearareay)) or (shearareay >= 0.) + assert ((not exists(shearareay)) or (shearareay >= 0.)) is not False @@ -13322,7 +13329,7 @@ class IfcStructuralSteelProfileProperties_WR32: def __call__(self): shearareaz = self.ShearAreaZ - assert (not exists(shearareaz)) or (shearareaz >= 0.) + assert ((not exists(shearareaz)) or (shearareaz >= 0.)) is not False @@ -13343,7 +13350,7 @@ class IfcStructuralSurfaceMemberVarying_WR61: def __call__(self): - assert exists(self.Thickness) + assert (exists(self.Thickness)) is not False @@ -13357,7 +13364,7 @@ class IfcStructuralSurfaceMemberVarying_WR62: def __call__(self): - assert (sizeof([temp for temp in self.VaryingThicknessLocation.ShapeRepresentations if not sizeof(temp.Items) == 1])) == 0 + assert ((sizeof([temp for temp in self.VaryingThicknessLocation.ShapeRepresentations if not sizeof(temp.Items) == 1])) == 0) is not False @@ -13371,7 +13378,7 @@ class IfcStructuralSurfaceMemberVarying_WR63: def __call__(self): - assert (sizeof([temp for temp in self.VaryingThicknessLocation.ShapeRepresentations if not ('ifc2x3.ifccartesianpoint' in (typeof(temp.Items[1 - 1]))) or ('ifc2x3.ifcpointonsurface' in (typeof(temp.Items[1 - 1])))])) == 0 + assert ((sizeof([temp for temp in self.VaryingThicknessLocation.ShapeRepresentations if not ('ifc2x3.ifccartesianpoint' in (typeof(temp.Items[1 - 1]))) or ('ifc2x3.ifcpointonsurface' in (typeof(temp.Items[1 - 1])))])) == 0) is not False @@ -13393,7 +13400,7 @@ class IfcStructuredDimensionCallout_WR31: def __call__(self): contents = self.Contents - assert (sizeof([ato for ato in [con for con in self.contents if 'ifc2x3.ifcannotationtextoccurrence' in typeof(con)] if not ato.Name in ['dimensionvalue','tolerancevalue','unittext','prefixtext','suffixtext']])) == 0 + assert ((sizeof([ato for ato in [con for con in self.contents if 'ifc2x3.ifcannotationtextoccurrence' in typeof(con)] if not ato.Name in ['dimensionvalue','tolerancevalue','unittext','prefixtext','suffixtext']])) == 0) is not False @@ -13411,7 +13418,7 @@ class IfcStyledItem_WR11: def __call__(self): styles = self.Styles - assert sizeof(styles) == 1 + assert (sizeof(styles) == 1) is not False @@ -13425,7 +13432,7 @@ class IfcStyledItem_WR12: def __call__(self): item = self.Item - assert not 'ifc2x3.ifcstyleditem' in typeof(item) + assert (not 'ifc2x3.ifcstyleditem' in typeof(item)) is not False @@ -13440,7 +13447,7 @@ class IfcStyledRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc2x3.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc2x3.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -13467,7 +13474,7 @@ class IfcSurfaceOfLinearExtrusion_WR41: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -13498,7 +13505,7 @@ class IfcSurfaceStyle_WR11: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -13512,7 +13519,7 @@ class IfcSurfaceStyle_WR12: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -13526,7 +13533,7 @@ class IfcSurfaceStyle_WR13: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -13540,7 +13547,7 @@ class IfcSurfaceStyle_WR14: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc2x3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -13554,7 +13561,7 @@ class IfcSurfaceStyle_WR15: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc2x3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc2x3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -13587,7 +13594,7 @@ class IfcSweptAreaSolid_WR22: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -13602,7 +13609,7 @@ class IfcSweptDiskSolid_WR1: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -13617,7 +13624,7 @@ class IfcSweptDiskSolid_WR2: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -13632,7 +13639,7 @@ class IfcSweptSurface_WR1: def __call__(self): sweptcurve = self.SweptCurve - assert not 'ifc2x3.ifcderivedprofiledef' in typeof(sweptcurve) + assert (not 'ifc2x3.ifcderivedprofiledef' in typeof(sweptcurve)) is not False @@ -13646,7 +13653,7 @@ class IfcSweptSurface_WR2: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -13681,7 +13688,7 @@ class IfcTShapeProfileDef_WR1: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -13696,7 +13703,7 @@ class IfcTShapeProfileDef_WR2: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -13711,7 +13718,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -13725,7 +13732,7 @@ class IfcTable_WR2: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -13739,7 +13746,7 @@ class IfcTable_WR3: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -13778,7 +13785,7 @@ class IfcTankType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13793,7 +13800,7 @@ class IfcTask_WR1: def __call__(self): - assert (sizeof([temp for temp in self.Decomposes if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Decomposes if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0) is not False @@ -13807,7 +13814,7 @@ class IfcTask_WR2: def __call__(self): - assert (sizeof([temp for temp in self.IsDecomposedBy if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.IsDecomposedBy if not 'ifc2x3.ifcrelnests' in typeof(temp)])) == 0) is not False @@ -13821,7 +13828,7 @@ class IfcTask_WR3: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -13840,7 +13847,7 @@ class IfcTelecomAddress_WR1: electronicmailaddresses = self.ElectronicMailAddresses wwwhomepageurl = self.WWWHomePageURL - assert exists(telephonenumbers) or exists(pagernumber) or exists(facsimilenumbers) or exists(electronicmailaddresses) or exists(wwwhomepageurl) + assert (exists(telephonenumbers) or exists(pagernumber) or exists(facsimilenumbers) or exists(electronicmailaddresses) or exists(wwwhomepageurl)) is not False @@ -13855,7 +13862,7 @@ class IfcTendon_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13879,7 +13886,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc2x3.ifcplanarbox' in typeof(extent) + assert (not 'ifc2x3.ifcplanarbox' in typeof(extent)) is not False @@ -13897,7 +13904,7 @@ class IfcTextStyleFontModel_WR31: def __call__(self): - assert ('ifc2x3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc2x3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -13927,7 +13934,7 @@ class IfcTextureMap_WR11: def __call__(self): - assert (sizeof(['ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcfacetedbrep','ifc2x3.ifcfacetedbrepwithvoids'] * (typeof(self.AnnotatedSurface[1 - 1].Item)))) >= 1 + assert ((sizeof(['ifc2x3.ifcshellbasedsurfacemodel','ifc2x3.ifcfacebasedsurfacemodel','ifc2x3.ifcfacetedbrep','ifc2x3.ifcfacetedbrepwithvoids'] * (typeof(self.AnnotatedSurface[1 - 1].Item)))) >= 1) is not False @@ -13954,7 +13961,7 @@ class IfcTimeSeriesSchedule_WR41: def __call__(self): timeseriesscheduletype = self.TimeSeriesScheduleType - assert (not timeseriesscheduletype == IfcTimeSeriesScheduleTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not timeseriesscheduletype == IfcTimeSeriesScheduleTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -13975,7 +13982,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc2x3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc2x3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -13989,7 +13996,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -14003,7 +14010,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -14030,7 +14037,7 @@ class IfcTrimmedCurve_WR41: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -14044,7 +14051,7 @@ class IfcTrimmedCurve_WR42: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -14058,7 +14065,7 @@ class IfcTrimmedCurve_WR43: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc2x3.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc2x3.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -14073,7 +14080,7 @@ class IfcTubeBundleType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14091,7 +14098,7 @@ class IfcTypeObject_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -14106,7 +14113,7 @@ class IfcTypeProduct_WR41: def __call__(self): - assert (not exists(lambda: self.ObjectTypeOf[1 - 1])) or ((sizeof([temp for temp in self.ObjectTypeOf[1 - 1].RelatedObjects if not 'ifc2x3.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.ObjectTypeOf[1 - 1])) or ((sizeof([temp for temp in self.ObjectTypeOf[1 - 1].RelatedObjects if not 'ifc2x3.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -14122,7 +14129,7 @@ class IfcUShapeProfileDef_WR21: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -14137,7 +14144,7 @@ class IfcUShapeProfileDef_WR22: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -14152,7 +14159,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -14167,7 +14174,7 @@ class IfcUnitaryEquipmentType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14182,7 +14189,7 @@ class IfcValveType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14197,7 +14204,7 @@ class IfcVector_WR1: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -14231,7 +14238,7 @@ class IfcVibrationIsolatorType_WR1: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14252,7 +14259,7 @@ class IfcWall_WR1: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc2x3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc2x3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -14267,7 +14274,7 @@ class IfcWallStandardCase_WR1: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc2x3.ifcrelassociates.relatedobjects') if ('ifc2x3.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc2x3.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -14295,7 +14302,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not (not exists(liningdepth)) and exists(liningthickness) + assert (not (not exists(liningdepth)) and exists(liningthickness)) is not False @@ -14310,7 +14317,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -14325,7 +14332,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -14339,7 +14346,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc2x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -14360,7 +14367,7 @@ class IfcWorkControl_WR1: def __call__(self): workcontroltype = self.WorkControlType - assert (workcontroltype != IfcWorkControlTypeEnum.USERDEFINED) or ((workcontroltype == IfcWorkControlTypeEnum.USERDEFINED) and exists(self.UserDefinedControlType)) + assert ((workcontroltype != IfcWorkControlTypeEnum.USERDEFINED) or ((workcontroltype == IfcWorkControlTypeEnum.USERDEFINED) and exists(self.UserDefinedControlType))) is not False @@ -14382,7 +14389,7 @@ class IfcZShapeProfileDef_WR21: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -14397,7 +14404,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not ('ifc2x3.ifczone' in typeof(temp)) or ('ifc2x3.ifcspace' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.IsGroupedBy.RelatedObjects if not ('ifc2x3.ifczone' in typeof(temp)) or ('ifc2x3.ifcspace' in typeof(temp))])) == 0) is not False @@ -14417,7 +14424,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -14432,7 +14439,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py index bdb8a0a53f..98dbb94658 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -8019,7 +8026,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -8058,7 +8065,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -8109,7 +8116,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -8123,7 +8130,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -8137,7 +8144,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -8151,7 +8158,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -8253,7 +8260,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -8268,7 +8275,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -8295,7 +8302,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -8457,7 +8464,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -8472,7 +8479,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -8487,7 +8494,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -8544,7 +8551,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -8739,7 +8746,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -8757,7 +8764,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -8772,7 +8779,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -8811,7 +8818,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -8865,7 +8872,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -8880,7 +8887,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -8895,7 +8902,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -8910,7 +8917,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9132,7 +9139,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -9222,7 +9229,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -9237,7 +9244,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -9261,7 +9268,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -9420,7 +9427,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -9435,7 +9442,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9449,7 +9456,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9464,7 +9471,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9479,7 +9486,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -9494,7 +9501,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -9509,7 +9516,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -9524,7 +9531,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4.ifcelementarysurface','ifc4.ifcsweptsurface','ifc4.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4.ifcelementarysurface','ifc4.ifcsweptsurface','ifc4.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -9538,7 +9545,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -9552,7 +9559,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4.ifcline','ifc4.ifcconic','ifc4.ifcpolyline','ifc4.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4.ifcline','ifc4.ifcconic','ifc4.ifcpolyline','ifc4.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -9567,7 +9574,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9581,7 +9588,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9596,7 +9603,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9610,7 +9617,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9625,7 +9632,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9640,7 +9647,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9655,7 +9662,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9669,7 +9676,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9684,7 +9691,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9699,7 +9706,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9713,7 +9720,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9728,7 +9735,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9756,7 +9763,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -9774,7 +9781,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -9788,7 +9795,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4.ifcline' in typeof(outercurve) + assert (not 'ifc4.ifcline' in typeof(outercurve)) is not False @@ -9802,7 +9809,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -9817,7 +9824,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -9831,7 +9838,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -9846,7 +9853,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -9860,7 +9867,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -9874,7 +9881,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4.ifcline' in typeof(temp)])) == 0) is not False @@ -9894,7 +9901,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -9910,7 +9917,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -9926,7 +9933,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -9942,7 +9949,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -9957,7 +9964,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9971,7 +9978,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9986,7 +9993,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10001,7 +10008,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10015,7 +10022,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10037,7 +10044,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -10051,7 +10058,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -10073,7 +10080,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10087,7 +10094,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10101,7 +10108,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -10116,7 +10123,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -10131,7 +10138,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -10154,7 +10161,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -10188,7 +10195,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -10203,7 +10210,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -10251,7 +10258,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -10267,7 +10274,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -10282,7 +10289,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -10297,7 +10304,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -10326,7 +10333,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10340,7 +10347,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10355,7 +10362,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -10370,7 +10377,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10385,7 +10392,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -10399,7 +10406,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -10417,7 +10424,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10431,7 +10438,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10446,7 +10453,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10461,7 +10468,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -10475,7 +10482,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -10489,7 +10496,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -10505,7 +10512,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -10519,7 +10526,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -10533,7 +10540,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -10558,7 +10565,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -10599,7 +10606,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -10617,7 +10624,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -10632,7 +10639,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10646,7 +10653,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10661,7 +10668,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10676,7 +10683,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -10690,7 +10697,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10704,7 +10711,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10719,7 +10726,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10743,7 +10750,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10757,7 +10764,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10772,7 +10779,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10788,7 +10795,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -10805,7 +10812,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -10821,7 +10828,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -10836,7 +10843,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10850,7 +10857,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10865,7 +10872,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10880,7 +10887,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10894,7 +10901,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10909,7 +10916,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10924,7 +10931,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10938,7 +10945,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10953,7 +10960,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10968,7 +10975,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10982,7 +10989,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10997,7 +11004,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11012,7 +11019,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -11048,7 +11055,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -11077,7 +11084,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -11091,7 +11098,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -11105,7 +11112,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -11127,7 +11134,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11149,7 +11156,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -11163,7 +11170,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -11177,7 +11184,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -11191,7 +11198,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -11213,7 +11220,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11227,7 +11234,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -11259,7 +11266,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11273,7 +11280,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11288,7 +11295,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11303,7 +11310,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11317,7 +11324,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11332,7 +11339,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11350,7 +11357,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -11383,7 +11390,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11397,7 +11404,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11412,7 +11419,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11436,7 +11443,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11450,7 +11457,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11465,7 +11472,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -11480,7 +11487,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11495,7 +11502,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11509,7 +11516,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11524,7 +11531,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11539,7 +11546,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -11553,7 +11560,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -11568,7 +11575,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -11582,7 +11589,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -11598,7 +11605,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -11612,7 +11619,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -11642,7 +11649,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -11664,7 +11671,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -11686,7 +11693,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -11700,7 +11707,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -11715,7 +11722,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11729,7 +11736,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11744,7 +11751,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11759,7 +11766,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11773,7 +11780,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11788,7 +11795,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11827,7 +11834,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -11842,7 +11849,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11857,7 +11864,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -11872,7 +11879,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11887,7 +11894,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -11902,7 +11909,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11917,7 +11924,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -11947,7 +11954,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11961,7 +11968,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11976,7 +11983,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11997,7 +12004,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12011,7 +12018,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12026,7 +12033,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12041,7 +12048,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12055,7 +12062,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12070,7 +12077,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12100,7 +12107,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12114,7 +12121,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12129,7 +12136,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12144,7 +12151,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12159,7 +12166,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12188,7 +12195,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12202,7 +12209,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12217,7 +12224,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12246,7 +12253,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -12262,7 +12269,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -12283,7 +12290,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -12301,7 +12308,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12315,7 +12322,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12330,7 +12337,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12345,7 +12352,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -12360,7 +12367,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -12374,7 +12381,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -12402,7 +12409,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -12424,7 +12431,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12438,7 +12445,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12453,7 +12460,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12468,7 +12475,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12482,7 +12489,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12497,7 +12504,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12546,7 +12553,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -12561,7 +12568,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12577,7 +12584,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -12592,7 +12599,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -12607,7 +12614,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -12622,7 +12629,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -12636,7 +12643,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -12651,7 +12658,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -12672,7 +12679,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12687,7 +12694,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -12702,7 +12709,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -12717,7 +12724,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12731,7 +12738,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12746,7 +12753,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12761,7 +12768,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12775,7 +12782,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12790,7 +12797,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12805,7 +12812,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12819,7 +12826,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12834,7 +12841,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12856,7 +12863,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -12870,7 +12877,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -12892,7 +12899,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12906,7 +12913,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12921,7 +12928,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12936,7 +12943,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12950,7 +12957,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12965,7 +12972,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12980,7 +12987,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12994,7 +13001,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13009,7 +13016,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13024,7 +13031,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13038,7 +13045,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13053,7 +13060,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13068,7 +13075,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13082,7 +13089,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13097,7 +13104,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13112,7 +13119,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13126,7 +13133,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13141,7 +13148,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13159,7 +13166,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13173,7 +13180,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13188,7 +13195,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13209,7 +13216,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -13242,7 +13249,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13256,7 +13263,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13271,7 +13278,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13286,7 +13293,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13300,7 +13307,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13315,7 +13322,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13330,7 +13337,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13344,7 +13351,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13359,7 +13366,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13374,7 +13381,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13389,7 +13396,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -13407,7 +13414,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -13422,7 +13429,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -13445,7 +13452,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -13478,7 +13485,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -13493,7 +13500,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -13508,7 +13515,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -13549,7 +13556,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13563,7 +13570,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13578,7 +13585,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13593,7 +13600,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13607,7 +13614,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13622,7 +13629,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13643,7 +13650,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -13657,7 +13664,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -13672,7 +13679,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4.ifccolour' in typeof(style)])) <= 1) is not False @@ -13686,7 +13693,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -13700,7 +13707,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -13715,7 +13722,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -13729,7 +13736,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -13747,7 +13754,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13761,7 +13768,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13776,7 +13783,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13791,7 +13798,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13805,7 +13812,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13820,7 +13827,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13837,7 +13844,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -13864,7 +13871,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13878,7 +13885,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13893,7 +13900,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13908,7 +13915,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13922,7 +13929,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13937,7 +13944,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13982,7 +13989,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13996,7 +14003,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14011,7 +14018,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14032,7 +14039,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14046,7 +14053,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14061,7 +14068,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14076,7 +14083,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14090,7 +14097,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14105,7 +14112,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14120,7 +14127,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4.ifcsurface' in typeof(temp)])) == 0) is not False @@ -14135,7 +14142,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -14153,7 +14160,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -14168,7 +14175,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -14182,7 +14189,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -14225,7 +14232,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -14247,7 +14254,7 @@ class IfcGrid_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -14262,7 +14269,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -14278,7 +14285,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -14307,7 +14314,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14321,7 +14328,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14336,7 +14343,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14351,7 +14358,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14365,7 +14372,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14380,7 +14387,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14396,7 +14403,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -14411,7 +14418,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -14429,7 +14436,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -14450,7 +14457,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (sizeof(segments) == 0) or IfcConsecutiveSegments(segments) + assert ((sizeof(segments) == 0) or IfcConsecutiveSegments(segments)) is not False @@ -14477,7 +14484,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14491,7 +14498,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14506,7 +14513,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14521,7 +14528,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -14535,7 +14542,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -14559,7 +14566,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14573,7 +14580,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14588,7 +14595,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14605,7 +14612,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -14620,7 +14627,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14635,7 +14642,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14653,7 +14660,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14667,7 +14674,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14682,7 +14689,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14706,7 +14713,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14720,7 +14727,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14735,7 +14742,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14772,7 +14779,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -14788,7 +14795,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -14830,7 +14837,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -14845,7 +14852,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -14877,7 +14884,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -14916,7 +14923,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14930,7 +14937,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14945,7 +14952,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14960,7 +14967,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14974,7 +14981,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14989,7 +14996,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15004,7 +15011,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15018,7 +15025,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15033,7 +15040,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -15048,7 +15055,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15077,7 +15084,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15091,7 +15098,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15106,7 +15113,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15121,7 +15128,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -15136,7 +15143,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -15157,7 +15164,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -15172,7 +15179,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -15187,7 +15194,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -15202,7 +15209,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -15232,7 +15239,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4.ifcorientededge' in typeof(edgeelement)) is not False @@ -15266,7 +15273,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15280,7 +15287,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15295,7 +15302,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15311,7 +15318,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -15329,7 +15336,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -15344,7 +15351,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -15370,7 +15377,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -15386,7 +15393,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -15404,7 +15411,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -15418,7 +15425,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -15439,7 +15446,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15453,7 +15460,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15468,7 +15475,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15483,7 +15490,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15497,7 +15504,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15512,7 +15519,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15527,7 +15534,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15541,7 +15548,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15556,7 +15563,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15571,7 +15578,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -15585,7 +15592,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -15599,7 +15606,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -15615,7 +15622,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -15629,7 +15636,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -15661,7 +15668,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15675,7 +15682,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15690,7 +15697,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -15705,7 +15712,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15739,7 +15746,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -15754,7 +15761,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -15768,7 +15775,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4.ifcpolyline','ifc4.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4.ifcpolyline','ifc4.ifccompositecurve'])) == 1) is not False @@ -15786,7 +15793,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -15810,7 +15817,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -15846,7 +15853,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4.ifcshaperepresentation','ifc4.ifcgeometricrepresentationitem','ifc4.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4.ifcshaperepresentation','ifc4.ifcgeometricrepresentationitem','ifc4.ifcmappeditem'])) == 1])) == sizeof(assigneditems)) is not False @@ -15861,7 +15868,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4.ifcgeometricrepresentationitem','ifc4.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4.ifcgeometricrepresentationitem','ifc4.ifcmappeditem'])) == 1])) == sizeof(assigneditems)) is not False @@ -15882,7 +15889,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -15896,7 +15903,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15911,7 +15918,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15930,7 +15937,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -15945,7 +15952,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -15969,7 +15976,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -15983,7 +15990,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -15997,7 +16004,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -16018,7 +16025,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -16043,7 +16050,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -16058,7 +16065,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -16073,7 +16080,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -16092,7 +16099,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -16108,7 +16115,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -16123,7 +16130,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16138,7 +16145,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16156,7 +16163,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16170,7 +16177,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -16188,7 +16195,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16202,7 +16209,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -16221,7 +16228,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -16235,7 +16242,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -16249,7 +16256,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -16270,7 +16277,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16284,7 +16291,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16299,7 +16306,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16313,7 +16320,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16328,7 +16335,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16343,7 +16350,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16358,7 +16365,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16373,7 +16380,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16387,7 +16394,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16402,7 +16409,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16417,7 +16424,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -16431,7 +16438,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -16446,7 +16453,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -16461,7 +16468,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -16475,7 +16482,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -16493,7 +16500,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -16507,7 +16514,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -16522,7 +16529,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -16536,7 +16543,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -16551,7 +16558,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -16565,7 +16572,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -16580,7 +16587,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16594,7 +16601,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16609,7 +16616,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16624,7 +16631,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16638,7 +16645,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16653,7 +16660,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16667,7 +16674,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16682,7 +16689,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16697,7 +16704,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16712,7 +16719,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -16726,7 +16733,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -16748,7 +16755,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -16762,7 +16769,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -16786,7 +16793,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -16801,7 +16808,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -16815,7 +16822,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -16837,7 +16844,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -16852,7 +16859,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -16869,7 +16876,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - assert (('ifc4.ifcelementarysurface' in typeof(basissurface)) and (not 'ifc4.ifcplane' in typeof(basissurface))) or ('ifc4.ifcsurfaceofrevolution' in typeof(basissurface)) or (usense == (u2 > u1)) + 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 @@ -16885,7 +16892,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -16915,7 +16922,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16929,7 +16936,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16944,7 +16951,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16959,7 +16966,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -16980,7 +16987,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16994,7 +17001,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17009,7 +17016,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17024,7 +17031,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -17040,7 +17047,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -17056,7 +17063,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -17071,7 +17078,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -17086,7 +17093,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -17101,7 +17108,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -17119,7 +17126,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -17134,7 +17141,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -17149,7 +17156,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -17182,7 +17189,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -17196,7 +17203,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4.ifcelement','ifc4.ifcelementtype','ifc4.ifcwindowstyle','ifc4.ifcdoorstyle','ifc4.ifcstructuralmember','ifc4.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4.ifcelement','ifc4.ifcelementtype','ifc4.ifcwindowstyle','ifc4.ifcdoorstyle','ifc4.ifcstructuralmember','ifc4.ifcport'])) == 0])) == 0) is not False @@ -17215,7 +17222,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -17230,7 +17237,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -17244,7 +17251,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -17263,7 +17270,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -17290,7 +17297,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -17312,7 +17319,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -17336,7 +17343,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4.ifctypeobject' in typeof(types)])) == 0) is not False @@ -17364,7 +17371,7 @@ class IfcRelInterferesElements_NotSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -17380,7 +17387,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -17398,7 +17405,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4.ifcspace' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in relatedelements if ('ifc4.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4.ifcspace' in typeof(temp))])) == 0) is not False @@ -17414,7 +17421,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -17429,7 +17436,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -17448,7 +17455,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -17475,7 +17482,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -17499,7 +17506,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -17529,7 +17536,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -17543,7 +17550,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -17565,7 +17572,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -17586,7 +17593,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17600,7 +17607,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17615,7 +17622,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17633,7 +17640,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -17656,7 +17663,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17670,7 +17677,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17685,7 +17692,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17703,7 +17710,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17717,7 +17724,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17739,7 +17746,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -17753,7 +17760,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -17767,7 +17774,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -17789,7 +17796,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17803,7 +17810,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17818,7 +17825,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17833,7 +17840,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17847,7 +17854,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17862,7 +17869,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17880,7 +17887,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -17895,7 +17902,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -17909,7 +17916,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -17923,7 +17930,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -17937,7 +17944,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -17951,7 +17958,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -17983,7 +17990,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17997,7 +18004,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18012,7 +18019,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -18027,7 +18034,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -18042,7 +18049,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18060,7 +18067,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18074,7 +18081,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18089,7 +18096,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18112,7 +18119,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18126,7 +18133,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18141,7 +18148,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18155,7 +18162,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18170,7 +18177,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18185,7 +18192,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18206,7 +18213,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -18224,7 +18231,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18238,7 +18245,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18253,7 +18260,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18274,7 +18281,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18288,7 +18295,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18303,7 +18310,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18318,7 +18325,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18332,7 +18339,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18347,7 +18354,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18361,7 +18368,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18376,7 +18383,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18391,7 +18398,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18412,7 +18419,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18433,7 +18440,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -18447,7 +18454,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18461,7 +18468,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -18479,7 +18486,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18497,7 +18504,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18511,7 +18518,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -18529,7 +18536,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4.ifcstructuralloadlinearforce','ifc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4.ifcstructuralloadlinearforce','ifc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18543,7 +18550,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -18561,7 +18568,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -18577,7 +18584,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -18594,7 +18601,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -18639,7 +18646,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4.ifcstructuralloadplanarforce','ifc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4.ifcstructuralloadplanarforce','ifc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18653,7 +18660,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -18668,7 +18675,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4.ifcstructuralloadsingleforce','ifc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4.ifcstructuralloadsingleforce','ifc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18686,7 +18693,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4.ifcstructuralloadsingleforce','ifc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4.ifcstructuralloadsingleforce','ifc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18704,7 +18711,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18719,7 +18726,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -18733,7 +18740,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18751,7 +18758,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18769,7 +18776,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18787,7 +18794,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4.ifcstyleditem' in typeof(item) + assert (not 'ifc4.ifcstyleditem' in typeof(item)) is not False @@ -18802,7 +18809,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -18817,7 +18824,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18832,7 +18839,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -18858,7 +18865,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -18872,7 +18879,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4.ifcpcurve' in typeof(curve3d)) is not False @@ -18896,7 +18903,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -18911,7 +18918,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18926,7 +18933,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -18959,7 +18966,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -18973,7 +18980,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -18987,7 +18994,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -19001,7 +19008,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -19016,7 +19023,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -19030,7 +19037,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -19044,7 +19051,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -19058,7 +19065,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -19072,7 +19079,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -19105,7 +19112,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -19120,7 +19127,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -19135,7 +19142,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -19151,7 +19158,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4.ifcconic','ifc4.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -19166,7 +19173,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -19180,7 +19187,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4.ifcpolyline' in typeof(self.Directrix)) or (('ifc4.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4.ifcpolyline' in typeof(self.Directrix)) or (('ifc4.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -19195,7 +19202,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -19210,7 +19217,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19224,7 +19231,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19239,7 +19246,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19257,7 +19264,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19271,7 +19278,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19286,7 +19293,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19302,7 +19309,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -19317,7 +19324,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -19332,7 +19339,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -19346,7 +19353,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -19388,7 +19395,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19402,7 +19409,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19417,7 +19424,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19432,7 +19439,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19446,7 +19453,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19467,7 +19474,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -19487,7 +19494,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -19502,7 +19509,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19516,7 +19523,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19531,7 +19538,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19545,7 +19552,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19560,7 +19567,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19575,7 +19582,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19604,7 +19611,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4.ifcplanarbox' in typeof(extent) + assert (not 'ifc4.ifcplanarbox' in typeof(extent)) is not False @@ -19622,7 +19629,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -19670,7 +19677,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -19684,7 +19691,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -19698,7 +19705,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -19714,7 +19721,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -19729,7 +19736,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19743,7 +19750,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19758,7 +19765,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19773,7 +19780,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19787,7 +19794,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19802,7 +19809,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19828,7 +19835,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -19842,7 +19849,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -19856,7 +19863,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -19871,7 +19878,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19885,7 +19892,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19900,7 +19907,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19915,7 +19922,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19929,7 +19936,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -19947,7 +19954,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -19966,7 +19973,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -19981,7 +19988,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -19996,7 +20003,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -20011,7 +20018,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20025,7 +20032,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20040,7 +20047,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20055,7 +20062,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20069,7 +20076,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20084,7 +20091,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20099,7 +20106,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20113,7 +20120,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20128,7 +20135,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20143,7 +20150,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -20174,7 +20181,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20188,7 +20195,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20203,7 +20210,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20224,7 +20231,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -20239,7 +20246,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20253,7 +20260,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20268,7 +20275,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -20283,7 +20290,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4.ifcrelassociates.relatedobjects') if ('ifc4.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -20298,7 +20305,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20313,7 +20320,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20327,7 +20334,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20342,7 +20349,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20357,7 +20364,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20373,7 +20380,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -20388,7 +20395,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -20403,7 +20410,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -20417,7 +20424,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -20432,7 +20439,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -20453,7 +20460,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20468,7 +20475,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20486,7 +20493,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20501,7 +20508,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20520,7 +20527,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -20535,7 +20542,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4.ifczone' in typeof(temp)) or ('ifc4.ifcspace' in typeof(temp)) or ('ifc4.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4.ifczone' in typeof(temp)) or ('ifc4.ifcspace' in typeof(temp)) or ('ifc4.ifcspatialzone' in typeof(temp))])) == 0)) is not False @@ -20555,7 +20562,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -20570,7 +20577,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py index e12dc26767..d48221a2f3 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -8145,7 +8152,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -8184,7 +8191,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -8235,7 +8242,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -8249,7 +8256,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -8263,7 +8270,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -8277,7 +8284,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -8379,7 +8386,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -8394,7 +8401,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -8421,7 +8428,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -8583,7 +8590,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -8598,7 +8605,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -8613,7 +8620,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -8670,7 +8677,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -8865,7 +8872,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -8883,7 +8890,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -8898,7 +8905,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -8937,7 +8944,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -8991,7 +8998,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -9006,7 +9013,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9021,7 +9028,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9036,7 +9043,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9261,7 +9268,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -9351,7 +9358,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -9366,7 +9373,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -9390,7 +9397,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -9552,7 +9559,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -9567,7 +9574,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9581,7 +9588,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9596,7 +9603,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9611,7 +9618,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -9626,7 +9633,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x1.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x1.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -9641,7 +9648,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x1.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x1.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -9656,7 +9663,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x1.ifcelementarysurface','ifc4x1.ifcsweptsurface','ifc4x1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x1.ifcelementarysurface','ifc4x1.ifcsweptsurface','ifc4x1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -9670,7 +9677,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -9684,7 +9691,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x1.ifcline','ifc4x1.ifcconic','ifc4x1.ifcpolyline','ifc4x1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x1.ifcline','ifc4x1.ifcconic','ifc4x1.ifcpolyline','ifc4x1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -9699,7 +9706,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9713,7 +9720,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9728,7 +9735,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9742,7 +9749,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9757,7 +9764,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9772,7 +9779,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9787,7 +9794,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9801,7 +9808,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9816,7 +9823,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9831,7 +9838,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9845,7 +9852,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9860,7 +9867,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9918,7 +9925,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -9936,7 +9943,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -9950,7 +9957,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x1.ifcline' in typeof(outercurve) + assert (not 'ifc4x1.ifcline' in typeof(outercurve)) is not False @@ -9964,7 +9971,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x1.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x1.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -9979,7 +9986,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -9993,7 +10000,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -10008,7 +10015,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -10022,7 +10029,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -10036,7 +10043,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x1.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x1.ifcline' in typeof(temp)])) == 0) is not False @@ -10056,7 +10063,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -10072,7 +10079,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -10088,7 +10095,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -10104,7 +10111,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -10119,7 +10126,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10133,7 +10140,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10148,7 +10155,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10163,7 +10170,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10177,7 +10184,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10199,7 +10206,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -10213,7 +10220,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -10235,7 +10242,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10249,7 +10256,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10263,7 +10270,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -10278,7 +10285,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -10293,7 +10300,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -10316,7 +10323,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -10350,7 +10357,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -10365,7 +10372,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -10413,7 +10420,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -10429,7 +10436,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -10444,7 +10451,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -10459,7 +10466,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -10488,7 +10495,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10502,7 +10509,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10517,7 +10524,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -10532,7 +10539,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10547,7 +10554,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -10561,7 +10568,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -10579,7 +10586,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10593,7 +10600,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10608,7 +10615,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10623,7 +10630,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x1.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x1.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -10637,7 +10644,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x1.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x1.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -10651,7 +10658,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -10667,7 +10674,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -10681,7 +10688,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -10695,7 +10702,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -10720,7 +10727,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -10761,7 +10768,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x1.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x1.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -10779,7 +10786,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -10794,7 +10801,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10808,7 +10815,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10823,7 +10830,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10838,7 +10845,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -10852,7 +10859,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10866,7 +10873,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10881,7 +10888,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10905,7 +10912,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10919,7 +10926,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10934,7 +10941,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10950,7 +10957,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -10967,7 +10974,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -10983,7 +10990,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -10998,7 +11005,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11012,7 +11019,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11027,7 +11034,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11042,7 +11049,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11056,7 +11063,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11071,7 +11078,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11086,7 +11093,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11100,7 +11107,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11115,7 +11122,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11130,7 +11137,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11144,7 +11151,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11159,7 +11166,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11174,7 +11181,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -11210,7 +11217,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -11239,7 +11246,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -11253,7 +11260,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -11267,7 +11274,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -11289,7 +11296,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11311,7 +11318,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -11325,7 +11332,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -11339,7 +11346,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -11353,7 +11360,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -11375,7 +11382,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11389,7 +11396,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -11421,7 +11428,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11435,7 +11442,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11450,7 +11457,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11465,7 +11472,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11479,7 +11486,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11494,7 +11501,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11512,7 +11519,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -11548,7 +11555,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11562,7 +11569,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11577,7 +11584,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11601,7 +11608,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11615,7 +11622,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11630,7 +11637,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -11645,7 +11652,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11660,7 +11667,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11674,7 +11681,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11689,7 +11696,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11704,7 +11711,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -11718,7 +11725,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -11733,7 +11740,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -11747,7 +11754,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -11763,7 +11770,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -11777,7 +11784,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -11807,7 +11814,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -11829,7 +11836,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x1.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x1.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -11851,7 +11858,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -11865,7 +11872,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x1.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x1.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -11880,7 +11887,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11894,7 +11901,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11909,7 +11916,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11924,7 +11931,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11938,7 +11945,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11953,7 +11960,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11992,7 +11999,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -12007,7 +12014,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12022,7 +12029,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12037,7 +12044,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12052,7 +12059,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12067,7 +12074,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12082,7 +12089,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12112,7 +12119,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12126,7 +12133,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12141,7 +12148,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12162,7 +12169,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12176,7 +12183,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12191,7 +12198,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12206,7 +12213,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12220,7 +12227,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12235,7 +12242,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12265,7 +12272,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12279,7 +12286,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12294,7 +12301,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12309,7 +12316,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12324,7 +12331,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12353,7 +12360,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12367,7 +12374,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12382,7 +12389,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12414,7 +12421,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -12430,7 +12437,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -12451,7 +12458,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -12469,7 +12476,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12483,7 +12490,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12498,7 +12505,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12513,7 +12520,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -12528,7 +12535,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -12542,7 +12549,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -12570,7 +12577,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -12592,7 +12599,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12606,7 +12613,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12621,7 +12628,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12639,7 +12646,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12653,7 +12660,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12668,7 +12675,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12717,7 +12724,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -12732,7 +12739,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12748,7 +12755,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -12763,7 +12770,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -12778,7 +12785,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -12793,7 +12800,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -12807,7 +12814,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -12822,7 +12829,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -12843,7 +12850,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12858,7 +12865,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -12873,7 +12880,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -12888,7 +12895,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12902,7 +12909,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12917,7 +12924,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12932,7 +12939,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12946,7 +12953,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12961,7 +12968,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12976,7 +12983,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12990,7 +12997,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13005,7 +13012,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13027,7 +13034,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -13041,7 +13048,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -13063,7 +13070,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13077,7 +13084,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13092,7 +13099,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13107,7 +13114,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13121,7 +13128,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13136,7 +13143,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13151,7 +13158,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13165,7 +13172,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13180,7 +13187,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13195,7 +13202,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13209,7 +13216,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13224,7 +13231,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13239,7 +13246,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13253,7 +13260,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13268,7 +13275,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13283,7 +13290,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13297,7 +13304,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13312,7 +13319,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13330,7 +13337,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13344,7 +13351,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13359,7 +13366,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13380,7 +13387,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -13413,7 +13420,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13427,7 +13434,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13442,7 +13449,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13457,7 +13464,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13471,7 +13478,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13486,7 +13493,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13501,7 +13508,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13515,7 +13522,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13530,7 +13537,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13545,7 +13552,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13560,7 +13567,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -13578,7 +13585,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -13593,7 +13600,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -13616,7 +13623,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -13649,7 +13656,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -13664,7 +13671,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -13679,7 +13686,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x1.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x1.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -13720,7 +13727,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13734,7 +13741,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13749,7 +13756,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13764,7 +13771,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13778,7 +13785,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13793,7 +13800,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13814,7 +13821,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -13828,7 +13835,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -13843,7 +13850,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x1.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x1.ifccolour' in typeof(style)])) <= 1) is not False @@ -13857,7 +13864,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -13871,7 +13878,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -13886,7 +13893,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -13900,7 +13907,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -13918,7 +13925,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13932,7 +13939,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13947,7 +13954,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13962,7 +13969,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13976,7 +13983,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13991,7 +13998,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14008,7 +14015,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14035,7 +14042,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14049,7 +14056,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14064,7 +14071,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14079,7 +14086,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14093,7 +14100,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14108,7 +14115,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14153,7 +14160,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14167,7 +14174,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14182,7 +14189,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14203,7 +14210,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14217,7 +14224,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14232,7 +14239,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14247,7 +14254,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14261,7 +14268,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14276,7 +14283,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14291,7 +14298,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x1.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x1.ifcsurface' in typeof(temp)])) == 0) is not False @@ -14306,7 +14313,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -14324,7 +14331,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -14339,7 +14346,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -14353,7 +14360,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -14396,7 +14403,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -14421,7 +14428,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -14437,7 +14444,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -14466,7 +14473,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14480,7 +14487,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14495,7 +14502,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14510,7 +14517,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14524,7 +14531,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14539,7 +14546,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14555,7 +14562,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -14570,7 +14577,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -14588,7 +14595,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -14609,7 +14616,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (sizeof(segments) == 0) or IfcConsecutiveSegments(segments) + assert ((sizeof(segments) == 0) or IfcConsecutiveSegments(segments)) is not False @@ -14636,7 +14643,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14650,7 +14657,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14665,7 +14672,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14680,7 +14687,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -14694,7 +14701,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -14718,7 +14725,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14732,7 +14739,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14747,7 +14754,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14764,7 +14771,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -14779,7 +14786,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14794,7 +14801,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14812,7 +14819,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14826,7 +14833,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14841,7 +14848,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14865,7 +14872,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14879,7 +14886,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14894,7 +14901,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14931,7 +14938,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -14956,7 +14963,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -14998,7 +15005,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x1.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x1.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -15013,7 +15020,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -15045,7 +15052,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -15084,7 +15091,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15098,7 +15105,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15113,7 +15120,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15128,7 +15135,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15142,7 +15149,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15157,7 +15164,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15172,7 +15179,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15186,7 +15193,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15201,7 +15208,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -15216,7 +15223,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15245,7 +15252,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15259,7 +15266,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15274,7 +15281,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15289,7 +15296,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -15304,7 +15311,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -15325,7 +15332,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -15340,7 +15347,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -15358,7 +15365,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -15373,7 +15380,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -15409,7 +15416,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x1.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x1.ifcorientededge' in typeof(edgeelement)) is not False @@ -15443,7 +15450,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15457,7 +15464,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15472,7 +15479,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15488,7 +15495,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -15506,7 +15513,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -15521,7 +15528,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -15547,7 +15554,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -15563,7 +15570,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -15581,7 +15588,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -15595,7 +15602,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -15616,7 +15623,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15630,7 +15637,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15645,7 +15652,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15660,7 +15667,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15674,7 +15681,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15689,7 +15696,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15704,7 +15711,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15718,7 +15725,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15733,7 +15740,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15748,7 +15755,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -15762,7 +15769,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -15776,7 +15783,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -15792,7 +15799,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -15806,7 +15813,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -15838,7 +15845,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15852,7 +15859,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15867,7 +15874,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -15882,7 +15889,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15916,7 +15923,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -15931,7 +15938,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -15945,7 +15952,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x1.ifcpolyline','ifc4x1.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x1.ifcpolyline','ifc4x1.ifccompositecurve'])) == 1) is not False @@ -15963,7 +15970,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -15981,7 +15988,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -16002,7 +16009,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -16038,7 +16045,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x1.ifcshaperepresentation','ifc4x1.ifcgeometricrepresentationitem','ifc4x1.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x1.ifcshaperepresentation','ifc4x1.ifcgeometricrepresentationitem','ifc4x1.ifcmappeditem'])) == 1])) == sizeof(assigneditems)) is not False @@ -16053,7 +16060,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x1.ifcgeometricrepresentationitem','ifc4x1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x1.ifcgeometricrepresentationitem','ifc4x1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -16074,7 +16081,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16088,7 +16095,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16103,7 +16110,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -16122,7 +16129,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -16137,7 +16144,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x1.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x1.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -16161,7 +16168,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16175,7 +16182,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -16189,7 +16196,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -16210,7 +16217,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -16235,7 +16242,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -16250,7 +16257,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -16265,7 +16272,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -16284,7 +16291,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -16300,7 +16307,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -16315,7 +16322,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16330,7 +16337,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16348,7 +16355,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16362,7 +16369,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -16380,7 +16387,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16394,7 +16401,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -16413,7 +16420,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -16427,7 +16434,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -16441,7 +16448,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -16462,7 +16469,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16476,7 +16483,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16491,7 +16498,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16505,7 +16512,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16520,7 +16527,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16535,7 +16542,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16550,7 +16557,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16565,7 +16572,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16579,7 +16586,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16594,7 +16601,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16609,7 +16616,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -16623,7 +16630,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -16638,7 +16645,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -16653,7 +16660,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -16667,7 +16674,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -16685,7 +16692,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -16699,7 +16706,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -16714,7 +16721,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -16728,7 +16735,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -16743,7 +16750,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -16757,7 +16764,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -16772,7 +16779,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16786,7 +16793,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16801,7 +16808,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16816,7 +16823,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16830,7 +16837,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16845,7 +16852,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16859,7 +16866,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16874,7 +16881,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16889,7 +16896,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16904,7 +16911,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -16918,7 +16925,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -16940,7 +16947,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -16954,7 +16961,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -16978,7 +16985,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -16993,7 +17000,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -17007,7 +17014,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -17029,7 +17036,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -17044,7 +17051,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -17061,7 +17068,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - assert (('ifc4x1.ifcelementarysurface' in typeof(basissurface)) and (not 'ifc4x1.ifcplane' in typeof(basissurface))) or ('ifc4x1.ifcsurfaceofrevolution' in typeof(basissurface)) or (usense == (u2 > u1)) + 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 @@ -17077,7 +17084,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -17110,7 +17117,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17124,7 +17131,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17139,7 +17146,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17154,7 +17161,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -17175,7 +17182,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17189,7 +17196,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17204,7 +17211,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17219,7 +17226,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -17235,7 +17242,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -17251,7 +17258,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -17266,7 +17273,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -17281,7 +17288,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -17296,7 +17303,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -17314,7 +17321,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -17329,7 +17336,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -17344,7 +17351,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -17377,7 +17384,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x1.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x1.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -17391,7 +17398,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x1.ifcelement','ifc4x1.ifcelementtype','ifc4x1.ifcwindowstyle','ifc4x1.ifcdoorstyle','ifc4x1.ifcstructuralmember','ifc4x1.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x1.ifcelement','ifc4x1.ifcelementtype','ifc4x1.ifcwindowstyle','ifc4x1.ifcdoorstyle','ifc4x1.ifcstructuralmember','ifc4x1.ifcport'])) == 0])) == 0) is not False @@ -17410,7 +17417,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -17425,7 +17432,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -17439,7 +17446,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -17458,7 +17465,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -17485,7 +17492,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x1.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x1.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -17507,7 +17514,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -17531,7 +17538,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x1.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x1.ifctypeobject' in typeof(types)])) == 0) is not False @@ -17559,7 +17566,7 @@ class IfcRelInterferesElements_NotSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -17575,7 +17582,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -17593,7 +17600,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x1.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x1.ifcspace' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in relatedelements if ('ifc4x1.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x1.ifcspace' in typeof(temp))])) == 0) is not False @@ -17609,7 +17616,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -17624,7 +17631,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -17643,7 +17650,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -17670,7 +17677,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -17694,7 +17701,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x1.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x1.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -17724,7 +17731,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -17738,7 +17745,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -17760,7 +17767,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -17781,7 +17788,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17795,7 +17802,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17810,7 +17817,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17828,7 +17835,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -17851,7 +17858,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17865,7 +17872,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17880,7 +17887,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17898,7 +17905,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17912,7 +17919,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17933,7 +17940,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -17947,7 +17954,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -17961,7 +17968,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -17977,7 +17984,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -17991,7 +17998,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0) is not False @@ -18007,7 +18014,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -18021,7 +18028,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -18035,7 +18042,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -18057,7 +18064,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18071,7 +18078,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18086,7 +18093,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18101,7 +18108,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18115,7 +18122,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18130,7 +18137,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18148,7 +18155,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -18163,7 +18170,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -18177,7 +18184,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -18191,7 +18198,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -18205,7 +18212,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -18219,7 +18226,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -18251,7 +18258,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18265,7 +18272,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18280,7 +18287,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -18295,7 +18302,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -18310,7 +18317,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18328,7 +18335,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18342,7 +18349,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18357,7 +18364,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18380,7 +18387,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18394,7 +18401,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18409,7 +18416,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18423,7 +18430,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18438,7 +18445,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18453,7 +18460,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18474,7 +18481,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -18492,7 +18499,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18506,7 +18513,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18521,7 +18528,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18542,7 +18549,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18556,7 +18563,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18571,7 +18578,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18586,7 +18593,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18600,7 +18607,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18615,7 +18622,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18629,7 +18636,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18644,7 +18651,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18659,7 +18666,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18680,7 +18687,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18701,7 +18708,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -18715,7 +18722,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18729,7 +18736,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -18747,7 +18754,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18765,7 +18772,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18779,7 +18786,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -18797,7 +18804,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x1.ifcstructuralloadlinearforce','ifc4x1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x1.ifcstructuralloadlinearforce','ifc4x1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18811,7 +18818,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -18829,7 +18836,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -18845,7 +18852,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -18862,7 +18869,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -18907,7 +18914,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x1.ifcstructuralloadplanarforce','ifc4x1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x1.ifcstructuralloadplanarforce','ifc4x1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18921,7 +18928,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -18936,7 +18943,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x1.ifcstructuralloadsingleforce','ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x1.ifcstructuralloadsingleforce','ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18954,7 +18961,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x1.ifcstructuralloadsingleforce','ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x1.ifcstructuralloadsingleforce','ifc4x1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -18972,7 +18979,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18987,7 +18994,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -19001,7 +19008,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19019,7 +19026,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19037,7 +19044,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19055,7 +19062,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x1.ifcstyleditem' in typeof(item) + assert (not 'ifc4x1.ifcstyleditem' in typeof(item)) is not False @@ -19070,7 +19077,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x1.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x1.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -19085,7 +19092,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19100,7 +19107,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -19126,7 +19133,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -19140,7 +19147,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x1.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x1.ifcpcurve' in typeof(curve3d)) is not False @@ -19164,7 +19171,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -19179,7 +19186,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19194,7 +19201,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -19227,7 +19234,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -19241,7 +19248,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -19255,7 +19262,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -19269,7 +19276,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -19284,7 +19291,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -19298,7 +19305,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -19312,7 +19319,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -19326,7 +19333,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -19340,7 +19347,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -19373,7 +19380,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -19388,7 +19395,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -19403,7 +19410,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -19419,7 +19426,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x1.ifcconic','ifc4x1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -19434,7 +19441,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -19448,7 +19455,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -19463,7 +19470,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -19478,7 +19485,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19492,7 +19499,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19507,7 +19514,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19525,7 +19532,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19539,7 +19546,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19554,7 +19561,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19570,7 +19577,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -19585,7 +19592,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -19600,7 +19607,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -19614,7 +19621,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -19656,7 +19663,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19670,7 +19677,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19685,7 +19692,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19700,7 +19707,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19714,7 +19721,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19735,7 +19742,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -19755,7 +19762,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -19770,7 +19777,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19784,7 +19791,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19799,7 +19806,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19813,7 +19820,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19828,7 +19835,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19843,7 +19850,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19872,7 +19879,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x1.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x1.ifcplanarbox' in typeof(extent)) is not False @@ -19890,7 +19897,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -19938,7 +19945,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -19952,7 +19959,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -19966,7 +19973,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -19982,7 +19989,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -19997,7 +20004,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20011,7 +20018,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20026,7 +20033,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20044,7 +20051,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20058,7 +20065,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20073,7 +20080,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20099,7 +20106,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -20114,7 +20121,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -20128,7 +20135,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -20142,7 +20149,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x1.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x1.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -20157,7 +20164,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20171,7 +20178,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20186,7 +20193,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20201,7 +20208,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -20215,7 +20222,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -20233,7 +20240,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x1.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x1.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -20252,7 +20259,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -20267,7 +20274,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -20282,7 +20289,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -20297,7 +20304,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20311,7 +20318,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20326,7 +20333,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20341,7 +20348,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20355,7 +20362,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20370,7 +20377,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20385,7 +20392,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20399,7 +20406,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20414,7 +20421,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20429,7 +20436,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -20460,7 +20467,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20474,7 +20481,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20489,7 +20496,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20510,7 +20517,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -20525,7 +20532,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20539,7 +20546,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20554,7 +20561,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -20569,7 +20576,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x1.ifcrelassociates.relatedobjects') if ('ifc4x1.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x1.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -20584,7 +20591,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20599,7 +20606,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20613,7 +20620,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20628,7 +20635,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20643,7 +20650,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20659,7 +20666,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -20674,7 +20681,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -20689,7 +20696,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -20703,7 +20710,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -20718,7 +20725,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -20739,7 +20746,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20754,7 +20761,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20772,7 +20779,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20787,7 +20794,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20806,7 +20813,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -20821,7 +20828,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x1.ifczone' in typeof(temp)) or ('ifc4x1.ifcspace' in typeof(temp)) or ('ifc4x1.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x1.ifczone' in typeof(temp)) or ('ifc4x1.ifcspace' in typeof(temp)) or ('ifc4x1.ifcspatialzone' in typeof(temp))])) == 0)) is not False @@ -20841,7 +20848,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -20856,7 +20863,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py index 2dc7f9a78e..7b77367e77 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -8514,7 +8521,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -8562,7 +8569,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -8613,7 +8620,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -8627,7 +8634,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -8641,7 +8648,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -8655,7 +8662,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -8757,7 +8764,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -8772,7 +8779,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -8799,7 +8806,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -8961,7 +8968,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -8976,7 +8983,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -8991,7 +8998,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -9048,7 +9055,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9243,7 +9250,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -9261,7 +9268,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -9276,7 +9283,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -9315,7 +9322,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -9369,7 +9376,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -9384,7 +9391,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9399,7 +9406,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9414,7 +9421,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -9639,7 +9646,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -9732,7 +9739,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -9747,7 +9754,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -9771,7 +9778,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -9936,7 +9943,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -9951,7 +9958,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -9965,7 +9972,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -9980,7 +9987,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -9995,7 +10002,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -10010,7 +10017,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x2.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x2.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -10025,7 +10032,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x2.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x2.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -10040,7 +10047,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x2.ifcelementarysurface','ifc4x2.ifcsweptsurface','ifc4x2.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x2.ifcelementarysurface','ifc4x2.ifcsweptsurface','ifc4x2.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -10054,7 +10061,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x2.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x2.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -10068,7 +10075,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x2.ifcline','ifc4x2.ifcconic','ifc4x2.ifcpolyline','ifc4x2.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x2.ifcline','ifc4x2.ifcconic','ifc4x2.ifcpolyline','ifc4x2.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -10083,7 +10090,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10097,7 +10104,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10112,7 +10119,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10126,7 +10133,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10141,7 +10148,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10156,7 +10163,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10171,7 +10178,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10185,7 +10192,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10200,7 +10207,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10215,7 +10222,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10229,7 +10236,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10244,7 +10251,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10302,7 +10309,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -10320,7 +10327,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -10334,7 +10341,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x2.ifcline' in typeof(outercurve) + assert (not 'ifc4x2.ifcline' in typeof(outercurve)) is not False @@ -10348,7 +10355,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x2.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x2.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -10363,7 +10370,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x2.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x2.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -10377,7 +10384,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -10392,7 +10399,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -10406,7 +10413,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -10420,7 +10427,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x2.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x2.ifcline' in typeof(temp)])) == 0) is not False @@ -10440,7 +10447,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -10456,7 +10463,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -10472,7 +10479,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -10488,7 +10495,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -10503,7 +10510,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10517,7 +10524,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10532,7 +10539,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10547,7 +10554,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10561,7 +10568,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10583,7 +10590,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -10597,7 +10604,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -10619,7 +10626,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -10633,7 +10640,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -10647,7 +10654,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -10662,7 +10669,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -10677,7 +10684,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -10700,7 +10707,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -10734,7 +10741,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -10749,7 +10756,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -10797,7 +10804,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -10813,7 +10820,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -10828,7 +10835,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -10843,7 +10850,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -10872,7 +10879,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10886,7 +10893,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10901,7 +10908,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -10916,7 +10923,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10931,7 +10938,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -10945,7 +10952,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -10960,7 +10967,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -10975,7 +10982,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -10989,7 +10996,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -11007,7 +11014,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11021,7 +11028,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11036,7 +11043,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11051,7 +11058,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x2.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x2.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x2.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x2.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x2.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x2.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -11065,7 +11072,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x2.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x2.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -11079,7 +11086,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -11095,7 +11102,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -11109,7 +11116,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x2.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x2.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -11123,7 +11130,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x2.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x2.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -11148,7 +11155,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -11189,7 +11196,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x2.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x2.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -11213,7 +11220,7 @@ class IfcBuildingElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x2.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -11228,7 +11235,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11242,7 +11249,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11257,7 +11264,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11272,7 +11279,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -11286,7 +11293,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11300,7 +11307,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11315,7 +11322,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11339,7 +11346,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11353,7 +11360,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11368,7 +11375,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11384,7 +11391,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -11401,7 +11408,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -11417,7 +11424,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -11432,7 +11439,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11446,7 +11453,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11461,7 +11468,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11476,7 +11483,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11490,7 +11497,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11505,7 +11512,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11520,7 +11527,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11534,7 +11541,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11549,7 +11556,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11564,7 +11571,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11578,7 +11585,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11593,7 +11600,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11608,7 +11615,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11622,7 +11629,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11637,7 +11644,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11652,7 +11659,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -11688,7 +11695,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -11717,7 +11724,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -11731,7 +11738,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -11745,7 +11752,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -11767,7 +11774,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11789,7 +11796,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -11803,7 +11810,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -11817,7 +11824,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -11831,7 +11838,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -11853,7 +11860,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -11867,7 +11874,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -11899,7 +11906,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11913,7 +11920,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11928,7 +11935,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11943,7 +11950,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11957,7 +11964,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11972,7 +11979,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11990,7 +11997,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -12026,7 +12033,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12040,7 +12047,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12055,7 +12062,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12079,7 +12086,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12093,7 +12100,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12108,7 +12115,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -12123,7 +12130,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12138,7 +12145,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12152,7 +12159,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12167,7 +12174,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12182,7 +12189,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -12196,7 +12203,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -12211,7 +12218,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -12225,7 +12232,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -12241,7 +12248,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -12255,7 +12262,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -12285,7 +12292,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -12307,7 +12314,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x2.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x2.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -12329,7 +12336,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -12343,7 +12350,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x2.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x2.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -12358,7 +12365,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12372,7 +12379,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12387,7 +12394,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12402,7 +12409,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12416,7 +12423,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12431,7 +12438,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12470,7 +12477,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -12485,7 +12492,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12500,7 +12507,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12515,7 +12522,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12530,7 +12537,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12545,7 +12552,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12560,7 +12567,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12590,7 +12597,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12604,7 +12611,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12619,7 +12626,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12640,7 +12647,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12654,7 +12661,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12669,7 +12676,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12684,7 +12691,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12698,7 +12705,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12713,7 +12720,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12743,7 +12750,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12757,7 +12764,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12772,7 +12779,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12787,7 +12794,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12802,7 +12809,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -12831,7 +12838,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12845,7 +12852,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12860,7 +12867,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12892,7 +12899,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x2.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x2.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x2.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x2.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -12908,7 +12915,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -12929,7 +12936,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -12947,7 +12954,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12961,7 +12968,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12976,7 +12983,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12991,7 +12998,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13009,7 +13016,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -13024,7 +13031,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -13038,7 +13045,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -13066,7 +13073,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -13088,7 +13095,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13102,7 +13109,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13117,7 +13124,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13135,7 +13142,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13149,7 +13156,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13164,7 +13171,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13213,7 +13220,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -13228,7 +13235,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13244,7 +13251,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -13259,7 +13266,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -13274,7 +13281,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -13289,7 +13296,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -13303,7 +13310,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -13318,7 +13325,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -13339,7 +13346,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13354,7 +13361,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -13369,7 +13376,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -13384,7 +13391,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13398,7 +13405,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13413,7 +13420,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13428,7 +13435,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13442,7 +13449,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13457,7 +13464,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13472,7 +13479,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13486,7 +13493,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13501,7 +13508,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13523,7 +13530,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -13537,7 +13544,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -13559,7 +13566,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13573,7 +13580,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13588,7 +13595,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13603,7 +13610,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13617,7 +13624,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13632,7 +13639,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13647,7 +13654,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13661,7 +13668,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13676,7 +13683,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13691,7 +13698,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13705,7 +13712,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13720,7 +13727,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13735,7 +13742,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13749,7 +13756,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13764,7 +13771,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13779,7 +13786,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13793,7 +13800,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13808,7 +13815,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13826,7 +13833,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13840,7 +13847,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13855,7 +13862,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13876,7 +13883,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -13909,7 +13916,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13923,7 +13930,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13938,7 +13945,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13953,7 +13960,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13967,7 +13974,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13982,7 +13989,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13997,7 +14004,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14011,7 +14018,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14026,7 +14033,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14041,7 +14048,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14056,7 +14063,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -14074,7 +14081,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -14089,7 +14096,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -14112,7 +14119,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -14145,7 +14152,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -14160,7 +14167,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -14175,7 +14182,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x2.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x2.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -14222,7 +14229,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14236,7 +14243,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14251,7 +14258,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14266,7 +14273,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14280,7 +14287,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14295,7 +14302,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14316,7 +14323,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -14330,7 +14337,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -14345,7 +14352,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x2.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x2.ifccolour' in typeof(style)])) <= 1) is not False @@ -14359,7 +14366,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x2.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x2.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -14373,7 +14380,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -14388,7 +14395,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -14402,7 +14409,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -14420,7 +14427,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14434,7 +14441,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14449,7 +14456,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14464,7 +14471,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14478,7 +14485,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14493,7 +14500,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14510,7 +14517,7 @@ class IfcFixedReferenceSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14537,7 +14544,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14551,7 +14558,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14566,7 +14573,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14581,7 +14588,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14595,7 +14602,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14610,7 +14617,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14655,7 +14662,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14669,7 +14676,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14684,7 +14691,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14705,7 +14712,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14719,7 +14726,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14734,7 +14741,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14749,7 +14756,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14763,7 +14770,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14778,7 +14785,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14793,7 +14800,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x2.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x2.ifcsurface' in typeof(temp)])) == 0) is not False @@ -14808,7 +14815,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -14826,7 +14833,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -14841,7 +14848,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -14855,7 +14862,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -14898,7 +14905,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -14923,7 +14930,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -14939,7 +14946,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -14968,7 +14975,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14982,7 +14989,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14997,7 +15004,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15012,7 +15019,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15026,7 +15033,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15041,7 +15048,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15057,7 +15064,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -15072,7 +15079,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -15090,7 +15097,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -15111,7 +15118,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (sizeof(segments) == 0) or IfcConsecutiveSegments(segments) + assert ((sizeof(segments) == 0) or IfcConsecutiveSegments(segments)) is not False @@ -15138,7 +15145,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15152,7 +15159,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15167,7 +15174,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15182,7 +15189,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -15196,7 +15203,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -15220,7 +15227,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15234,7 +15241,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15249,7 +15256,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15266,7 +15273,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -15281,7 +15288,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15296,7 +15303,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -15314,7 +15321,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15328,7 +15335,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15343,7 +15350,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15367,7 +15374,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15381,7 +15388,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15396,7 +15403,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15433,7 +15440,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -15458,7 +15465,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -15500,7 +15507,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x2.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x2.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -15515,7 +15522,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -15547,7 +15554,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -15586,7 +15593,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15600,7 +15607,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15615,7 +15622,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15630,7 +15637,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15644,7 +15651,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15659,7 +15666,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15674,7 +15681,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15688,7 +15695,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15703,7 +15710,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmaterialprofilesetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -15718,7 +15725,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15747,7 +15754,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15761,7 +15768,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15776,7 +15783,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15791,7 +15798,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -15806,7 +15813,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -15827,7 +15834,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -15842,7 +15849,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -15860,7 +15867,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -15875,7 +15882,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -15911,7 +15918,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x2.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x2.ifcorientededge' in typeof(edgeelement)) is not False @@ -15945,7 +15952,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15959,7 +15966,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15974,7 +15981,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15990,7 +15997,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -16008,7 +16015,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -16023,7 +16030,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -16049,7 +16056,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -16065,7 +16072,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -16083,7 +16090,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -16097,7 +16104,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -16118,7 +16125,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16132,7 +16139,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16147,7 +16154,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16162,7 +16169,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16176,7 +16183,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16191,7 +16198,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16206,7 +16213,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16220,7 +16227,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16235,7 +16242,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16250,7 +16257,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -16264,7 +16271,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -16278,7 +16285,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -16294,7 +16301,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -16308,7 +16315,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -16340,7 +16347,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16354,7 +16361,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16369,7 +16376,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -16384,7 +16391,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16418,7 +16425,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -16433,7 +16440,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -16447,7 +16454,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x2.ifcpolyline','ifc4x2.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x2.ifcpolyline','ifc4x2.ifccompositecurve'])) == 1) is not False @@ -16465,7 +16472,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -16483,7 +16490,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -16504,7 +16511,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -16540,7 +16547,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x2.ifcshaperepresentation','ifc4x2.ifcgeometricrepresentationitem','ifc4x2.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x2.ifcshaperepresentation','ifc4x2.ifcgeometricrepresentationitem','ifc4x2.ifcmappeditem'])) == 1])) == sizeof(assigneditems)) is not False @@ -16555,7 +16562,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x2.ifcgeometricrepresentationitem','ifc4x2.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x2.ifcgeometricrepresentationitem','ifc4x2.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -16576,7 +16583,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16590,7 +16597,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16605,7 +16612,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -16624,7 +16631,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x2.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x2.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -16639,7 +16646,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x2.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x2.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -16663,7 +16670,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16677,7 +16684,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x2.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -16691,7 +16698,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -16712,7 +16719,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -16737,7 +16744,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -16752,7 +16759,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -16767,7 +16774,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -16786,7 +16793,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -16802,7 +16809,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -16817,7 +16824,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16832,7 +16839,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -16850,7 +16857,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16864,7 +16871,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -16882,7 +16889,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -16896,7 +16903,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -16915,7 +16922,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -16929,7 +16936,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -16943,7 +16950,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -16964,7 +16971,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16978,7 +16985,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16993,7 +17000,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17007,7 +17014,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17022,7 +17029,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17037,7 +17044,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17052,7 +17059,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -17067,7 +17074,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17081,7 +17088,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17096,7 +17103,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17111,7 +17118,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -17125,7 +17132,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -17140,7 +17147,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -17155,7 +17162,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -17169,7 +17176,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -17187,7 +17194,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -17201,7 +17208,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -17216,7 +17223,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -17230,7 +17237,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -17245,7 +17252,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -17259,7 +17266,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -17274,7 +17281,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17288,7 +17295,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17303,7 +17310,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17318,7 +17325,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17332,7 +17339,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17347,7 +17354,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17361,7 +17368,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17376,7 +17383,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17391,7 +17398,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17406,7 +17413,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -17420,7 +17427,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -17442,7 +17449,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -17456,7 +17463,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -17480,7 +17487,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -17495,7 +17502,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -17509,7 +17516,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -17531,7 +17538,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -17546,7 +17553,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -17563,7 +17570,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - assert (('ifc4x2.ifcelementarysurface' in typeof(basissurface)) and (not 'ifc4x2.ifcplane' in typeof(basissurface))) or ('ifc4x2.ifcsurfaceofrevolution' in typeof(basissurface)) or (usense == (u2 > u1)) + 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 @@ -17579,7 +17586,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -17612,7 +17619,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17626,7 +17633,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17641,7 +17648,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17656,7 +17663,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -17677,7 +17684,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17691,7 +17698,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17706,7 +17713,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17721,7 +17728,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -17737,7 +17744,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -17753,7 +17760,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -17768,7 +17775,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -17783,7 +17790,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -17798,7 +17805,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -17816,7 +17823,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -17831,7 +17838,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -17846,7 +17853,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -17879,7 +17886,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x2.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x2.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x2.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x2.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -17893,7 +17900,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x2.ifcelement','ifc4x2.ifcelementtype','ifc4x2.ifcwindowstyle','ifc4x2.ifcdoorstyle','ifc4x2.ifcstructuralmember','ifc4x2.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x2.ifcelement','ifc4x2.ifcelementtype','ifc4x2.ifcwindowstyle','ifc4x2.ifcdoorstyle','ifc4x2.ifcstructuralmember','ifc4x2.ifcport'])) == 0])) == 0) is not False @@ -17912,7 +17919,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -17927,7 +17934,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -17941,7 +17948,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -17960,7 +17967,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -17987,7 +17994,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x2.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x2.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -18009,7 +18016,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -18033,7 +18040,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x2.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x2.ifctypeobject' in typeof(types)])) == 0) is not False @@ -18061,7 +18068,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -18077,7 +18084,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -18093,7 +18100,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -18111,7 +18118,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x2.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x2.ifcspace' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in relatedelements if ('ifc4x2.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x2.ifcspace' in typeof(temp))])) == 0) is not False @@ -18127,7 +18134,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -18142,7 +18149,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -18161,7 +18168,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x2.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x2.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x2.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -18188,7 +18195,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -18212,7 +18219,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x2.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x2.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -18242,7 +18249,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -18256,7 +18263,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -18278,7 +18285,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -18299,7 +18306,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18313,7 +18320,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18328,7 +18335,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18346,7 +18353,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -18369,7 +18376,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18383,7 +18390,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18398,7 +18405,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18416,7 +18423,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -18430,7 +18437,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -18451,7 +18458,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -18465,7 +18472,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -18479,7 +18486,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -18495,7 +18502,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -18509,7 +18516,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0) is not False @@ -18525,7 +18532,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -18539,7 +18546,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -18553,7 +18560,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -18575,7 +18582,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18589,7 +18596,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18604,7 +18611,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18619,7 +18626,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18633,7 +18640,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18648,7 +18655,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18666,7 +18673,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -18681,7 +18688,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x2.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x2.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -18695,7 +18702,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -18709,7 +18716,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -18723,7 +18730,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -18737,7 +18744,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -18769,7 +18776,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18783,7 +18790,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18798,7 +18805,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -18813,7 +18820,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -18828,7 +18835,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18846,7 +18853,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18860,7 +18867,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18875,7 +18882,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18898,7 +18905,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18912,7 +18919,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18927,7 +18934,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18941,7 +18948,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18956,7 +18963,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18971,7 +18978,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18992,7 +18999,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x2.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x2.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x2.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x2.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x2.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x2.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -19010,7 +19017,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19024,7 +19031,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19039,7 +19046,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19060,7 +19067,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19074,7 +19081,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19089,7 +19096,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19104,7 +19111,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19118,7 +19125,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19133,7 +19140,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19147,7 +19154,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19162,7 +19169,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19177,7 +19184,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19198,7 +19205,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19219,7 +19226,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -19233,7 +19240,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19247,7 +19254,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -19265,7 +19272,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19283,7 +19290,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19297,7 +19304,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -19315,7 +19322,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x2.ifcstructuralloadlinearforce','ifc4x2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x2.ifcstructuralloadlinearforce','ifc4x2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -19329,7 +19336,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -19347,7 +19354,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -19363,7 +19370,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -19380,7 +19387,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -19425,7 +19432,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x2.ifcstructuralloadplanarforce','ifc4x2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x2.ifcstructuralloadplanarforce','ifc4x2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -19439,7 +19446,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -19454,7 +19461,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x2.ifcstructuralloadsingleforce','ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x2.ifcstructuralloadsingleforce','ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -19472,7 +19479,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x2.ifcstructuralloadsingleforce','ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x2.ifcstructuralloadsingleforce','ifc4x2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -19490,7 +19497,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19505,7 +19512,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -19519,7 +19526,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19537,7 +19544,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19555,7 +19562,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19573,7 +19580,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x2.ifcstyleditem' in typeof(item) + assert (not 'ifc4x2.ifcstyleditem' in typeof(item)) is not False @@ -19588,7 +19595,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x2.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x2.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -19603,7 +19610,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19618,7 +19625,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -19644,7 +19651,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -19658,7 +19665,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x2.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x2.ifcpcurve' in typeof(curve3d)) is not False @@ -19682,7 +19689,7 @@ class IfcSurfaceCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -19697,7 +19704,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19712,7 +19719,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -19745,7 +19752,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -19759,7 +19766,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -19773,7 +19780,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -19787,7 +19794,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -19802,7 +19809,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -19816,7 +19823,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -19830,7 +19837,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -19844,7 +19851,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x2.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -19858,7 +19865,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x2.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x2.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -19891,7 +19898,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -19906,7 +19913,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -19921,7 +19928,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -19937,7 +19944,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x2.ifcconic','ifc4x2.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -19952,7 +19959,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -19966,7 +19973,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x2.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x2.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x2.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x2.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -19981,7 +19988,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -19996,7 +20003,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20010,7 +20017,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20025,7 +20032,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20043,7 +20050,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20057,7 +20064,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20072,7 +20079,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20088,7 +20095,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -20103,7 +20110,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -20118,7 +20125,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -20132,7 +20139,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -20174,7 +20181,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20188,7 +20195,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20203,7 +20210,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20218,7 +20225,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -20232,7 +20239,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20253,7 +20260,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -20273,7 +20280,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -20288,7 +20295,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20302,7 +20309,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20317,7 +20324,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20331,7 +20338,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20346,7 +20353,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20361,7 +20368,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20375,7 +20382,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20390,7 +20397,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20405,7 +20412,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20434,7 +20441,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x2.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x2.ifcplanarbox' in typeof(extent)) is not False @@ -20452,7 +20459,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x2.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x2.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -20500,7 +20507,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x2.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x2.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -20514,7 +20521,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -20528,7 +20535,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -20544,7 +20551,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -20559,7 +20566,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20573,7 +20580,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20588,7 +20595,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20606,7 +20613,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20620,7 +20627,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20635,7 +20642,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20661,7 +20668,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -20676,7 +20683,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -20690,7 +20697,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -20704,7 +20711,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x2.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x2.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -20719,7 +20726,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20733,7 +20740,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20748,7 +20755,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20763,7 +20770,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -20777,7 +20784,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -20795,7 +20802,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x2.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x2.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -20814,7 +20821,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -20829,7 +20836,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -20844,7 +20851,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -20859,7 +20866,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20873,7 +20880,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20888,7 +20895,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20903,7 +20910,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20917,7 +20924,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20932,7 +20939,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20947,7 +20954,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20961,7 +20968,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20976,7 +20983,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20991,7 +20998,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -21022,7 +21029,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21036,7 +21043,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21051,7 +21058,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21066,7 +21073,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21080,7 +21087,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21095,7 +21102,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21116,7 +21123,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21131,7 +21138,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21145,7 +21152,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21160,7 +21167,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -21175,7 +21182,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x2.ifcrelassociates.relatedobjects') if ('ifc4x2.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x2.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -21190,7 +21197,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21205,7 +21212,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21219,7 +21226,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21234,7 +21241,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21249,7 +21256,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x2.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x2.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21265,7 +21272,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -21280,7 +21287,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -21295,7 +21302,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -21309,7 +21316,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -21324,7 +21331,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -21345,7 +21352,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21360,7 +21367,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21378,7 +21385,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21393,7 +21400,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21412,7 +21419,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -21427,7 +21434,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x2.ifczone' in typeof(temp)) or ('ifc4x2.ifcspace' in typeof(temp)) or ('ifc4x2.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x2.ifczone' in typeof(temp)) or ('ifc4x2.ifcspace' in typeof(temp)) or ('ifc4x2.ifcspatialzone' in typeof(temp))])) == 0)) is not False @@ -21447,7 +21454,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -21462,7 +21469,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py index 3ab78ffe84..dcf49af269 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -10065,7 +10072,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -10116,7 +10123,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10167,7 +10174,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -10181,7 +10188,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10195,7 +10202,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10209,7 +10216,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10320,7 +10327,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10335,7 +10342,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10362,7 +10369,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10542,7 +10549,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10557,7 +10564,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10572,7 +10579,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10632,7 +10639,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10845,7 +10852,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10869,7 +10876,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10884,7 +10891,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10920,7 +10927,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10977,7 +10984,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10992,7 +10999,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11007,7 +11014,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11022,7 +11029,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11271,7 +11278,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11361,7 +11368,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11376,7 +11383,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11400,7 +11407,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11571,7 +11578,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11586,7 +11593,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11600,7 +11607,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11615,7 +11622,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11630,7 +11637,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11645,7 +11652,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11660,7 +11667,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11675,7 +11682,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3.ifcline','ifc4x3.ifcconic','ifc4x3.ifcpolyline','ifc4x3.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3.ifcline','ifc4x3.ifcconic','ifc4x3.ifcpolyline','ifc4x3.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11689,7 +11696,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3.ifcelementarysurface','ifc4x3.ifcsweptsurface','ifc4x3.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3.ifcelementarysurface','ifc4x3.ifcsweptsurface','ifc4x3.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11703,7 +11710,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11718,7 +11725,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11732,7 +11739,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11747,7 +11754,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11761,7 +11768,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11776,7 +11783,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11791,7 +11798,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11806,7 +11813,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11820,7 +11827,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11835,7 +11842,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11850,7 +11857,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11864,7 +11871,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11879,7 +11886,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11934,7 +11941,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11952,7 +11959,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11966,7 +11973,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3.ifcline' in typeof(outercurve) + assert (not 'ifc4x3.ifcline' in typeof(outercurve)) is not False @@ -11980,7 +11987,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11995,7 +12002,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -12009,7 +12016,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -12024,7 +12031,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -12038,7 +12045,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -12052,7 +12059,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3.ifcline' in typeof(temp)])) == 0) is not False @@ -12072,7 +12079,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -12088,7 +12095,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -12104,7 +12111,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -12120,7 +12127,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -12135,7 +12142,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12149,7 +12156,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12164,7 +12171,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12179,7 +12186,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12193,7 +12200,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12207,7 +12214,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12229,7 +12236,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12243,7 +12250,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12257,7 +12264,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12280,7 +12287,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12294,7 +12301,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12309,7 +12316,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12323,7 +12330,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12337,7 +12344,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12351,7 +12358,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12374,7 +12381,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12389,7 +12396,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12404,7 +12411,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12438,7 +12445,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12453,7 +12460,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12500,7 +12507,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12515,7 +12522,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12531,7 +12538,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12547,7 +12554,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12576,7 +12583,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12590,7 +12597,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12605,7 +12612,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12620,7 +12627,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12634,7 +12641,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12649,7 +12656,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12664,7 +12671,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12678,7 +12685,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12696,7 +12703,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12710,7 +12717,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12725,7 +12732,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12740,7 +12747,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12754,7 +12761,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12768,7 +12775,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12783,7 +12790,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12798,7 +12805,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12812,7 +12819,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12840,7 +12847,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12881,7 +12888,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12896,7 +12903,7 @@ class IfcBridge_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12911,7 +12918,7 @@ class IfcBridgePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12929,7 +12936,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12943,7 +12950,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12958,7 +12965,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12973,7 +12980,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12987,7 +12994,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13001,7 +13008,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -13016,7 +13023,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13034,7 +13041,7 @@ class IfcBuildingSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13049,7 +13056,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -13067,7 +13074,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13082,7 +13089,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13096,7 +13103,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13111,7 +13118,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13127,7 +13134,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -13144,7 +13151,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -13160,7 +13167,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -13175,7 +13182,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13189,7 +13196,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13204,7 +13211,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13219,7 +13226,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13233,7 +13240,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13248,7 +13255,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13263,7 +13270,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13277,7 +13284,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13292,7 +13299,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13307,7 +13314,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13321,7 +13328,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13336,7 +13343,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13351,7 +13358,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13365,7 +13372,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13380,7 +13387,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13395,7 +13402,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13431,7 +13438,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13460,7 +13467,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13474,7 +13481,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13488,7 +13495,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13510,7 +13517,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13532,7 +13539,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13546,7 +13553,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13560,7 +13567,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13574,7 +13581,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13596,7 +13603,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13610,7 +13617,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13642,7 +13649,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13656,7 +13663,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13671,7 +13678,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13686,7 +13693,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13700,7 +13707,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13715,7 +13722,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13733,7 +13740,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13769,7 +13776,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13783,7 +13790,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13798,7 +13805,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13822,7 +13829,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13836,7 +13843,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13851,7 +13858,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13866,7 +13873,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13880,7 +13887,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13895,7 +13902,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13910,7 +13917,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13924,7 +13931,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13939,7 +13946,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13953,7 +13960,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13969,7 +13976,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13983,7 +13990,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -14013,7 +14020,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -14035,7 +14042,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -14057,7 +14064,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -14071,7 +14078,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -14086,7 +14093,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14100,7 +14107,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14115,7 +14122,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14130,7 +14137,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14144,7 +14151,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14159,7 +14166,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14198,7 +14205,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14213,7 +14220,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14228,7 +14235,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14243,7 +14250,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14258,7 +14265,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14273,7 +14280,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14288,7 +14295,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14318,7 +14325,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14332,7 +14339,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14347,7 +14354,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14368,7 +14375,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14382,7 +14389,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14397,7 +14404,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14412,7 +14419,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14426,7 +14433,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14441,7 +14448,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14456,7 +14463,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14470,7 +14477,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14485,7 +14492,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14518,7 +14525,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14532,7 +14539,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14547,7 +14554,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14562,7 +14569,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14576,7 +14583,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14591,7 +14598,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14606,7 +14613,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14621,7 +14628,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14650,7 +14657,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14664,7 +14671,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14679,7 +14686,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14718,7 +14725,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14732,7 +14739,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14753,7 +14760,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14771,7 +14778,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14785,7 +14792,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14800,7 +14807,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14815,7 +14822,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14833,7 +14840,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14848,7 +14855,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14862,7 +14869,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14890,7 +14897,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14914,7 +14921,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3.ifcconic','ifc4x3.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3.ifcconic','ifc4x3.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14932,7 +14939,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14946,7 +14953,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14961,7 +14968,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14976,7 +14983,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14990,7 +14997,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15005,7 +15012,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15020,7 +15027,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15034,7 +15041,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15049,7 +15056,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15088,7 +15095,7 @@ class IfcDistributionSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15110,7 +15117,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -15125,7 +15132,7 @@ class IfcDoor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15139,7 +15146,7 @@ class IfcDoor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15155,7 +15162,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -15170,7 +15177,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -15185,7 +15192,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -15200,7 +15207,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -15214,7 +15221,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15229,7 +15236,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15244,7 +15251,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15259,7 +15266,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15274,7 +15281,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15289,7 +15296,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15303,7 +15310,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15318,7 +15325,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15333,7 +15340,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15347,7 +15354,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15362,7 +15369,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15377,7 +15384,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15391,7 +15398,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15406,7 +15413,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15421,7 +15428,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15439,7 +15446,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15461,7 +15468,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15475,7 +15482,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15497,7 +15504,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15511,7 +15518,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15526,7 +15533,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15541,7 +15548,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15555,7 +15562,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15570,7 +15577,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15585,7 +15592,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15599,7 +15606,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15614,7 +15621,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15629,7 +15636,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15643,7 +15650,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15658,7 +15665,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15673,7 +15680,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15687,7 +15694,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15702,7 +15709,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15717,7 +15724,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15731,7 +15738,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15746,7 +15753,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15761,7 +15768,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15775,7 +15782,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15790,7 +15797,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15808,7 +15815,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15822,7 +15829,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15837,7 +15844,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15858,7 +15865,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15891,7 +15898,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15905,7 +15912,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15920,7 +15927,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15935,7 +15942,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15949,7 +15956,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15964,7 +15971,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15979,7 +15986,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15993,7 +16000,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16008,7 +16015,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16023,7 +16030,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16038,7 +16045,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -16057,7 +16064,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -16071,7 +16078,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -16094,7 +16101,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -16127,7 +16134,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -16142,7 +16149,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -16157,7 +16164,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -16201,7 +16208,7 @@ class IfcFacilityPartCommon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16219,7 +16226,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16233,7 +16240,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16248,7 +16255,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16263,7 +16270,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16277,7 +16284,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16292,7 +16299,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16307,7 +16314,7 @@ class IfcFeatureElement_NotContained: def __call__(self): containedinstructure = self.ContainedInStructure - assert sizeof(containedinstructure) == 0 + assert (sizeof(containedinstructure) == 0) is not False @@ -16325,7 +16332,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16339,7 +16346,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16354,7 +16361,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16368,7 +16375,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3.ifccolour' in typeof(style)])) <= 1) is not False @@ -16382,7 +16389,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16397,7 +16404,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16411,7 +16418,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16429,7 +16436,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16443,7 +16450,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16458,7 +16465,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16473,7 +16480,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16487,7 +16494,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16502,7 +16509,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16532,7 +16539,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16546,7 +16553,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16561,7 +16568,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16576,7 +16583,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16590,7 +16597,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16605,7 +16612,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16650,7 +16657,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16664,7 +16671,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16679,7 +16686,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16700,7 +16707,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16714,7 +16721,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16729,7 +16736,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16744,7 +16751,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16758,7 +16765,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16773,7 +16780,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16788,7 +16795,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16803,7 +16810,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16821,7 +16828,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16835,7 +16842,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16850,7 +16857,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16893,7 +16900,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16927,7 +16934,7 @@ class IfcGeotechnicalStratum_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16953,7 +16960,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16969,7 +16976,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16998,7 +17005,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17012,7 +17019,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17027,7 +17034,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17042,7 +17049,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17056,7 +17063,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17071,7 +17078,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17090,7 +17097,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -17105,7 +17112,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -17120,7 +17127,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -17138,7 +17145,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17152,7 +17159,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17167,7 +17174,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17185,7 +17192,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -17215,7 +17222,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17229,7 +17236,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17244,7 +17251,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17259,7 +17266,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17273,7 +17280,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17297,7 +17304,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17311,7 +17318,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17326,7 +17333,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17349,7 +17356,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17364,7 +17371,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17379,7 +17386,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17397,7 +17404,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17411,7 +17418,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17426,7 +17433,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17450,7 +17457,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17464,7 +17471,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17479,7 +17486,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17516,7 +17523,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17540,7 +17547,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17554,7 +17561,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17569,7 +17576,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17585,7 +17592,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17612,7 +17619,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17627,7 +17634,7 @@ class IfcMarinePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17657,7 +17664,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17672,7 +17679,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17704,7 +17711,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17743,7 +17750,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17757,7 +17764,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17772,7 +17779,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17787,7 +17794,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17801,7 +17808,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17816,7 +17823,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17831,7 +17838,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17845,7 +17852,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17860,7 +17867,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17886,7 +17893,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17900,7 +17907,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17915,7 +17922,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17933,7 +17940,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17947,7 +17954,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17962,7 +17969,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17977,7 +17984,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17991,7 +17998,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18006,7 +18013,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18021,7 +18028,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -18036,7 +18043,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18050,7 +18057,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18065,7 +18072,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18080,7 +18087,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -18101,7 +18108,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -18116,7 +18123,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18134,7 +18141,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -18149,7 +18156,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -18167,7 +18174,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -18182,7 +18189,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18197,7 +18204,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18215,7 +18222,7 @@ class IfcOpeningElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18236,7 +18243,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3.ifcorientededge' in typeof(edgeelement)) is not False @@ -18270,7 +18277,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18284,7 +18291,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18299,7 +18306,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18315,7 +18322,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18333,7 +18340,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18348,7 +18355,7 @@ class IfcPavement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18362,7 +18369,7 @@ class IfcPavement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18377,7 +18384,7 @@ class IfcPavementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18392,7 +18399,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18418,7 +18425,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18434,7 +18441,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18452,7 +18459,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18466,7 +18473,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18487,7 +18494,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18501,7 +18508,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18516,7 +18523,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18531,7 +18538,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18545,7 +18552,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18560,7 +18567,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18575,7 +18582,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18589,7 +18596,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18604,7 +18611,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18619,7 +18626,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18633,7 +18640,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18647,7 +18654,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18661,7 +18668,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18677,7 +18684,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18709,7 +18716,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18723,7 +18730,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18738,7 +18745,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18780,7 +18787,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18795,7 +18802,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18809,7 +18816,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3.ifcpolyline','ifc4x3.ifccompositecurve','ifc4x3.ifcindexedpolycurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3.ifcpolyline','ifc4x3.ifccompositecurve','ifc4x3.ifcindexedpolycurve'])) == 1) is not False @@ -18827,7 +18834,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18843,7 +18850,7 @@ class IfcPolynomialCurve_CorrectPositionDim: position = self.Position coefficientsz = self.CoefficientsZ - assert ((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3) + assert (((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3)) is not False @@ -18859,7 +18866,7 @@ class IfcPolynomialCurve_ValidCoefficients: coefficientsy = self.CoefficientsY coefficientsz = self.CoefficientsZ - assert (exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz)) + assert ((exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz))) is not False @@ -18877,7 +18884,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18898,7 +18905,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18934,7 +18941,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3.ifcshaperepresentation','ifc4x3.ifcgeometricrepresentationitem','ifc4x3.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3.ifcshaperepresentation','ifc4x3.ifcgeometricrepresentationitem','ifc4x3.ifcmappeditem'])) == 1])) == sizeof(assigneditems)) is not False @@ -18949,7 +18956,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3.ifcgeometricrepresentationitem','ifc4x3.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3.ifcgeometricrepresentationitem','ifc4x3.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18967,7 +18974,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18981,7 +18988,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18996,7 +19003,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -19015,7 +19022,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -19030,7 +19037,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -19054,7 +19061,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -19068,7 +19075,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19082,7 +19089,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -19103,7 +19110,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19118,7 +19125,7 @@ class IfcProjectionElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19140,7 +19147,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -19155,7 +19162,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -19170,7 +19177,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -19189,7 +19196,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -19205,7 +19212,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -19220,7 +19227,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19235,7 +19242,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19253,7 +19260,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19267,7 +19274,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19285,7 +19292,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19299,7 +19306,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19318,7 +19325,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19332,7 +19339,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19346,7 +19353,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19367,7 +19374,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19381,7 +19388,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19396,7 +19403,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19410,7 +19417,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19425,7 +19432,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19440,7 +19447,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19455,7 +19462,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19469,7 +19476,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19484,7 +19491,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19499,7 +19506,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19513,7 +19520,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19528,7 +19535,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0 + assert (countvalue >= 0) is not False @@ -19543,7 +19550,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19557,7 +19564,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19578,7 +19585,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19592,7 +19599,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19607,7 +19614,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19621,7 +19628,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19636,7 +19643,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19650,7 +19657,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19665,7 +19672,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19679,7 +19686,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19694,7 +19701,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19709,7 +19716,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19723,7 +19730,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19738,7 +19745,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19753,7 +19760,7 @@ class IfcRailway_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19767,7 +19774,7 @@ class IfcRailway_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19782,7 +19789,7 @@ class IfcRailwayPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19797,7 +19804,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19811,7 +19818,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19826,7 +19833,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19840,7 +19847,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19855,7 +19862,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19870,7 +19877,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19885,7 +19892,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19899,7 +19906,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19921,7 +19928,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19935,7 +19942,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19960,7 +19967,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19974,7 +19981,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19988,7 +19995,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -20010,7 +20017,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -20027,7 +20034,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - assert (('ifc4x3.ifcelementarysurface' in typeof(basissurface)) and (not 'ifc4x3.ifcplane' in typeof(basissurface))) or ('ifc4x3.ifcsurfaceofrevolution' in typeof(basissurface)) or (usense == (u2 > u1)) + 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 @@ -20042,7 +20049,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -20058,7 +20065,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -20085,7 +20092,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20106,7 +20113,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20120,7 +20127,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20136,7 +20143,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20150,7 +20157,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20171,7 +20178,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20185,7 +20192,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20201,7 +20208,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20215,7 +20222,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20234,7 +20241,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20250,7 +20257,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -20265,7 +20272,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20280,7 +20287,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20295,7 +20302,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20313,7 +20320,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20328,7 +20335,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20343,7 +20350,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20376,7 +20383,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3.ifcelement','ifc4x3.ifcelementtype','ifc4x3.ifcwindowstyle','ifc4x3.ifcdoorstyle','ifc4x3.ifcstructuralmember','ifc4x3.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3.ifcelement','ifc4x3.ifcelementtype','ifc4x3.ifcwindowstyle','ifc4x3.ifcdoorstyle','ifc4x3.ifcstructuralmember','ifc4x3.ifcport'])) == 0])) == 0) is not False @@ -20390,7 +20397,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20412,7 +20419,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20427,7 +20434,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20441,7 +20448,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20460,7 +20467,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20487,7 +20494,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20509,7 +20516,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20533,7 +20540,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20561,7 +20568,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20577,7 +20584,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20593,7 +20600,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20611,7 +20618,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3.ifcspace' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in relatedelements if ('ifc4x3.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3.ifcspace' in typeof(temp))])) == 0) is not False @@ -20627,7 +20634,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20642,7 +20649,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20661,7 +20668,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20688,7 +20695,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20712,7 +20719,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20742,7 +20749,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20756,7 +20763,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -20778,7 +20785,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20799,7 +20806,7 @@ class IfcRoad_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20813,7 +20820,7 @@ class IfcRoad_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -20828,7 +20835,7 @@ class IfcRoadPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20843,7 +20850,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20857,7 +20864,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20872,7 +20879,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20890,7 +20897,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20913,7 +20920,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20927,7 +20934,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20942,7 +20949,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20960,7 +20967,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20974,7 +20981,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20998,7 +21005,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -21012,7 +21019,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -21026,7 +21033,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -21042,7 +21049,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -21056,7 +21063,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -21071,7 +21078,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -21086,7 +21093,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -21100,7 +21107,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -21122,7 +21129,7 @@ class IfcSectionedSurface_AreaProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0 + assert ((sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0) is not False @@ -21137,7 +21144,7 @@ class IfcSectionedSurface_CorrespondingSectionPositions: crosssectionpositions = self.CrossSectionPositions crosssections = self.CrossSections - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -21151,7 +21158,7 @@ class IfcSectionedSurface_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -21165,7 +21172,7 @@ class IfcSectionedSurface_NoOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -21179,7 +21186,7 @@ class IfcSectionedSurface_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -21200,7 +21207,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21214,7 +21221,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21229,7 +21236,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21247,7 +21254,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21261,7 +21268,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21276,7 +21283,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21294,7 +21301,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -21309,7 +21316,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -21323,7 +21330,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -21337,7 +21344,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -21351,7 +21358,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -21365,7 +21372,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -21388,7 +21395,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21402,7 +21409,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21417,7 +21424,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21432,7 +21439,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21446,7 +21453,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21461,7 +21468,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21488,7 +21495,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21502,7 +21509,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21517,7 +21524,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21535,7 +21542,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21549,7 +21556,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21564,7 +21571,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21587,7 +21594,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21601,7 +21608,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21616,7 +21623,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21630,7 +21637,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21645,7 +21652,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21660,7 +21667,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21681,7 +21688,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21699,7 +21706,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21713,7 +21720,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21728,7 +21735,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21752,7 +21759,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21766,7 +21773,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21781,7 +21788,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21796,7 +21803,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21810,7 +21817,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21825,7 +21832,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21839,7 +21846,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21854,7 +21861,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21869,7 +21876,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21890,7 +21897,7 @@ class IfcStructuralAnalysisModel_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21904,7 +21911,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21925,7 +21932,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21939,7 +21946,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21953,7 +21960,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21971,7 +21978,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21989,7 +21996,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22003,7 +22010,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -22021,7 +22028,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -22035,7 +22042,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3.ifcstructuralloadlinearforce','ifc4x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3.ifcstructuralloadlinearforce','ifc4x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22053,7 +22060,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -22069,7 +22076,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -22086,7 +22093,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -22131,7 +22138,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -22145,7 +22152,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3.ifcstructuralloadplanarforce','ifc4x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3.ifcstructuralloadplanarforce','ifc4x3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22160,7 +22167,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3.ifcstructuralloadsingleforce','ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3.ifcstructuralloadsingleforce','ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22178,7 +22185,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3.ifcstructuralloadsingleforce','ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3.ifcstructuralloadsingleforce','ifc4x3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22196,7 +22203,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22211,7 +22218,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22225,7 +22232,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -22243,7 +22250,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22261,7 +22268,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22279,7 +22286,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3.ifcstyleditem' in typeof(item)) is not False @@ -22294,7 +22301,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -22309,7 +22316,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22324,7 +22331,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -22350,7 +22357,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -22364,7 +22371,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3.ifcpcurve' in typeof(curve3d)) is not False @@ -22389,7 +22396,7 @@ class IfcSurfaceFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22403,7 +22410,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22418,7 +22425,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22449,7 +22456,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22463,7 +22470,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22477,7 +22484,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22493,7 +22500,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22508,7 +22515,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22522,7 +22529,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22536,7 +22543,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22550,7 +22557,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22564,7 +22571,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22597,7 +22604,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22614,7 +22621,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3.ifcconic','ifc4x3.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3.ifcconic','ifc4x3.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22628,7 +22635,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22643,7 +22650,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22658,7 +22665,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22672,7 +22679,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22687,7 +22694,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22702,7 +22709,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22716,7 +22723,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22731,7 +22738,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22749,7 +22756,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22763,7 +22770,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22778,7 +22785,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22794,7 +22801,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22809,7 +22816,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22824,7 +22831,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22838,7 +22845,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22880,7 +22887,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22894,7 +22901,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22909,7 +22916,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22924,7 +22931,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22938,7 +22945,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22959,7 +22966,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22979,7 +22986,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22994,7 +23001,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23008,7 +23015,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23023,7 +23030,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23037,7 +23044,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23052,7 +23059,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23067,7 +23074,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23081,7 +23088,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23096,7 +23103,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23111,7 +23118,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23140,7 +23147,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3.ifcplanarbox' in typeof(extent)) is not False @@ -23158,7 +23165,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -23215,7 +23222,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -23229,7 +23236,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -23243,7 +23250,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -23259,7 +23266,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -23274,7 +23281,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23288,7 +23295,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23303,7 +23310,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23318,7 +23325,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23332,7 +23339,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23347,7 +23354,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23362,7 +23369,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23376,7 +23383,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23391,7 +23398,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23423,7 +23430,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23438,7 +23445,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23452,7 +23459,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23466,7 +23473,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23481,7 +23488,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23495,7 +23502,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23510,7 +23517,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23525,7 +23532,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23539,7 +23546,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23557,7 +23564,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23576,7 +23583,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23591,7 +23598,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23606,7 +23613,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23621,7 +23628,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23635,7 +23642,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23650,7 +23657,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23665,7 +23672,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23679,7 +23686,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23694,7 +23701,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23709,7 +23716,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23723,7 +23730,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23738,7 +23745,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23753,7 +23760,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23775,7 +23782,7 @@ class IfcVehicle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23789,7 +23796,7 @@ class IfcVehicle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23804,7 +23811,7 @@ class IfcVehicleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23828,7 +23835,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23842,7 +23849,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23857,7 +23864,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23872,7 +23879,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23886,7 +23893,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23901,7 +23908,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23916,7 +23923,7 @@ class IfcVirtualElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23934,7 +23941,7 @@ class IfcVoidingFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23948,7 +23955,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -23963,7 +23970,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23977,7 +23984,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23992,7 +23999,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + assert ((sizeof([temp for temp in usedin(self,'ifc4x3.ifcrelassociates.relatedobjects') if ('ifc4x3.ifcrelassociatesmaterial' in typeof(temp)) and ('ifc4x3.ifcmateriallayersetusage' in typeof(temp.RelatingMaterial))])) == 1) is not False @@ -24007,7 +24014,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -24022,7 +24029,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24036,7 +24043,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -24051,7 +24058,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -24066,7 +24073,7 @@ class IfcWindow_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24080,7 +24087,7 @@ class IfcWindow_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -24096,7 +24103,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -24111,7 +24118,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -24126,7 +24133,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -24140,7 +24147,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -24155,7 +24162,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -24170,7 +24177,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -24185,7 +24192,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24203,7 +24210,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24218,7 +24225,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24237,7 +24244,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -24252,7 +24259,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3.ifczone' in typeof(temp)) or ('ifc4x3.ifcspace' in typeof(temp)) or ('ifc4x3.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3.ifczone' in typeof(temp)) or ('ifc4x3.ifcspace' in typeof(temp)) or ('ifc4x3.ifcspatialzone' in typeof(temp))])) == 0)) is not False @@ -24272,7 +24279,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -24287,7 +24294,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py index 415781d894..f627f37ff4 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9888,7 +9895,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -9939,7 +9946,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -9990,7 +9997,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -10004,7 +10011,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10018,7 +10025,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10032,7 +10039,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10143,7 +10150,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10158,7 +10165,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10185,7 +10192,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10359,7 +10366,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10374,7 +10381,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10389,7 +10396,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10449,7 +10456,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10665,7 +10672,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10689,7 +10696,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10704,7 +10711,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10737,7 +10744,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10794,7 +10801,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10809,7 +10816,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10824,7 +10831,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10839,7 +10846,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11088,7 +11095,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11181,7 +11188,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11196,7 +11203,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11220,7 +11227,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11388,7 +11395,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11403,7 +11410,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11417,7 +11424,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11432,7 +11439,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11447,7 +11454,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11462,7 +11469,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11477,7 +11484,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_add1.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11492,7 +11499,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_add1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_add1.ifcline','ifc4x3_add1.ifcconic','ifc4x3_add1.ifcpolyline','ifc4x3_add1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_add1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_add1.ifcline','ifc4x3_add1.ifcconic','ifc4x3_add1.ifcpolyline','ifc4x3_add1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11506,7 +11513,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_add1.ifcelementarysurface','ifc4x3_add1.ifcsweptsurface','ifc4x3_add1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_add1.ifcelementarysurface','ifc4x3_add1.ifcsweptsurface','ifc4x3_add1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11520,7 +11527,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_add1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_add1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_add1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_add1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11535,7 +11542,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11549,7 +11556,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11564,7 +11571,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11578,7 +11585,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11593,7 +11600,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11608,7 +11615,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11623,7 +11630,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11637,7 +11644,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11652,7 +11659,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11667,7 +11674,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11681,7 +11688,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11696,7 +11703,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11751,7 +11758,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11769,7 +11776,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11783,7 +11790,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_add1.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_add1.ifcline' in typeof(outercurve)) is not False @@ -11797,7 +11804,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_add1.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_add1.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11812,7 +11819,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_add1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_add1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11826,7 +11833,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11841,7 +11848,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11855,7 +11862,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11869,7 +11876,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_add1.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_add1.ifcline' in typeof(temp)])) == 0) is not False @@ -11889,7 +11896,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -11905,7 +11912,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -11921,7 +11928,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -11937,7 +11944,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -11952,7 +11959,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11966,7 +11973,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11981,7 +11988,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11996,7 +12003,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12010,7 +12017,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12024,7 +12031,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3_add1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12046,7 +12053,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12060,7 +12067,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3_add1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12074,7 +12081,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12097,7 +12104,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12111,7 +12118,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12126,7 +12133,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12140,7 +12147,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12154,7 +12161,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3_add1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_add1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12168,7 +12175,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12191,7 +12198,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3_add1.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3_add1.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12206,7 +12213,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12221,7 +12228,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12255,7 +12262,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12270,7 +12277,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12317,7 +12324,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12332,7 +12339,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12348,7 +12355,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12364,7 +12371,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12393,7 +12400,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12407,7 +12414,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12422,7 +12429,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12437,7 +12444,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12451,7 +12458,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12466,7 +12473,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12481,7 +12488,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12495,7 +12502,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12513,7 +12520,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12527,7 +12534,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12542,7 +12549,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12557,7 +12564,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_add1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_add1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_add1.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_add1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_add1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_add1.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12571,7 +12578,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12585,7 +12592,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_add1.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_add1.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12600,7 +12607,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12615,7 +12622,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12629,7 +12636,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_add1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12657,7 +12664,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12698,7 +12705,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_add1.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_add1.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12713,7 +12720,7 @@ class IfcBridge_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12728,7 +12735,7 @@ class IfcBridgePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12746,7 +12753,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12760,7 +12767,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12775,7 +12782,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12790,7 +12797,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12804,7 +12811,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12818,7 +12825,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12833,7 +12840,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12851,7 +12858,7 @@ class IfcBuildingSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12866,7 +12873,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_add1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_add1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12884,7 +12891,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12899,7 +12906,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12913,7 +12920,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12928,7 +12935,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12944,7 +12951,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -12961,7 +12968,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -12977,7 +12984,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -12992,7 +12999,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13006,7 +13013,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13021,7 +13028,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13036,7 +13043,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13050,7 +13057,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13065,7 +13072,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13080,7 +13087,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13094,7 +13101,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13109,7 +13116,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13124,7 +13131,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13138,7 +13145,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13153,7 +13160,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13168,7 +13175,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13182,7 +13189,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13197,7 +13204,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13212,7 +13219,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13241,7 +13248,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13270,7 +13277,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13284,7 +13291,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13298,7 +13305,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13320,7 +13327,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13342,7 +13349,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13356,7 +13363,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13370,7 +13377,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13384,7 +13391,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13406,7 +13413,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13420,7 +13427,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13452,7 +13459,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13466,7 +13473,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13481,7 +13488,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13496,7 +13503,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13510,7 +13517,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13525,7 +13532,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13543,7 +13550,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13579,7 +13586,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13593,7 +13600,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13608,7 +13615,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13632,7 +13639,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13646,7 +13653,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13661,7 +13668,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13676,7 +13683,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13690,7 +13697,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13705,7 +13712,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13720,7 +13727,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13734,7 +13741,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13749,7 +13756,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13763,7 +13770,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13779,7 +13786,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13793,7 +13800,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13823,7 +13830,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13845,7 +13852,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_add1.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_add1.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13860,7 +13867,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13874,7 +13881,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_add1.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_add1.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -13889,7 +13896,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13903,7 +13910,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13918,7 +13925,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13933,7 +13940,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13947,7 +13954,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13962,7 +13969,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14001,7 +14008,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14016,7 +14023,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14031,7 +14038,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14046,7 +14053,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14061,7 +14068,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14076,7 +14083,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14091,7 +14098,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14121,7 +14128,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14135,7 +14142,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14150,7 +14157,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14171,7 +14178,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14185,7 +14192,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14200,7 +14207,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14215,7 +14222,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14229,7 +14236,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14244,7 +14251,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14259,7 +14266,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14273,7 +14280,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14288,7 +14295,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14307,7 +14314,7 @@ class IfcCoordinateReferenceSystem_NameOrWKT: name = self.Name wellknowntext = self.WellKnownText - assert (hiindex(wellknowntext) == 1) or exists(name) + assert ((hiindex(wellknowntext) == 1) or exists(name)) is not False @@ -14334,7 +14341,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14348,7 +14355,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14363,7 +14370,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14378,7 +14385,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14392,7 +14399,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14407,7 +14414,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14422,7 +14429,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14437,7 +14444,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14466,7 +14473,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14480,7 +14487,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14495,7 +14502,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14529,7 +14536,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14543,7 +14550,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_add1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_add1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_add1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_add1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14564,7 +14571,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14582,7 +14589,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14596,7 +14603,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14611,7 +14618,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14626,7 +14633,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14644,7 +14651,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14659,7 +14666,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14673,7 +14680,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14701,7 +14708,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14725,7 +14732,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_add1.ifcconic','ifc4x3_add1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_add1.ifcconic','ifc4x3_add1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14743,7 +14750,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14757,7 +14764,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14772,7 +14779,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14787,7 +14794,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14801,7 +14808,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14816,7 +14823,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14831,7 +14838,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14845,7 +14852,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14860,7 +14867,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14899,7 +14906,7 @@ class IfcDistributionSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14921,7 +14928,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -14936,7 +14943,7 @@ class IfcDoor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14950,7 +14957,7 @@ class IfcDoor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14966,7 +14973,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -14981,7 +14988,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -14996,7 +15003,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -15011,7 +15018,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -15025,7 +15032,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcdoortype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -15040,7 +15047,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcdoortype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -15055,7 +15062,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15070,7 +15077,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15085,7 +15092,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15100,7 +15107,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15114,7 +15121,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15129,7 +15136,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15144,7 +15151,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15158,7 +15165,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15173,7 +15180,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15188,7 +15195,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15202,7 +15209,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15217,7 +15224,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15232,7 +15239,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15250,7 +15257,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15272,7 +15279,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15286,7 +15293,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15308,7 +15315,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15322,7 +15329,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15337,7 +15344,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15352,7 +15359,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15366,7 +15373,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15381,7 +15388,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15396,7 +15403,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15410,7 +15417,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15425,7 +15432,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15440,7 +15447,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15454,7 +15461,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15469,7 +15476,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15484,7 +15491,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15498,7 +15505,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15513,7 +15520,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15528,7 +15535,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15542,7 +15549,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15557,7 +15564,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15572,7 +15579,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15586,7 +15593,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15601,7 +15608,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15619,7 +15626,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15633,7 +15640,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15648,7 +15655,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15669,7 +15676,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15702,7 +15709,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15716,7 +15723,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15731,7 +15738,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15746,7 +15753,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15760,7 +15767,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15775,7 +15782,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15790,7 +15797,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15804,7 +15811,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15819,7 +15826,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15834,7 +15841,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15849,7 +15856,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15868,7 +15875,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15882,7 +15889,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15905,7 +15912,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -15938,7 +15945,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -15953,7 +15960,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -15968,7 +15975,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_add1.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_add1.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -16012,7 +16019,7 @@ class IfcFacilityPartCommon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16030,7 +16037,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16044,7 +16051,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16059,7 +16066,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16074,7 +16081,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16088,7 +16095,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16103,7 +16110,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16118,7 +16125,7 @@ class IfcFeatureElement_NotContained: def __call__(self): containedinstructure = self.ContainedInStructure - assert sizeof(containedinstructure) == 0 + assert (sizeof(containedinstructure) == 0) is not False @@ -16136,7 +16143,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16150,7 +16157,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16165,7 +16172,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16179,7 +16186,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_add1.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_add1.ifccolour' in typeof(style)])) <= 1) is not False @@ -16193,7 +16200,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_add1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_add1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16208,7 +16215,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16222,7 +16229,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16240,7 +16247,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16254,7 +16261,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16269,7 +16276,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16284,7 +16291,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16298,7 +16305,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16313,7 +16320,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16343,7 +16350,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16357,7 +16364,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16372,7 +16379,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16387,7 +16394,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16401,7 +16408,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16416,7 +16423,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16461,7 +16468,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16475,7 +16482,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16490,7 +16497,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16511,7 +16518,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16525,7 +16532,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16540,7 +16547,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16555,7 +16562,7 @@ class IfcGeographicCRS_IsPlaneAngleUnit: def __call__(self): unit = self.Unit - assert (not exists(unit)) or (unit.UnitType == IfcUnitEnum.PLANEANGLEUNIT) + assert ((not exists(unit)) or (unit.UnitType == IfcUnitEnum.PLANEANGLEUNIT)) is not False @@ -16570,7 +16577,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16584,7 +16591,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16599,7 +16606,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16614,7 +16621,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_add1.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_add1.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16629,7 +16636,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16647,7 +16654,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16661,7 +16668,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16676,7 +16683,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16719,7 +16726,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16753,7 +16760,7 @@ class IfcGeotechnicalStratum_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16774,7 +16781,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16790,7 +16797,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16819,7 +16826,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16833,7 +16840,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16848,7 +16855,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16863,7 +16870,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16877,7 +16884,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16892,7 +16899,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16911,7 +16918,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -16926,7 +16933,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -16941,7 +16948,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -16959,7 +16966,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16973,7 +16980,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16988,7 +16995,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17006,7 +17013,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -17036,7 +17043,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17050,7 +17057,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17065,7 +17072,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17080,7 +17087,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17094,7 +17101,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17118,7 +17125,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17132,7 +17139,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17147,7 +17154,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17162,7 +17169,7 @@ class IfcKerb_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17176,7 +17183,7 @@ class IfcKerb_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifckerbtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifckerbtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17191,7 +17198,7 @@ class IfcKerbType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17208,7 +17215,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17223,7 +17230,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17238,7 +17245,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17256,7 +17263,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17270,7 +17277,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17285,7 +17292,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17309,7 +17316,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17323,7 +17330,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17338,7 +17345,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17375,7 +17382,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17399,7 +17406,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17413,7 +17420,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17428,7 +17435,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17444,7 +17451,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17474,7 +17481,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17489,7 +17496,7 @@ class IfcMarinePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17519,7 +17526,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17534,7 +17541,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17566,7 +17573,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17605,7 +17612,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17619,7 +17626,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17634,7 +17641,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17649,7 +17656,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17663,7 +17670,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17678,7 +17685,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17693,7 +17700,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17707,7 +17714,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17722,7 +17729,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17748,7 +17755,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17762,7 +17769,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17777,7 +17784,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17795,7 +17802,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17809,7 +17816,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17824,7 +17831,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17839,7 +17846,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17853,7 +17860,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17868,7 +17875,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17883,7 +17890,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17898,7 +17905,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17912,7 +17919,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17927,7 +17934,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17942,7 +17949,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -17963,7 +17970,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -17978,7 +17985,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -17996,7 +18003,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -18011,7 +18018,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -18029,7 +18036,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -18044,7 +18051,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18059,7 +18066,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18077,7 +18084,7 @@ class IfcOpeningElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18098,7 +18105,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_add1.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_add1.ifcorientededge' in typeof(edgeelement)) is not False @@ -18132,7 +18139,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18146,7 +18153,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18161,7 +18168,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18177,7 +18184,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18195,7 +18202,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18210,7 +18217,7 @@ class IfcPavement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18224,7 +18231,7 @@ class IfcPavement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18239,7 +18246,7 @@ class IfcPavementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18254,7 +18261,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18280,7 +18287,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18296,7 +18303,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18314,7 +18321,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18328,7 +18335,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18349,7 +18356,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18363,7 +18370,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18378,7 +18385,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18393,7 +18400,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18407,7 +18414,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18422,7 +18429,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18437,7 +18444,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18451,7 +18458,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18466,7 +18473,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18481,7 +18488,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18495,7 +18502,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18509,7 +18516,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18523,7 +18530,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18539,7 +18546,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18571,7 +18578,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18585,7 +18592,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18600,7 +18607,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18632,7 +18639,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18647,7 +18654,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18661,7 +18668,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_add1.ifcpolyline','ifc4x3_add1.ifccompositecurve','ifc4x3_add1.ifcindexedpolycurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_add1.ifcpolyline','ifc4x3_add1.ifccompositecurve','ifc4x3_add1.ifcindexedpolycurve'])) == 1) is not False @@ -18679,7 +18686,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18695,7 +18702,7 @@ class IfcPolynomialCurve_CorrectPositionDim: position = self.Position coefficientsz = self.CoefficientsZ - assert ((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3) + assert (((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3)) is not False @@ -18711,7 +18718,7 @@ class IfcPolynomialCurve_ValidCoefficients: coefficientsy = self.CoefficientsY coefficientsz = self.CoefficientsZ - assert (exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz)) + assert ((exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz))) is not False @@ -18729,7 +18736,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18750,7 +18757,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18786,7 +18793,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_add1.ifcshaperepresentation','ifc4x3_add1.ifcgeometricrepresentationitem','ifc4x3_add1.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18801,7 +18808,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_add1.ifcgeometricrepresentationitem','ifc4x3_add1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_add1.ifcgeometricrepresentationitem','ifc4x3_add1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18819,7 +18826,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18833,7 +18840,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18848,7 +18855,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18867,7 +18874,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_add1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_add1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18882,7 +18889,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_add1.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -18906,7 +18913,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_add1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -18920,7 +18927,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18934,7 +18941,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -18955,7 +18962,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -18970,7 +18977,7 @@ class IfcProjectionElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18992,7 +18999,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -19007,7 +19014,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -19022,7 +19029,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -19041,7 +19048,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -19057,7 +19064,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -19072,7 +19079,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19087,7 +19094,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19105,7 +19112,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19119,7 +19126,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19137,7 +19144,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19151,7 +19158,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19170,7 +19177,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19184,7 +19191,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19198,7 +19205,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19219,7 +19226,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19233,7 +19240,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19248,7 +19255,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19262,7 +19269,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19277,7 +19284,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19292,7 +19299,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19307,7 +19314,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19321,7 +19328,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19336,7 +19343,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19351,7 +19358,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19365,7 +19372,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19380,7 +19387,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0 + assert (countvalue >= 0) is not False @@ -19395,7 +19402,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19409,7 +19416,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19430,7 +19437,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19444,7 +19451,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19459,7 +19466,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19473,7 +19480,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19488,7 +19495,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19502,7 +19509,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19517,7 +19524,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19531,7 +19538,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19546,7 +19553,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19561,7 +19568,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19575,7 +19582,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19590,7 +19597,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19605,7 +19612,7 @@ class IfcRailway_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19620,7 +19627,7 @@ class IfcRailwayPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19635,7 +19642,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19649,7 +19656,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19664,7 +19671,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19678,7 +19685,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19693,7 +19700,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19708,7 +19715,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19723,7 +19730,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19737,7 +19744,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19759,7 +19766,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19773,7 +19780,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19798,7 +19805,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19812,7 +19819,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19826,7 +19833,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19848,7 +19855,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19865,7 +19872,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19880,7 +19887,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19896,7 +19903,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -19923,7 +19930,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19944,7 +19951,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19958,7 +19965,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19974,7 +19981,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19988,7 +19995,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20009,7 +20016,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20023,7 +20030,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20039,7 +20046,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20053,7 +20060,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20072,7 +20079,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20090,7 +20097,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20105,7 +20112,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20120,7 +20127,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20138,7 +20145,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20153,7 +20160,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20168,7 +20175,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20201,7 +20208,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_add1.ifcelement','ifc4x3_add1.ifcelementtype','ifc4x3_add1.ifcstructuralmember','ifc4x3_add1.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_add1.ifcelement','ifc4x3_add1.ifcelementtype','ifc4x3_add1.ifcstructuralmember','ifc4x3_add1.ifcport'])) == 0])) == 0) is not False @@ -20215,7 +20222,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_add1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_add1.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_add1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_add1.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20237,7 +20244,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20252,7 +20259,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20266,7 +20273,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20285,7 +20292,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20312,7 +20319,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_add1.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_add1.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20334,7 +20341,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20358,7 +20365,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_add1.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_add1.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20386,7 +20393,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20402,7 +20409,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20418,7 +20425,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20436,7 +20443,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_add1.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_add1.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20452,7 +20459,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20467,7 +20474,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20486,7 +20493,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_add1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_add1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_add1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20513,7 +20520,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20537,7 +20544,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_add1.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_add1.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20567,7 +20574,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20581,7 +20588,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert ('ifc4x3_add1.ifccartesianpoint' in typeof(axis.Location)) and ((axis.Location.Coordinates[3 - 1]) == 0.0) + assert (('ifc4x3_add1.ifccartesianpoint' in typeof(axis.Location)) and ((axis.Location.Coordinates[3 - 1]) == 0.0)) is not False @@ -20603,7 +20610,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20625,7 +20632,7 @@ class IfcRigidOperation_SameCoordinateType: firstcoordinate = self.FirstCoordinate secondcoordinate = self.SecondCoordinate - 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))) + 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 @@ -20640,7 +20647,7 @@ class IfcRoad_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20655,7 +20662,7 @@ class IfcRoadPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20670,7 +20677,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20684,7 +20691,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20699,7 +20706,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20717,7 +20724,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20740,7 +20747,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20754,7 +20761,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20769,7 +20776,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20787,7 +20794,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20801,7 +20808,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20825,7 +20832,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20839,7 +20846,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20853,7 +20860,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20869,7 +20876,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20883,7 +20890,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -20898,7 +20905,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20913,7 +20920,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20927,7 +20934,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -20949,7 +20956,7 @@ class IfcSectionedSurface_AreaProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0 + assert ((sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0) is not False @@ -20964,7 +20971,7 @@ class IfcSectionedSurface_CorrespondingSectionPositions: crosssectionpositions = self.CrossSectionPositions crosssections = self.CrossSections - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20978,7 +20985,7 @@ class IfcSectionedSurface_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20992,7 +20999,7 @@ class IfcSectionedSurface_NoOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -21006,7 +21013,7 @@ class IfcSectionedSurface_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -21032,7 +21039,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21046,7 +21053,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21061,7 +21068,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21079,7 +21086,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21093,7 +21100,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21108,7 +21115,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21126,7 +21133,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -21141,7 +21148,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_add1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_add1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -21155,7 +21162,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -21169,7 +21176,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -21183,7 +21190,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -21197,7 +21204,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -21220,7 +21227,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21234,7 +21241,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21249,7 +21256,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21264,7 +21271,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21278,7 +21285,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21293,7 +21300,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21320,7 +21327,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21334,7 +21341,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21349,7 +21356,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21367,7 +21374,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21381,7 +21388,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21396,7 +21403,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21419,7 +21426,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21433,7 +21440,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21448,7 +21455,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21462,7 +21469,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21477,7 +21484,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21492,7 +21499,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21513,7 +21520,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_add1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_add1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_add1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_add1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_add1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_add1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21531,7 +21538,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21545,7 +21552,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21560,7 +21567,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21584,7 +21591,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21598,7 +21605,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21613,7 +21620,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21628,7 +21635,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21642,7 +21649,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21657,7 +21664,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21671,7 +21678,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21686,7 +21693,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21701,7 +21708,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21722,7 +21729,7 @@ class IfcStructuralAnalysisModel_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21743,7 +21750,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21757,7 +21764,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21771,7 +21778,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21789,7 +21796,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21807,7 +21814,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21821,7 +21828,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21839,7 +21846,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21853,7 +21860,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_add1.ifcstructuralloadlinearforce','ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_add1.ifcstructuralloadlinearforce','ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21871,7 +21878,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21887,7 +21894,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21904,7 +21911,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21949,7 +21956,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -21963,7 +21970,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_add1.ifcstructuralloadplanarforce','ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_add1.ifcstructuralloadplanarforce','ifc4x3_add1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21978,7 +21985,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce','ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce','ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21996,7 +22003,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce','ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_add1.ifcstructuralloadsingleforce','ifc4x3_add1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22014,7 +22021,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22029,7 +22036,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22043,7 +22050,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -22061,7 +22068,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22079,7 +22086,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22097,7 +22104,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_add1.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_add1.ifcstyleditem' in typeof(item)) is not False @@ -22112,7 +22119,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_add1.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_add1.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -22127,7 +22134,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22142,7 +22149,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -22168,7 +22175,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -22182,7 +22189,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_add1.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_add1.ifcpcurve' in typeof(curve3d)) is not False @@ -22207,7 +22214,7 @@ class IfcSurfaceFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22222,7 +22229,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22253,7 +22260,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22267,7 +22274,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22281,7 +22288,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22297,7 +22304,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22312,7 +22319,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22326,7 +22333,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22340,7 +22347,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22354,7 +22361,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22368,7 +22375,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_add1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22401,7 +22408,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22418,7 +22425,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_add1.ifcconic','ifc4x3_add1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_add1.ifcconic','ifc4x3_add1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22432,7 +22439,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22447,7 +22454,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22462,7 +22469,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22476,7 +22483,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_add1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_add1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_add1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_add1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22491,7 +22498,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22506,7 +22513,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22520,7 +22527,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22535,7 +22542,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22553,7 +22560,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22567,7 +22574,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22582,7 +22589,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22598,7 +22605,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22613,7 +22620,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22628,7 +22635,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22642,7 +22649,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22684,7 +22691,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22698,7 +22705,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22713,7 +22720,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22728,7 +22735,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22742,7 +22749,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22763,7 +22770,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22783,7 +22790,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22798,7 +22805,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22812,7 +22819,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22827,7 +22834,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22841,7 +22848,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22856,7 +22863,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22871,7 +22878,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22885,7 +22892,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22900,7 +22907,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22915,7 +22922,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22944,7 +22951,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_add1.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_add1.ifcplanarbox' in typeof(extent)) is not False @@ -22962,7 +22969,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_add1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_add1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -23019,7 +23026,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_add1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_add1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -23033,7 +23040,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -23047,7 +23054,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -23063,7 +23070,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -23078,7 +23085,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23092,7 +23099,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23107,7 +23114,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23122,7 +23129,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23136,7 +23143,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23151,7 +23158,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23166,7 +23173,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23180,7 +23187,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23195,7 +23202,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23227,7 +23234,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23242,7 +23249,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_add1.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_add1.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23256,7 +23263,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23270,7 +23277,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23285,7 +23292,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23299,7 +23306,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23314,7 +23321,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23329,7 +23336,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23343,7 +23350,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23361,7 +23368,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_add1.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_add1.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23380,7 +23387,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23395,7 +23402,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23410,7 +23417,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23425,7 +23432,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23439,7 +23446,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23454,7 +23461,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23469,7 +23476,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23483,7 +23490,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23498,7 +23505,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23513,7 +23520,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23527,7 +23534,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23542,7 +23549,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23557,7 +23564,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23579,7 +23586,7 @@ class IfcVehicle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23593,7 +23600,7 @@ class IfcVehicle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23608,7 +23615,7 @@ class IfcVehicleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23632,7 +23639,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23646,7 +23653,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23661,7 +23668,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23676,7 +23683,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23690,7 +23697,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23705,7 +23712,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23720,7 +23727,7 @@ class IfcVirtualElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23738,7 +23745,7 @@ class IfcVoidingFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23753,7 +23760,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23767,7 +23774,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23782,7 +23789,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23797,7 +23804,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23812,7 +23819,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23826,7 +23833,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23841,7 +23848,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23859,7 +23866,7 @@ class IfcWindow_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23873,7 +23880,7 @@ class IfcWindow_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_add1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23889,7 +23896,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23904,7 +23911,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23919,7 +23926,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23933,7 +23940,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -23948,7 +23955,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_add1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -23963,7 +23970,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23978,7 +23985,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23996,7 +24003,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24011,7 +24018,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24030,7 +24037,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -24045,7 +24052,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_add1.ifczone' in typeof(temp)) or ('ifc4x3_add1.ifcspace' in typeof(temp)) or ('ifc4x3_add1.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -24065,7 +24072,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -24080,7 +24087,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py index 93ed5efca6..79ac6b3d51 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9819,7 +9826,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -9870,7 +9877,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -9921,7 +9928,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -9935,7 +9942,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -9949,7 +9956,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -9963,7 +9970,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10071,7 +10078,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10086,7 +10093,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10113,7 +10120,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10296,7 +10303,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10311,7 +10318,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10326,7 +10333,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10383,7 +10390,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10602,7 +10609,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10626,7 +10633,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10641,7 +10648,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10680,7 +10687,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10734,7 +10741,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10749,7 +10756,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10764,7 +10771,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10779,7 +10786,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11025,7 +11032,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11118,7 +11125,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11133,7 +11140,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11157,7 +11164,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11331,7 +11338,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11346,7 +11353,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11360,7 +11367,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11375,7 +11382,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11390,7 +11397,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11405,7 +11412,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11420,7 +11427,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc1.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11435,7 +11442,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_rc1.ifcelementarysurface','ifc4x3_rc1.ifcsweptsurface','ifc4x3_rc1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_rc1.ifcelementarysurface','ifc4x3_rc1.ifcsweptsurface','ifc4x3_rc1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11449,7 +11456,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11463,7 +11470,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc1.ifcline','ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcpolyline','ifc4x3_rc1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc1.ifcline','ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcpolyline','ifc4x3_rc1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11478,7 +11485,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11492,7 +11499,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11507,7 +11514,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11521,7 +11528,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11536,7 +11543,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11551,7 +11558,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11566,7 +11573,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11580,7 +11587,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11595,7 +11602,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11610,7 +11617,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11624,7 +11631,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11639,7 +11646,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11712,7 +11719,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11730,7 +11737,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11744,7 +11751,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc1.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_rc1.ifcline' in typeof(outercurve)) is not False @@ -11758,7 +11765,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc1.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_rc1.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11773,7 +11780,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_rc1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_rc1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11787,7 +11794,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11802,7 +11809,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11816,7 +11823,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11830,7 +11837,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc1.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_rc1.ifcline' in typeof(temp)])) == 0) is not False @@ -11850,7 +11857,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -11866,7 +11873,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -11882,7 +11889,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -11898,7 +11905,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -11913,7 +11920,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11927,7 +11934,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11942,7 +11949,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11957,7 +11964,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -11971,7 +11978,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -11993,7 +12000,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12007,7 +12014,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12029,7 +12036,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12043,7 +12050,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12057,7 +12064,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12072,7 +12079,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12087,7 +12094,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12113,7 +12120,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12147,7 +12154,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12162,7 +12169,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12210,7 +12217,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12226,7 +12233,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12241,7 +12248,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12256,7 +12263,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12285,7 +12292,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12299,7 +12306,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12314,7 +12321,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -12329,7 +12336,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12344,7 +12351,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12358,7 +12365,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12373,7 +12380,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12388,7 +12395,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12402,7 +12409,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12420,7 +12427,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12434,7 +12441,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12449,7 +12456,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12464,7 +12471,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_rc1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc1.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_rc1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc1.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12478,7 +12485,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_rc1.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_rc1.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12492,7 +12499,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12508,7 +12515,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12522,7 +12529,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12536,7 +12543,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_rc1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12564,7 +12571,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12605,7 +12612,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_rc1.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_rc1.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12629,7 +12636,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12643,7 +12650,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12658,7 +12665,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12673,7 +12680,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12687,7 +12694,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12701,7 +12708,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12716,7 +12723,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12737,7 +12744,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12755,7 +12762,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12770,7 +12777,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12784,7 +12791,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12799,7 +12806,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12815,7 +12822,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -12832,7 +12839,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -12848,7 +12855,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -12863,7 +12870,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12877,7 +12884,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12892,7 +12899,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12907,7 +12914,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12921,7 +12928,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12936,7 +12943,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12951,7 +12958,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12965,7 +12972,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12980,7 +12987,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12995,7 +13002,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13009,7 +13016,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13024,7 +13031,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13039,7 +13046,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13053,7 +13060,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13068,7 +13075,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13083,7 +13090,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13119,7 +13126,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13148,7 +13155,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13162,7 +13169,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13176,7 +13183,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13198,7 +13205,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13220,7 +13227,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13234,7 +13241,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13248,7 +13255,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13262,7 +13269,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13284,7 +13291,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13298,7 +13305,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13330,7 +13337,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13344,7 +13351,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13359,7 +13366,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13374,7 +13381,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13388,7 +13395,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13403,7 +13410,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13421,7 +13428,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13457,7 +13464,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13471,7 +13478,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13486,7 +13493,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13510,7 +13517,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13524,7 +13531,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13539,7 +13546,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -13554,7 +13561,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13569,7 +13576,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13583,7 +13590,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13598,7 +13605,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13613,7 +13620,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13627,7 +13634,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13642,7 +13649,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13656,7 +13663,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13672,7 +13679,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13686,7 +13693,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13716,7 +13723,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13738,7 +13745,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_rc1.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_rc1.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13760,7 +13767,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13774,7 +13781,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_rc1.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_rc1.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -13789,7 +13796,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13803,7 +13810,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13818,7 +13825,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13833,7 +13840,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13847,7 +13854,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13862,7 +13869,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13901,7 +13908,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -13916,7 +13923,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13931,7 +13938,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -13946,7 +13953,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13961,7 +13968,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -13976,7 +13983,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13991,7 +13998,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14021,7 +14028,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14035,7 +14042,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14050,7 +14057,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14071,7 +14078,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14085,7 +14092,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14100,7 +14107,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14115,7 +14122,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14129,7 +14136,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14144,7 +14151,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14159,7 +14166,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14173,7 +14180,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14188,7 +14195,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14218,7 +14225,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14232,7 +14239,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14247,7 +14254,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14262,7 +14269,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14276,7 +14283,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14291,7 +14298,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14306,7 +14313,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14321,7 +14328,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14350,7 +14357,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14364,7 +14371,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14379,7 +14386,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14411,7 +14418,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_rc1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_rc1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14427,7 +14434,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14448,7 +14455,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14466,7 +14473,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14480,7 +14487,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14495,7 +14502,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14510,7 +14517,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14528,7 +14535,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14543,7 +14550,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14557,7 +14564,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14585,7 +14592,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14609,7 +14616,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14627,7 +14634,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14641,7 +14648,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14656,7 +14663,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14674,7 +14681,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14688,7 +14695,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14703,7 +14710,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14718,7 +14725,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14732,7 +14739,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14747,7 +14754,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14796,7 +14803,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -14811,7 +14818,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14827,7 +14834,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -14842,7 +14849,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -14857,7 +14864,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -14872,7 +14879,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -14886,7 +14893,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -14901,7 +14908,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -14922,7 +14929,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14937,7 +14944,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -14952,7 +14959,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -14967,7 +14974,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14981,7 +14988,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14996,7 +15003,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15011,7 +15018,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15025,7 +15032,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15040,7 +15047,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15055,7 +15062,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15069,7 +15076,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15084,7 +15091,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15099,7 +15106,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15117,7 +15124,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15139,7 +15146,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15153,7 +15160,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15175,7 +15182,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15189,7 +15196,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15204,7 +15211,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15219,7 +15226,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15233,7 +15240,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15248,7 +15255,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15263,7 +15270,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15277,7 +15284,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15292,7 +15299,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15307,7 +15314,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15321,7 +15328,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15336,7 +15343,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15351,7 +15358,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15365,7 +15372,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15380,7 +15387,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15395,7 +15402,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15409,7 +15416,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15424,7 +15431,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15439,7 +15446,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15453,7 +15460,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15468,7 +15475,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15486,7 +15493,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15500,7 +15507,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15515,7 +15522,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15536,7 +15543,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15569,7 +15576,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15583,7 +15590,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15598,7 +15605,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15613,7 +15620,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15627,7 +15634,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15642,7 +15649,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15657,7 +15664,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15671,7 +15678,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15686,7 +15693,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15701,7 +15708,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15716,7 +15723,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15734,7 +15741,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15749,7 +15756,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15772,7 +15779,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -15805,7 +15812,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -15820,7 +15827,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -15835,7 +15842,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_rc1.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_rc1.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -15882,7 +15889,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15896,7 +15903,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15911,7 +15918,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15926,7 +15933,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15940,7 +15947,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15955,7 +15962,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15976,7 +15983,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -15990,7 +15997,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16005,7 +16012,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc1.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc1.ifccolour' in typeof(style)])) <= 1) is not False @@ -16019,7 +16026,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16033,7 +16040,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16048,7 +16055,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16062,7 +16069,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16080,7 +16087,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16094,7 +16101,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16109,7 +16116,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16124,7 +16131,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16138,7 +16145,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16153,7 +16160,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16183,7 +16190,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16197,7 +16204,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16212,7 +16219,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16227,7 +16234,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16241,7 +16248,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16256,7 +16263,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16301,7 +16308,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16315,7 +16322,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16330,7 +16337,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16351,7 +16358,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16365,7 +16372,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16380,7 +16387,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16395,7 +16402,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16409,7 +16416,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16424,7 +16431,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16439,7 +16446,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_rc1.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_rc1.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16454,7 +16461,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16472,7 +16479,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16487,7 +16494,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16501,7 +16508,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16544,7 +16551,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16584,7 +16591,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16600,7 +16607,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16629,7 +16636,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16643,7 +16650,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16658,7 +16665,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16673,7 +16680,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16687,7 +16694,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16702,7 +16709,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16718,7 +16725,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -16733,7 +16740,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -16751,7 +16758,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -16769,7 +16776,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16783,7 +16790,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16798,7 +16805,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16819,7 +16826,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -16846,7 +16853,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16860,7 +16867,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16875,7 +16882,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16890,7 +16897,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -16904,7 +16911,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -16928,7 +16935,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16942,7 +16949,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16957,7 +16964,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16980,7 +16987,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -16995,7 +17002,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17010,7 +17017,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17028,7 +17035,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17042,7 +17049,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17057,7 +17064,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17081,7 +17088,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17095,7 +17102,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17110,7 +17117,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17147,7 +17154,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17180,7 +17187,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17194,7 +17201,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17209,7 +17216,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17225,7 +17232,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17252,7 +17259,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17282,7 +17289,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17297,7 +17304,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17329,7 +17336,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17368,7 +17375,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17382,7 +17389,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17397,7 +17404,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17412,7 +17419,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17426,7 +17433,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17441,7 +17448,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17456,7 +17463,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17470,7 +17477,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17485,7 +17492,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -17500,7 +17507,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17526,7 +17533,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17540,7 +17547,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17555,7 +17562,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17573,7 +17580,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17587,7 +17594,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17602,7 +17609,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17617,7 +17624,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17631,7 +17638,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17646,7 +17653,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17661,7 +17668,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17676,7 +17683,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17690,7 +17697,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17705,7 +17712,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17720,7 +17727,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -17741,7 +17748,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -17756,7 +17763,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -17774,7 +17781,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -17789,7 +17796,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -17807,7 +17814,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -17822,7 +17829,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -17837,7 +17844,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -17870,7 +17877,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_rc1.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_rc1.ifcorientededge' in typeof(edgeelement)) is not False @@ -17904,7 +17911,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17918,7 +17925,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17933,7 +17940,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17949,7 +17956,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -17967,7 +17974,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -17988,7 +17995,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18014,7 +18021,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18030,7 +18037,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18048,7 +18055,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18062,7 +18069,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18083,7 +18090,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18097,7 +18104,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18112,7 +18119,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18127,7 +18134,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18141,7 +18148,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18156,7 +18163,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18171,7 +18178,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18185,7 +18192,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18200,7 +18207,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18215,7 +18222,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18229,7 +18236,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18243,7 +18250,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18259,7 +18266,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18273,7 +18280,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18308,7 +18315,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18322,7 +18329,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18337,7 +18344,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -18352,7 +18359,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18386,7 +18393,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18401,7 +18408,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18415,7 +18422,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc1.ifcpolyline','ifc4x3_rc1.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_rc1.ifcpolyline','ifc4x3_rc1.ifccompositecurve'])) == 1) is not False @@ -18433,7 +18440,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18451,7 +18458,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18472,7 +18479,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18508,7 +18515,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc1.ifcshaperepresentation','ifc4x3_rc1.ifcgeometricrepresentationitem','ifc4x3_rc1.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18523,7 +18530,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc1.ifcgeometricrepresentationitem','ifc4x3_rc1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc1.ifcgeometricrepresentationitem','ifc4x3_rc1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18544,7 +18551,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18558,7 +18565,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18573,7 +18580,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18592,7 +18599,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18607,7 +18614,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc1.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -18631,7 +18638,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18645,7 +18652,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -18659,7 +18666,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -18680,7 +18687,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -18705,7 +18712,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -18720,7 +18727,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -18735,7 +18742,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -18754,7 +18761,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -18770,7 +18777,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -18785,7 +18792,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -18800,7 +18807,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -18818,7 +18825,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18832,7 +18839,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -18850,7 +18857,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18864,7 +18871,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -18883,7 +18890,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -18897,7 +18904,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -18911,7 +18918,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -18932,7 +18939,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18946,7 +18953,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18961,7 +18968,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18975,7 +18982,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18990,7 +18997,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19005,7 +19012,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19020,7 +19027,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19035,7 +19042,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19049,7 +19056,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19064,7 +19071,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19079,7 +19086,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19093,7 +19100,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19108,7 +19115,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -19123,7 +19130,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19137,7 +19144,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19155,7 +19162,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19169,7 +19176,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19184,7 +19191,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19198,7 +19205,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19213,7 +19220,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19227,7 +19234,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19242,7 +19249,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19256,7 +19263,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19271,7 +19278,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19286,7 +19293,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19300,7 +19307,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19315,7 +19322,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19333,7 +19340,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19347,7 +19354,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19362,7 +19369,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19376,7 +19383,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19391,7 +19398,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19406,7 +19413,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19421,7 +19428,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19435,7 +19442,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19457,7 +19464,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19471,7 +19478,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19495,7 +19502,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19510,7 +19517,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19524,7 +19531,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19546,7 +19553,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19561,7 +19568,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19578,7 +19585,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19594,7 +19601,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -19621,7 +19628,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19642,7 +19649,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19656,7 +19663,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19671,7 +19678,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19686,7 +19693,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19707,7 +19714,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19721,7 +19728,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19736,7 +19743,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19751,7 +19758,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19767,7 +19774,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -19783,7 +19790,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -19798,7 +19805,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -19813,7 +19820,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -19828,7 +19835,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -19846,7 +19853,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -19861,7 +19868,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -19876,7 +19883,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -19909,7 +19916,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc1.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc1.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -19923,7 +19930,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_rc1.ifcelement','ifc4x3_rc1.ifcelementtype','ifc4x3_rc1.ifcwindowstyle','ifc4x3_rc1.ifcdoorstyle','ifc4x3_rc1.ifcstructuralmember','ifc4x3_rc1.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects 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 @@ -19945,7 +19952,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -19960,7 +19967,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -19974,7 +19981,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -19993,7 +20000,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20020,7 +20027,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc1.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_rc1.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20042,7 +20049,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20066,7 +20073,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc1.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc1.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20094,7 +20101,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20110,7 +20117,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20126,7 +20133,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20144,7 +20151,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_rc1.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_rc1.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20160,7 +20167,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20175,7 +20182,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20194,7 +20201,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20221,7 +20228,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20245,7 +20252,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_rc1.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_rc1.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20275,7 +20282,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -20289,7 +20296,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20311,7 +20318,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20335,7 +20342,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20349,7 +20356,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20364,7 +20371,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20382,7 +20389,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20405,7 +20412,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20419,7 +20426,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20434,7 +20441,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20452,7 +20459,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20466,7 +20473,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20487,7 +20494,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20501,7 +20508,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20515,7 +20522,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20531,7 +20538,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20545,7 +20552,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0) is not False @@ -20561,7 +20568,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20575,7 +20582,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20589,7 +20596,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -20614,7 +20621,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20628,7 +20635,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20643,7 +20650,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20658,7 +20665,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20672,7 +20679,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20687,7 +20694,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20705,7 +20712,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -20720,7 +20727,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_rc1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_rc1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -20734,7 +20741,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -20748,7 +20755,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -20762,7 +20769,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -20776,7 +20783,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -20799,7 +20806,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20813,7 +20820,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20828,7 +20835,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20843,7 +20850,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20857,7 +20864,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20872,7 +20879,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20896,7 +20903,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20910,7 +20917,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20925,7 +20932,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -20940,7 +20947,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -20955,7 +20962,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20973,7 +20980,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20987,7 +20994,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21002,7 +21009,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21028,7 +21035,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21042,7 +21049,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21057,7 +21064,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21071,7 +21078,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21086,7 +21093,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21101,7 +21108,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21122,7 +21129,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_rc1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_rc1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21140,7 +21147,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21154,7 +21161,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21169,7 +21176,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21190,7 +21197,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21204,7 +21211,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21219,7 +21226,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21234,7 +21241,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21248,7 +21255,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21263,7 +21270,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21277,7 +21284,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21292,7 +21299,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21307,7 +21314,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21328,7 +21335,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21349,7 +21356,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21363,7 +21370,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21377,7 +21384,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21395,7 +21402,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21413,7 +21420,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21427,7 +21434,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21445,7 +21452,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc1.ifcstructuralloadlinearforce','ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc1.ifcstructuralloadlinearforce','ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21459,7 +21466,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21477,7 +21484,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21493,7 +21500,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21510,7 +21517,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21555,7 +21562,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc1.ifcstructuralloadplanarforce','ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc1.ifcstructuralloadplanarforce','ifc4x3_rc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21569,7 +21576,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -21584,7 +21591,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce','ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce','ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21602,7 +21609,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce','ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc1.ifcstructuralloadsingleforce','ifc4x3_rc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21620,7 +21627,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21635,7 +21642,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21649,7 +21656,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21667,7 +21674,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21685,7 +21692,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21703,7 +21710,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_rc1.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_rc1.ifcstyleditem' in typeof(item)) is not False @@ -21718,7 +21725,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc1.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc1.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -21733,7 +21740,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21748,7 +21755,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -21774,7 +21781,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -21788,7 +21795,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_rc1.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_rc1.ifcpcurve' in typeof(curve3d)) is not False @@ -21813,7 +21820,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21828,7 +21835,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -21861,7 +21868,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -21875,7 +21882,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -21889,7 +21896,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -21903,7 +21910,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -21918,7 +21925,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -21932,7 +21939,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -21946,7 +21953,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -21960,7 +21967,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -21974,7 +21981,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22007,7 +22014,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22022,7 +22029,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22037,7 +22044,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22053,7 +22060,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc1.ifcconic','ifc4x3_rc1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22068,7 +22075,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22082,7 +22089,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_rc1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_rc1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22097,7 +22104,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22112,7 +22119,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22126,7 +22133,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22141,7 +22148,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22159,7 +22166,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22173,7 +22180,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22188,7 +22195,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22204,7 +22211,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22219,7 +22226,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22234,7 +22241,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22248,7 +22255,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22290,7 +22297,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22304,7 +22311,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22319,7 +22326,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22334,7 +22341,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22348,7 +22355,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22369,7 +22376,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22389,7 +22396,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22404,7 +22411,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22418,7 +22425,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22433,7 +22440,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22447,7 +22454,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22462,7 +22469,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22477,7 +22484,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22491,7 +22498,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22506,7 +22513,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22521,7 +22528,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22550,7 +22557,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_rc1.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_rc1.ifcplanarbox' in typeof(extent)) is not False @@ -22568,7 +22575,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_rc1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_rc1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -22616,7 +22623,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -22630,7 +22637,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -22644,7 +22651,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -22660,7 +22667,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -22675,7 +22682,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22689,7 +22696,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22704,7 +22711,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22719,7 +22726,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22733,7 +22740,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22748,7 +22755,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22766,7 +22773,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -22780,7 +22787,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22795,7 +22802,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType)) + assert (((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType))) is not False @@ -22821,7 +22828,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -22836,7 +22843,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -22850,7 +22857,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -22864,7 +22871,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_rc1.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_rc1.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -22879,7 +22886,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22893,7 +22900,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22908,7 +22915,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22923,7 +22930,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22937,7 +22944,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -22955,7 +22962,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc1.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc1.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -22974,7 +22981,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -22989,7 +22996,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23004,7 +23011,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23019,7 +23026,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23033,7 +23040,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23048,7 +23055,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23063,7 +23070,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23077,7 +23084,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23092,7 +23099,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23107,7 +23114,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23121,7 +23128,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23136,7 +23143,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23151,7 +23158,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23182,7 +23189,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23196,7 +23203,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23211,7 +23218,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23226,7 +23233,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23240,7 +23247,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23255,7 +23262,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23279,7 +23286,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -23294,7 +23301,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23308,7 +23315,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23323,7 +23330,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -23338,7 +23345,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23353,7 +23360,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23368,7 +23375,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23382,7 +23389,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23397,7 +23404,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23415,7 +23422,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23431,7 +23438,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23446,7 +23453,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23461,7 +23468,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23475,7 +23482,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23490,7 +23497,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc1.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23511,7 +23518,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23526,7 +23533,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23544,7 +23551,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23559,7 +23566,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23578,7 +23585,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23593,7 +23600,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_rc1.ifczone' in typeof(temp)) or ('ifc4x3_rc1.ifcspace' in typeof(temp)) or ('ifc4x3_rc1.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -23613,7 +23620,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -23628,7 +23635,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py index 36db94892f..b4a23d9af3 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9915,7 +9922,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -9966,7 +9973,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10017,7 +10024,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -10031,7 +10038,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10045,7 +10052,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10059,7 +10066,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10170,7 +10177,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10185,7 +10192,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10212,7 +10219,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10395,7 +10402,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10410,7 +10417,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10425,7 +10432,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10482,7 +10489,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10701,7 +10708,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10725,7 +10732,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10740,7 +10747,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10779,7 +10786,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10833,7 +10840,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10848,7 +10855,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10863,7 +10870,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10878,7 +10885,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11124,7 +11131,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11217,7 +11224,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11232,7 +11239,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11256,7 +11263,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11430,7 +11437,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11445,7 +11452,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11459,7 +11466,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11474,7 +11481,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11489,7 +11496,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11504,7 +11511,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11519,7 +11526,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc2.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11534,7 +11541,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_rc2.ifcelementarysurface','ifc4x3_rc2.ifcsweptsurface','ifc4x3_rc2.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_rc2.ifcelementarysurface','ifc4x3_rc2.ifcsweptsurface','ifc4x3_rc2.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11548,7 +11555,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc2.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc2.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11562,7 +11569,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc2.ifcline','ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcpolyline','ifc4x3_rc2.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc2.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc2.ifcline','ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcpolyline','ifc4x3_rc2.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11577,7 +11584,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11591,7 +11598,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11606,7 +11613,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11620,7 +11627,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11635,7 +11642,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11650,7 +11657,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11665,7 +11672,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11679,7 +11686,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11694,7 +11701,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11709,7 +11716,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11723,7 +11730,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11738,7 +11745,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11805,7 +11812,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11823,7 +11830,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11837,7 +11844,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc2.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_rc2.ifcline' in typeof(outercurve)) is not False @@ -11851,7 +11858,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc2.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_rc2.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11866,7 +11873,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_rc2.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_rc2.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11880,7 +11887,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11895,7 +11902,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11909,7 +11916,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11923,7 +11930,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc2.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_rc2.ifcline' in typeof(temp)])) == 0) is not False @@ -11943,7 +11950,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -11959,7 +11966,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -11975,7 +11982,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -11991,7 +11998,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -12006,7 +12013,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12020,7 +12027,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12035,7 +12042,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12050,7 +12057,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12064,7 +12071,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12078,7 +12085,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12100,7 +12107,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12114,7 +12121,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12128,7 +12135,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12150,7 +12157,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12164,7 +12171,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12178,7 +12185,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12193,7 +12200,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12208,7 +12215,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12222,7 +12229,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc2.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12245,7 +12252,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3_rc2.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3_rc2.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12260,7 +12267,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12278,7 +12285,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12312,7 +12319,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12327,7 +12334,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12375,7 +12382,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12391,7 +12398,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12406,7 +12413,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12421,7 +12428,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12450,7 +12457,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12464,7 +12471,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12479,7 +12486,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -12494,7 +12501,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12509,7 +12516,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12523,7 +12530,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12538,7 +12545,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12553,7 +12560,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12567,7 +12574,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12588,7 +12595,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12602,7 +12609,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12617,7 +12624,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12632,7 +12639,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_rc2.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc2.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc2.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_rc2.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc2.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc2.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12646,7 +12653,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_rc2.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_rc2.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12660,7 +12667,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12676,7 +12683,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12690,7 +12697,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12704,7 +12711,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_rc2.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12732,7 +12739,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12773,7 +12780,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_rc2.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_rc2.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12797,7 +12804,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12811,7 +12818,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12826,7 +12833,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12841,7 +12848,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12855,7 +12862,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12869,7 +12876,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12884,7 +12891,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12905,7 +12912,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc2.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12923,7 +12930,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12938,7 +12945,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12952,7 +12959,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12967,7 +12974,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12983,7 +12990,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -13000,7 +13007,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -13016,7 +13023,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -13031,7 +13038,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13045,7 +13052,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13060,7 +13067,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13075,7 +13082,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13089,7 +13096,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13104,7 +13111,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13119,7 +13126,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13133,7 +13140,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13148,7 +13155,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13163,7 +13170,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13177,7 +13184,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13192,7 +13199,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13207,7 +13214,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13221,7 +13228,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13236,7 +13243,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13251,7 +13258,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13287,7 +13294,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13316,7 +13323,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13330,7 +13337,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13344,7 +13351,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13366,7 +13373,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13388,7 +13395,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13402,7 +13409,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13416,7 +13423,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13430,7 +13437,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13452,7 +13459,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13466,7 +13473,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13498,7 +13505,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13512,7 +13519,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13527,7 +13534,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13542,7 +13549,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13556,7 +13563,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13571,7 +13578,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13589,7 +13596,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13628,7 +13635,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13642,7 +13649,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13657,7 +13664,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13681,7 +13688,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13695,7 +13702,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13710,7 +13717,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -13725,7 +13732,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13740,7 +13747,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13754,7 +13761,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13769,7 +13776,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13784,7 +13791,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13798,7 +13805,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13813,7 +13820,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13827,7 +13834,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13843,7 +13850,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13857,7 +13864,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13887,7 +13894,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13909,7 +13916,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_rc2.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_rc2.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13931,7 +13938,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13945,7 +13952,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_rc2.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_rc2.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -13960,7 +13967,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13974,7 +13981,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13989,7 +13996,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14004,7 +14011,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14018,7 +14025,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14033,7 +14040,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14072,7 +14079,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14087,7 +14094,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14102,7 +14109,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14117,7 +14124,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14132,7 +14139,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14147,7 +14154,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14162,7 +14169,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14192,7 +14199,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14206,7 +14213,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14221,7 +14228,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14242,7 +14249,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14256,7 +14263,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14271,7 +14278,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14286,7 +14293,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14300,7 +14307,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14315,7 +14322,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14330,7 +14337,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14344,7 +14351,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14359,7 +14366,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14389,7 +14396,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14403,7 +14410,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14418,7 +14425,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14433,7 +14440,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14447,7 +14454,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14462,7 +14469,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14477,7 +14484,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14492,7 +14499,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14521,7 +14528,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14535,7 +14542,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14550,7 +14557,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14585,7 +14592,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_rc2.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc2.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_rc2.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc2.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14601,7 +14608,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14622,7 +14629,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14640,7 +14647,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14654,7 +14661,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14669,7 +14676,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14684,7 +14691,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14702,7 +14709,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14717,7 +14724,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14731,7 +14738,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14759,7 +14766,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14783,7 +14790,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14801,7 +14808,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14815,7 +14822,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14830,7 +14837,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14845,7 +14852,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14859,7 +14866,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14874,7 +14881,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14889,7 +14896,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14903,7 +14910,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14918,7 +14925,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14967,7 +14974,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -14982,7 +14989,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14998,7 +15005,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -15013,7 +15020,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -15028,7 +15035,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -15043,7 +15050,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -15057,7 +15064,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15072,7 +15079,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15093,7 +15100,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15108,7 +15115,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15123,7 +15130,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15138,7 +15145,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15152,7 +15159,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15167,7 +15174,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15182,7 +15189,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15196,7 +15203,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15211,7 +15218,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15226,7 +15233,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15240,7 +15247,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15255,7 +15262,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15270,7 +15277,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15288,7 +15295,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15310,7 +15317,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15324,7 +15331,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15346,7 +15353,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15360,7 +15367,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15375,7 +15382,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15390,7 +15397,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15404,7 +15411,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15419,7 +15426,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15434,7 +15441,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15448,7 +15455,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15463,7 +15470,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15478,7 +15485,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15492,7 +15499,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15507,7 +15514,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15522,7 +15529,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15536,7 +15543,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15551,7 +15558,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15566,7 +15573,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15580,7 +15587,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15595,7 +15602,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15610,7 +15617,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15624,7 +15631,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15639,7 +15646,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15657,7 +15664,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15671,7 +15678,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15686,7 +15693,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15707,7 +15714,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15740,7 +15747,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15754,7 +15761,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15769,7 +15776,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15784,7 +15791,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15798,7 +15805,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15813,7 +15820,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15828,7 +15835,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15842,7 +15849,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15857,7 +15864,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15872,7 +15879,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15887,7 +15894,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15905,7 +15912,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15920,7 +15927,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15943,7 +15950,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -15976,7 +15983,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -15991,7 +15998,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -16006,7 +16013,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_rc2.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_rc2.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -16053,7 +16060,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16067,7 +16074,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16082,7 +16089,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16097,7 +16104,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16111,7 +16118,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16126,7 +16133,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16147,7 +16154,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16161,7 +16168,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16176,7 +16183,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc2.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc2.ifccolour' in typeof(style)])) <= 1) is not False @@ -16190,7 +16197,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc2.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc2.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16204,7 +16211,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16219,7 +16226,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16233,7 +16240,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16251,7 +16258,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16265,7 +16272,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16280,7 +16287,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16295,7 +16302,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16309,7 +16316,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16324,7 +16331,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16354,7 +16361,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16368,7 +16375,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16383,7 +16390,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16398,7 +16405,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16412,7 +16419,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16427,7 +16434,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16472,7 +16479,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16486,7 +16493,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16501,7 +16508,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16522,7 +16529,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16536,7 +16543,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16551,7 +16558,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16566,7 +16573,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16580,7 +16587,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16595,7 +16602,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16610,7 +16617,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_rc2.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_rc2.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16625,7 +16632,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16643,7 +16650,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16658,7 +16665,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16672,7 +16679,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16715,7 +16722,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16763,7 +16770,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16779,7 +16786,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16808,7 +16815,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16822,7 +16829,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16837,7 +16844,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16852,7 +16859,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16866,7 +16873,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16881,7 +16888,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16897,7 +16904,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -16912,7 +16919,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -16930,7 +16937,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -16948,7 +16955,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16962,7 +16969,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16977,7 +16984,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16998,7 +17005,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -17025,7 +17032,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17039,7 +17046,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17054,7 +17061,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17069,7 +17076,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17083,7 +17090,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17107,7 +17114,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17121,7 +17128,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17136,7 +17143,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17159,7 +17166,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17174,7 +17181,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17189,7 +17196,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17207,7 +17214,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17221,7 +17228,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17236,7 +17243,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17260,7 +17267,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17274,7 +17281,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17289,7 +17296,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17326,7 +17333,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17362,7 +17369,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17376,7 +17383,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17391,7 +17398,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17407,7 +17414,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17434,7 +17441,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17464,7 +17471,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17479,7 +17486,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17511,7 +17518,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17550,7 +17557,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17564,7 +17571,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17579,7 +17586,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17594,7 +17601,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17608,7 +17615,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17623,7 +17630,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17638,7 +17645,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17652,7 +17659,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17667,7 +17674,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -17682,7 +17689,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17708,7 +17715,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17722,7 +17729,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17737,7 +17744,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17755,7 +17762,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17769,7 +17776,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17784,7 +17791,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17799,7 +17806,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17813,7 +17820,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17828,7 +17835,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17843,7 +17850,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17858,7 +17865,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17872,7 +17879,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17887,7 +17894,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17902,7 +17909,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -17923,7 +17930,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -17938,7 +17945,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -17956,7 +17963,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -17971,7 +17978,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -17989,7 +17996,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -18004,7 +18011,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18019,7 +18026,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18049,7 +18056,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_rc2.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_rc2.ifcorientededge' in typeof(edgeelement)) is not False @@ -18083,7 +18090,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18097,7 +18104,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18112,7 +18119,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18128,7 +18135,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18146,7 +18153,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18167,7 +18174,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18193,7 +18200,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18209,7 +18216,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18227,7 +18234,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18241,7 +18248,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18262,7 +18269,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18276,7 +18283,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18291,7 +18298,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18306,7 +18313,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18320,7 +18327,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18335,7 +18342,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18350,7 +18357,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18364,7 +18371,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18379,7 +18386,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18394,7 +18401,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18408,7 +18415,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18422,7 +18429,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18438,7 +18445,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18452,7 +18459,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18487,7 +18494,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18501,7 +18508,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18516,7 +18523,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -18531,7 +18538,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18573,7 +18580,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18588,7 +18595,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18602,7 +18609,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc2.ifcpolyline','ifc4x3_rc2.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_rc2.ifcpolyline','ifc4x3_rc2.ifccompositecurve'])) == 1) is not False @@ -18620,7 +18627,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18638,7 +18645,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18659,7 +18666,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18695,7 +18702,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc2.ifcshaperepresentation','ifc4x3_rc2.ifcgeometricrepresentationitem','ifc4x3_rc2.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18710,7 +18717,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc2.ifcgeometricrepresentationitem','ifc4x3_rc2.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc2.ifcgeometricrepresentationitem','ifc4x3_rc2.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18731,7 +18738,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18745,7 +18752,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18760,7 +18767,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18779,7 +18786,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc2.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc2.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18794,7 +18801,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc2.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -18818,7 +18825,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18832,7 +18839,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc2.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -18846,7 +18853,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -18867,7 +18874,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -18892,7 +18899,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -18907,7 +18914,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -18922,7 +18929,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -18941,7 +18948,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -18957,7 +18964,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -18972,7 +18979,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -18987,7 +18994,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19005,7 +19012,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19019,7 +19026,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19037,7 +19044,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19051,7 +19058,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19070,7 +19077,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19084,7 +19091,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19098,7 +19105,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19119,7 +19126,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19133,7 +19140,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19148,7 +19155,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19162,7 +19169,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19177,7 +19184,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19192,7 +19199,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19207,7 +19214,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19222,7 +19229,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19236,7 +19243,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19251,7 +19258,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19266,7 +19273,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19280,7 +19287,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19295,7 +19302,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -19310,7 +19317,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19324,7 +19331,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19342,7 +19349,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19356,7 +19363,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19371,7 +19378,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19385,7 +19392,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19400,7 +19407,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19414,7 +19421,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19429,7 +19436,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19443,7 +19450,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19458,7 +19465,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19473,7 +19480,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19487,7 +19494,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19502,7 +19509,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19520,7 +19527,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19534,7 +19541,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19549,7 +19556,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19563,7 +19570,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19578,7 +19585,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19593,7 +19600,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19608,7 +19615,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19622,7 +19629,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19644,7 +19651,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19658,7 +19665,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19682,7 +19689,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19697,7 +19704,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19711,7 +19718,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19733,7 +19740,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19748,7 +19755,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19765,7 +19772,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19781,7 +19788,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -19808,7 +19815,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19829,7 +19836,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19843,7 +19850,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19858,7 +19865,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19873,7 +19880,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19894,7 +19901,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19908,7 +19915,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19923,7 +19930,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19938,7 +19945,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19954,7 +19961,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -19970,7 +19977,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -19985,7 +19992,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20000,7 +20007,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20015,7 +20022,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20033,7 +20040,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20048,7 +20055,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20063,7 +20070,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20096,7 +20103,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc2.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc2.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc2.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc2.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20110,7 +20117,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_rc2.ifcelement','ifc4x3_rc2.ifcelementtype','ifc4x3_rc2.ifcwindowstyle','ifc4x3_rc2.ifcdoorstyle','ifc4x3_rc2.ifcstructuralmember','ifc4x3_rc2.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects 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 @@ -20132,7 +20139,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20147,7 +20154,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20161,7 +20168,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20180,7 +20187,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20207,7 +20214,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc2.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_rc2.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20229,7 +20236,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20253,7 +20260,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc2.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc2.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20281,7 +20288,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20297,7 +20304,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20313,7 +20320,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20331,7 +20338,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_rc2.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_rc2.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20347,7 +20354,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20362,7 +20369,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20381,7 +20388,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc2.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc2.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc2.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20408,7 +20415,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20432,7 +20439,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_rc2.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_rc2.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20462,7 +20469,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -20476,7 +20483,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20498,7 +20505,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20522,7 +20529,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20536,7 +20543,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20551,7 +20558,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20569,7 +20576,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20592,7 +20599,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20606,7 +20613,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20621,7 +20628,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20639,7 +20646,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20653,7 +20660,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20674,7 +20681,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20688,7 +20695,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20702,7 +20709,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20718,7 +20725,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20732,7 +20739,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.OffsetLongitudinal)])) == 0) is not False @@ -20748,7 +20755,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20762,7 +20769,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20776,7 +20783,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -20807,7 +20814,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20821,7 +20828,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20836,7 +20843,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20854,7 +20861,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20868,7 +20875,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20883,7 +20890,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20901,7 +20908,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -20916,7 +20923,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_rc2.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_rc2.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -20930,7 +20937,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -20944,7 +20951,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -20958,7 +20965,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -20972,7 +20979,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -20995,7 +21002,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21009,7 +21016,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21024,7 +21031,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21039,7 +21046,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21053,7 +21060,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21068,7 +21075,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21092,7 +21099,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21106,7 +21113,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21121,7 +21128,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -21136,7 +21143,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -21151,7 +21158,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21169,7 +21176,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21183,7 +21190,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21198,7 +21205,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21224,7 +21231,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21238,7 +21245,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21253,7 +21260,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21267,7 +21274,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21282,7 +21289,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21297,7 +21304,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21318,7 +21325,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_rc2.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc2.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc2.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_rc2.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc2.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc2.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21336,7 +21343,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21350,7 +21357,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21365,7 +21372,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21386,7 +21393,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21400,7 +21407,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21415,7 +21422,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21430,7 +21437,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21444,7 +21451,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21459,7 +21466,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21473,7 +21480,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21488,7 +21495,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21503,7 +21510,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21524,7 +21531,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21545,7 +21552,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21559,7 +21566,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21573,7 +21580,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21591,7 +21598,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21609,7 +21616,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21623,7 +21630,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21641,7 +21648,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc2.ifcstructuralloadlinearforce','ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc2.ifcstructuralloadlinearforce','ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21655,7 +21662,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21673,7 +21680,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21689,7 +21696,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21706,7 +21713,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21751,7 +21758,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc2.ifcstructuralloadplanarforce','ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc2.ifcstructuralloadplanarforce','ifc4x3_rc2.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21765,7 +21772,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -21780,7 +21787,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce','ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce','ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21798,7 +21805,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce','ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc2.ifcstructuralloadsingleforce','ifc4x3_rc2.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21816,7 +21823,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21831,7 +21838,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21845,7 +21852,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21863,7 +21870,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21881,7 +21888,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21899,7 +21906,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_rc2.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_rc2.ifcstyleditem' in typeof(item)) is not False @@ -21914,7 +21921,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc2.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc2.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -21929,7 +21936,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21944,7 +21951,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -21970,7 +21977,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -21984,7 +21991,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_rc2.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_rc2.ifcpcurve' in typeof(curve3d)) is not False @@ -22009,7 +22016,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22024,7 +22031,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22057,7 +22064,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22071,7 +22078,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22085,7 +22092,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22099,7 +22106,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22114,7 +22121,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22128,7 +22135,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22142,7 +22149,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22156,7 +22163,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22170,7 +22177,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc2.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22203,7 +22210,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22218,7 +22225,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22233,7 +22240,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22249,7 +22256,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc2.ifcconic','ifc4x3_rc2.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22264,7 +22271,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22278,7 +22285,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_rc2.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc2.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_rc2.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc2.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22293,7 +22300,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22308,7 +22315,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22322,7 +22329,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22337,7 +22344,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22355,7 +22362,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22369,7 +22376,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22384,7 +22391,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22400,7 +22407,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22415,7 +22422,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22430,7 +22437,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22444,7 +22451,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22486,7 +22493,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22500,7 +22507,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22515,7 +22522,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22530,7 +22537,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22544,7 +22551,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22565,7 +22572,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22585,7 +22592,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22600,7 +22607,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22614,7 +22621,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22629,7 +22636,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22643,7 +22650,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22658,7 +22665,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22673,7 +22680,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22687,7 +22694,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22702,7 +22709,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22717,7 +22724,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22746,7 +22753,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_rc2.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_rc2.ifcplanarbox' in typeof(extent)) is not False @@ -22764,7 +22771,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_rc2.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_rc2.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -22812,7 +22819,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc2.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc2.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -22826,7 +22833,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -22840,7 +22847,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -22856,7 +22863,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -22871,7 +22878,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22885,7 +22892,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22900,7 +22907,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22915,7 +22922,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22929,7 +22936,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22944,7 +22951,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22962,7 +22969,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -22976,7 +22983,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22991,7 +22998,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType)) + assert (((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType))) is not False @@ -23017,7 +23024,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23032,7 +23039,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23046,7 +23053,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23060,7 +23067,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_rc2.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_rc2.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23075,7 +23082,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23089,7 +23096,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23104,7 +23111,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23119,7 +23126,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23133,7 +23140,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23151,7 +23158,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc2.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc2.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23170,7 +23177,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23185,7 +23192,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23200,7 +23207,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23215,7 +23222,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23229,7 +23236,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23244,7 +23251,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23259,7 +23266,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23273,7 +23280,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23288,7 +23295,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23303,7 +23310,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23317,7 +23324,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23332,7 +23339,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23347,7 +23354,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23378,7 +23385,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23392,7 +23399,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23407,7 +23414,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23422,7 +23429,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23436,7 +23443,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23451,7 +23458,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23475,7 +23482,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -23490,7 +23497,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23504,7 +23511,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23519,7 +23526,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -23534,7 +23541,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23549,7 +23556,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23564,7 +23571,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23578,7 +23585,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23593,7 +23600,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23611,7 +23618,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc2.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23627,7 +23634,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23642,7 +23649,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23657,7 +23664,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23671,7 +23678,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23686,7 +23693,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc2.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc2.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23707,7 +23714,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23722,7 +23729,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23740,7 +23747,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23755,7 +23762,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23774,7 +23781,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23789,7 +23796,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_rc2.ifczone' in typeof(temp)) or ('ifc4x3_rc2.ifcspace' in typeof(temp)) or ('ifc4x3_rc2.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -23809,7 +23816,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -23824,7 +23831,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py index 5f421c24ed..b68a9c737c 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9930,7 +9937,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -9981,7 +9988,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10032,7 +10039,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -10046,7 +10053,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10060,7 +10067,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10074,7 +10081,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10185,7 +10192,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10200,7 +10207,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10227,7 +10234,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10410,7 +10417,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10425,7 +10432,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10440,7 +10447,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10497,7 +10504,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10713,7 +10720,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10737,7 +10744,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10752,7 +10759,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10788,7 +10795,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10845,7 +10852,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10860,7 +10867,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10875,7 +10882,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10890,7 +10897,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11139,7 +11146,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11229,7 +11236,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11244,7 +11251,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11268,7 +11275,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11439,7 +11446,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11454,7 +11461,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11468,7 +11475,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11483,7 +11490,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11498,7 +11505,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11513,7 +11520,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11528,7 +11535,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc3.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11543,7 +11550,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_rc3.ifcelementarysurface','ifc4x3_rc3.ifcsweptsurface','ifc4x3_rc3.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_rc3.ifcelementarysurface','ifc4x3_rc3.ifcsweptsurface','ifc4x3_rc3.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11557,7 +11564,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc3.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc3.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11571,7 +11578,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc3.ifcline','ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcpolyline','ifc4x3_rc3.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc3.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc3.ifcline','ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcpolyline','ifc4x3_rc3.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11586,7 +11593,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11600,7 +11607,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11615,7 +11622,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11629,7 +11636,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11644,7 +11651,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11659,7 +11666,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11674,7 +11681,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11688,7 +11695,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11703,7 +11710,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11718,7 +11725,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11732,7 +11739,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11747,7 +11754,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11802,7 +11809,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11820,7 +11827,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11834,7 +11841,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc3.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_rc3.ifcline' in typeof(outercurve)) is not False @@ -11848,7 +11855,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc3.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_rc3.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11863,7 +11870,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_rc3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_rc3.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11877,7 +11884,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11892,7 +11899,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11906,7 +11913,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11920,7 +11927,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc3.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_rc3.ifcline' in typeof(temp)])) == 0) is not False @@ -11940,7 +11947,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -11956,7 +11963,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -11972,7 +11979,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -11988,7 +11995,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -12003,7 +12010,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12017,7 +12024,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12032,7 +12039,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12047,7 +12054,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12061,7 +12068,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12075,7 +12082,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12097,7 +12104,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12111,7 +12118,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12125,7 +12132,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12147,7 +12154,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12161,7 +12168,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12175,7 +12182,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12190,7 +12197,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12205,7 +12212,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12219,7 +12226,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc3.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12242,7 +12249,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3_rc3.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3_rc3.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12257,7 +12264,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12272,7 +12279,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12306,7 +12313,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12321,7 +12328,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12369,7 +12376,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12385,7 +12392,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12400,7 +12407,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12415,7 +12422,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12444,7 +12451,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12458,7 +12465,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12473,7 +12480,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -12488,7 +12495,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12503,7 +12510,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12517,7 +12524,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12532,7 +12539,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12547,7 +12554,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12561,7 +12568,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12579,7 +12586,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12593,7 +12600,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12608,7 +12615,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12623,7 +12630,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_rc3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc3.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc3.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_rc3.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc3.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc3.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12637,7 +12644,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_rc3.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_rc3.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12651,7 +12658,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12667,7 +12674,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12681,7 +12688,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12695,7 +12702,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_rc3.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12723,7 +12730,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12764,7 +12771,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_rc3.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_rc3.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12779,7 +12786,7 @@ class IfcBridge_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12797,7 +12804,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12811,7 +12818,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12826,7 +12833,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12841,7 +12848,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12855,7 +12862,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12869,7 +12876,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12884,7 +12891,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12905,7 +12912,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc3.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12923,7 +12930,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12938,7 +12945,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12952,7 +12959,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12967,7 +12974,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12983,7 +12990,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -13000,7 +13007,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -13016,7 +13023,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -13031,7 +13038,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13045,7 +13052,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13060,7 +13067,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13075,7 +13082,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13089,7 +13096,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13104,7 +13111,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13119,7 +13126,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13133,7 +13140,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13148,7 +13155,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13163,7 +13170,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13177,7 +13184,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13192,7 +13199,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13207,7 +13214,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13221,7 +13228,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13236,7 +13243,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13251,7 +13258,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13287,7 +13294,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13316,7 +13323,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13330,7 +13337,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13344,7 +13351,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13366,7 +13373,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13388,7 +13395,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13402,7 +13409,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13416,7 +13423,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13430,7 +13437,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13452,7 +13459,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13466,7 +13473,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13498,7 +13505,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13512,7 +13519,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13527,7 +13534,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13542,7 +13549,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13556,7 +13563,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13571,7 +13578,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13589,7 +13596,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13625,7 +13632,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13639,7 +13646,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13654,7 +13661,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13678,7 +13685,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13692,7 +13699,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13707,7 +13714,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -13722,7 +13729,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13737,7 +13744,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13751,7 +13758,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13766,7 +13773,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13781,7 +13788,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13795,7 +13802,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13810,7 +13817,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13824,7 +13831,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13840,7 +13847,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13854,7 +13861,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13884,7 +13891,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13906,7 +13913,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_rc3.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_rc3.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13928,7 +13935,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13942,7 +13949,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_rc3.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_rc3.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -13957,7 +13964,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13971,7 +13978,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13986,7 +13993,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14001,7 +14008,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14015,7 +14022,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14030,7 +14037,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14069,7 +14076,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14084,7 +14091,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14099,7 +14106,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14114,7 +14121,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14129,7 +14136,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14144,7 +14151,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14159,7 +14166,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14189,7 +14196,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14203,7 +14210,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14218,7 +14225,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14239,7 +14246,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14253,7 +14260,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14268,7 +14275,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14283,7 +14290,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14297,7 +14304,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14312,7 +14319,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14327,7 +14334,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14341,7 +14348,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14356,7 +14363,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14389,7 +14396,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14403,7 +14410,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14418,7 +14425,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14433,7 +14440,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14447,7 +14454,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14462,7 +14469,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14477,7 +14484,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14492,7 +14499,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14521,7 +14528,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14535,7 +14542,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14550,7 +14557,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14587,7 +14594,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_rc3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_rc3.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc3.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14603,7 +14610,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14624,7 +14631,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14642,7 +14649,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14656,7 +14663,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14671,7 +14678,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14686,7 +14693,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14704,7 +14711,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14719,7 +14726,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14733,7 +14740,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14761,7 +14768,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14785,7 +14792,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14806,7 +14813,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14820,7 +14827,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14835,7 +14842,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14850,7 +14857,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14864,7 +14871,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14879,7 +14886,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14894,7 +14901,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14908,7 +14915,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14923,7 +14930,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14962,7 +14969,7 @@ class IfcDistributionSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14984,7 +14991,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -14999,7 +15006,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15013,7 +15020,7 @@ class IfcDoor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15027,7 +15034,7 @@ class IfcDoor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15043,7 +15050,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -15058,7 +15065,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -15073,7 +15080,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -15088,7 +15095,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -15102,7 +15109,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15117,7 +15124,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15138,7 +15145,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15153,7 +15160,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15168,7 +15175,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15183,7 +15190,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15197,7 +15204,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15212,7 +15219,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15227,7 +15234,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15241,7 +15248,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15256,7 +15263,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15271,7 +15278,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15285,7 +15292,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15300,7 +15307,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15315,7 +15322,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15333,7 +15340,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15355,7 +15362,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15369,7 +15376,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15391,7 +15398,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15405,7 +15412,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15420,7 +15427,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15435,7 +15442,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15449,7 +15456,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15464,7 +15471,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15479,7 +15486,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15493,7 +15500,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15508,7 +15515,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15523,7 +15530,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15537,7 +15544,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15552,7 +15559,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15567,7 +15574,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15581,7 +15588,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15596,7 +15603,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15611,7 +15618,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15625,7 +15632,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15640,7 +15647,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15655,7 +15662,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15669,7 +15676,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15684,7 +15691,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15702,7 +15709,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15716,7 +15723,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15731,7 +15738,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15752,7 +15759,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15785,7 +15792,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15799,7 +15806,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15814,7 +15821,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15829,7 +15836,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15843,7 +15850,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15858,7 +15865,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15873,7 +15880,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15887,7 +15894,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15902,7 +15909,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15917,7 +15924,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15932,7 +15939,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15950,7 +15957,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15965,7 +15972,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15988,7 +15995,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -16021,7 +16028,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -16036,7 +16043,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -16051,7 +16058,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_rc3.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_rc3.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -16092,7 +16099,7 @@ class IfcFacilityPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED)) or (((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert (((predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED)) or (((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -16110,7 +16117,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16124,7 +16131,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16139,7 +16146,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16154,7 +16161,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16168,7 +16175,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16183,7 +16190,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16198,7 +16205,7 @@ class IfcFeatureElement_NotContained: def __call__(self): containedinstructure = self.ContainedInStructure - assert sizeof(containedinstructure) == 0 + assert (sizeof(containedinstructure) == 0) is not False @@ -16216,7 +16223,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16230,7 +16237,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16245,7 +16252,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc3.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc3.ifccolour' in typeof(style)])) <= 1) is not False @@ -16259,7 +16266,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc3.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16273,7 +16280,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16288,7 +16295,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16302,7 +16309,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16320,7 +16327,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16334,7 +16341,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16349,7 +16356,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16364,7 +16371,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16378,7 +16385,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16393,7 +16400,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16423,7 +16430,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16437,7 +16444,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16452,7 +16459,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16467,7 +16474,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16481,7 +16488,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16496,7 +16503,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16541,7 +16548,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16555,7 +16562,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16570,7 +16577,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16591,7 +16598,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16605,7 +16612,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16620,7 +16627,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16635,7 +16642,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16649,7 +16656,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16664,7 +16671,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16679,7 +16686,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_rc3.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_rc3.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16694,7 +16701,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16712,7 +16719,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16727,7 +16734,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16741,7 +16748,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16784,7 +16791,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16832,7 +16839,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16848,7 +16855,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16877,7 +16884,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16891,7 +16898,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16906,7 +16913,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16921,7 +16928,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16935,7 +16942,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16950,7 +16957,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16966,7 +16973,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -16981,7 +16988,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -16999,7 +17006,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -17017,7 +17024,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -17031,7 +17038,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17046,7 +17053,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert (((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -17067,7 +17074,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -17094,7 +17101,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17108,7 +17115,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17123,7 +17130,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17138,7 +17145,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17152,7 +17159,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17176,7 +17183,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17190,7 +17197,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17205,7 +17212,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17228,7 +17235,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17243,7 +17250,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17258,7 +17265,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17276,7 +17283,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17290,7 +17297,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17305,7 +17312,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17329,7 +17336,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17343,7 +17350,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17358,7 +17365,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17395,7 +17402,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17419,7 +17426,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17433,7 +17440,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17448,7 +17455,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17464,7 +17471,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17491,7 +17498,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17521,7 +17528,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17536,7 +17543,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17568,7 +17575,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17607,7 +17614,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17621,7 +17628,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17636,7 +17643,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17651,7 +17658,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17665,7 +17672,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17680,7 +17687,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17695,7 +17702,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17709,7 +17716,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17724,7 +17731,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -17739,7 +17746,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17765,7 +17772,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17779,7 +17786,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17794,7 +17801,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17812,7 +17819,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17826,7 +17833,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17841,7 +17848,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17856,7 +17863,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17870,7 +17877,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17885,7 +17892,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17900,7 +17907,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17915,7 +17922,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17929,7 +17936,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17944,7 +17951,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17959,7 +17966,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -17980,7 +17987,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -17995,7 +18002,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18013,7 +18020,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -18028,7 +18035,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -18046,7 +18053,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -18061,7 +18068,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18076,7 +18083,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18094,7 +18101,7 @@ class IfcOpeningElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18118,7 +18125,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_rc3.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_rc3.ifcorientededge' in typeof(edgeelement)) is not False @@ -18152,7 +18159,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18166,7 +18173,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18181,7 +18188,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18197,7 +18204,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18215,7 +18222,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18230,7 +18237,7 @@ class IfcPavement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18244,7 +18251,7 @@ class IfcPavement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18259,7 +18266,7 @@ class IfcPavementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18274,7 +18281,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18300,7 +18307,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18316,7 +18323,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18334,7 +18341,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18348,7 +18355,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18369,7 +18376,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18383,7 +18390,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18398,7 +18405,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18413,7 +18420,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18427,7 +18434,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18442,7 +18449,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18457,7 +18464,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18471,7 +18478,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18486,7 +18493,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18501,7 +18508,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18515,7 +18522,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18529,7 +18536,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18545,7 +18552,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18559,7 +18566,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18594,7 +18601,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18608,7 +18615,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18623,7 +18630,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -18638,7 +18645,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18680,7 +18687,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18695,7 +18702,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18709,7 +18716,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc3.ifcpolyline','ifc4x3_rc3.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_rc3.ifcpolyline','ifc4x3_rc3.ifccompositecurve'])) == 1) is not False @@ -18727,7 +18734,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18744,7 +18751,7 @@ class IfcPolynomialCurve_ValidCoefficients: coefficientsy = self.CoefficientsY coefficientsz = self.CoefficientsZ - assert (exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz)) + assert ((exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz))) is not False @@ -18759,7 +18766,7 @@ class IfcPolynomialCurve_CorrectPositionDim: position = self.Position coefficientsz = self.CoefficientsZ - assert ((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3) + assert (((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3)) is not False @@ -18777,7 +18784,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18798,7 +18805,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18834,7 +18841,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc3.ifcshaperepresentation','ifc4x3_rc3.ifcgeometricrepresentationitem','ifc4x3_rc3.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18849,7 +18856,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc3.ifcgeometricrepresentationitem','ifc4x3_rc3.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc3.ifcgeometricrepresentationitem','ifc4x3_rc3.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18867,7 +18874,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18881,7 +18888,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18896,7 +18903,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18915,7 +18922,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc3.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc3.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18930,7 +18937,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc3.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -18954,7 +18961,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18968,7 +18975,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc3.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -18982,7 +18989,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -19003,7 +19010,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19018,7 +19025,7 @@ class IfcProjectionElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19040,7 +19047,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -19055,7 +19062,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -19070,7 +19077,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -19089,7 +19096,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -19105,7 +19112,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -19120,7 +19127,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19135,7 +19142,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19153,7 +19160,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19167,7 +19174,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19185,7 +19192,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19199,7 +19206,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19218,7 +19225,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19232,7 +19239,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19246,7 +19253,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19267,7 +19274,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19281,7 +19288,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19296,7 +19303,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19310,7 +19317,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19325,7 +19332,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19340,7 +19347,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19355,7 +19362,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19370,7 +19377,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19384,7 +19391,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19399,7 +19406,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19414,7 +19421,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19428,7 +19435,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19443,7 +19450,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -19458,7 +19465,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19472,7 +19479,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19490,7 +19497,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19504,7 +19511,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19519,7 +19526,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19533,7 +19540,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19548,7 +19555,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19562,7 +19569,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19577,7 +19584,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19591,7 +19598,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19606,7 +19613,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19621,7 +19628,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19635,7 +19642,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19650,7 +19657,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19665,7 +19672,7 @@ class IfcRailway_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19680,7 +19687,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19694,7 +19701,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19709,7 +19716,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19723,7 +19730,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19738,7 +19745,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19753,7 +19760,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19768,7 +19775,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19782,7 +19789,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19804,7 +19811,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19818,7 +19825,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19842,7 +19849,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19857,7 +19864,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19871,7 +19878,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19893,7 +19900,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19908,7 +19915,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19925,7 +19932,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19941,7 +19948,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -19968,7 +19975,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19989,7 +19996,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20003,7 +20010,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20018,7 +20025,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20033,7 +20040,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20054,7 +20061,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20068,7 +20075,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20083,7 +20090,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20098,7 +20105,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20114,7 +20121,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20130,7 +20137,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -20145,7 +20152,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20160,7 +20167,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20175,7 +20182,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20193,7 +20200,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20208,7 +20215,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20223,7 +20230,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20256,7 +20263,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc3.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc3.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc3.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20270,7 +20277,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_rc3.ifcelement','ifc4x3_rc3.ifcelementtype','ifc4x3_rc3.ifcwindowstyle','ifc4x3_rc3.ifcdoorstyle','ifc4x3_rc3.ifcstructuralmember','ifc4x3_rc3.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects 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 @@ -20292,7 +20299,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20307,7 +20314,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20321,7 +20328,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20340,7 +20347,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20367,7 +20374,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc3.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_rc3.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20389,7 +20396,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20413,7 +20420,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc3.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc3.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20441,7 +20448,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20457,7 +20464,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20473,7 +20480,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20491,7 +20498,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_rc3.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_rc3.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20507,7 +20514,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20522,7 +20529,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20541,7 +20548,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc3.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc3.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc3.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20568,7 +20575,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20592,7 +20599,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_rc3.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_rc3.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20622,7 +20629,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -20636,7 +20643,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20658,7 +20665,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20679,7 +20686,7 @@ class IfcRoad_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -20694,7 +20701,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20708,7 +20715,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20723,7 +20730,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20741,7 +20748,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20764,7 +20771,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20778,7 +20785,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20793,7 +20800,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20811,7 +20818,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20825,7 +20832,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20849,7 +20856,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20863,7 +20870,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20877,7 +20884,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20893,7 +20900,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20907,7 +20914,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -20923,7 +20930,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20937,7 +20944,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20951,7 +20958,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -20982,7 +20989,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20996,7 +21003,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21011,7 +21018,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21026,7 +21033,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21040,7 +21047,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21055,7 +21062,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21073,7 +21080,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -21088,7 +21095,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_rc3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_rc3.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -21102,7 +21109,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -21116,7 +21123,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -21130,7 +21137,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -21144,7 +21151,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -21167,7 +21174,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21181,7 +21188,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21196,7 +21203,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21211,7 +21218,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21225,7 +21232,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21240,7 +21247,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21267,7 +21274,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21281,7 +21288,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21296,7 +21303,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -21311,7 +21318,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -21326,7 +21333,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21344,7 +21351,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21358,7 +21365,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21373,7 +21380,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21399,7 +21406,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21413,7 +21420,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21428,7 +21435,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21442,7 +21449,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21457,7 +21464,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21472,7 +21479,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21493,7 +21500,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_rc3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_rc3.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc3.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc3.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21511,7 +21518,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21525,7 +21532,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21540,7 +21547,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21564,7 +21571,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21578,7 +21585,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21593,7 +21600,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21608,7 +21615,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21622,7 +21629,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21637,7 +21644,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21651,7 +21658,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21666,7 +21673,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21681,7 +21688,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21702,7 +21709,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21716,7 +21723,7 @@ class IfcStructuralAnalysisModel_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21737,7 +21744,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21751,7 +21758,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21765,7 +21772,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21783,7 +21790,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21801,7 +21808,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21815,7 +21822,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21833,7 +21840,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc3.ifcstructuralloadlinearforce','ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc3.ifcstructuralloadlinearforce','ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21847,7 +21854,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21865,7 +21872,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21881,7 +21888,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21898,7 +21905,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21943,7 +21950,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc3.ifcstructuralloadplanarforce','ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc3.ifcstructuralloadplanarforce','ifc4x3_rc3.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21957,7 +21964,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -21972,7 +21979,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce','ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce','ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21990,7 +21997,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce','ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc3.ifcstructuralloadsingleforce','ifc4x3_rc3.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22008,7 +22015,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22023,7 +22030,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -22037,7 +22044,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22055,7 +22062,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22073,7 +22080,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22091,7 +22098,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_rc3.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_rc3.ifcstyleditem' in typeof(item)) is not False @@ -22106,7 +22113,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc3.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc3.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -22121,7 +22128,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22136,7 +22143,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -22162,7 +22169,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -22176,7 +22183,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_rc3.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_rc3.ifcpcurve' in typeof(curve3d)) is not False @@ -22201,7 +22208,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22216,7 +22223,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22249,7 +22256,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22263,7 +22270,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22277,7 +22284,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22291,7 +22298,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22306,7 +22313,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22320,7 +22327,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22334,7 +22341,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22348,7 +22355,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22362,7 +22369,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc3.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22395,7 +22402,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22410,7 +22417,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22425,7 +22432,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22441,7 +22448,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc3.ifcconic','ifc4x3_rc3.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22456,7 +22463,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22470,7 +22477,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_rc3.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc3.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_rc3.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc3.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22485,7 +22492,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22500,7 +22507,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22514,7 +22521,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22529,7 +22536,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22547,7 +22554,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22561,7 +22568,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22576,7 +22583,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22592,7 +22599,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22607,7 +22614,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22622,7 +22629,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22636,7 +22643,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22678,7 +22685,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22692,7 +22699,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22707,7 +22714,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22722,7 +22729,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22736,7 +22743,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22757,7 +22764,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22777,7 +22784,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22792,7 +22799,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22806,7 +22813,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22821,7 +22828,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22835,7 +22842,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22850,7 +22857,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22865,7 +22872,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22879,7 +22886,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22894,7 +22901,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22909,7 +22916,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22938,7 +22945,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_rc3.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_rc3.ifcplanarbox' in typeof(extent)) is not False @@ -22956,7 +22963,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_rc3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_rc3.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -23007,7 +23014,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc3.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -23021,7 +23028,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -23035,7 +23042,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -23051,7 +23058,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -23066,7 +23073,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23080,7 +23087,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23095,7 +23102,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23110,7 +23117,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23124,7 +23131,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23139,7 +23146,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23154,7 +23161,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType))) is not False @@ -23168,7 +23175,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23183,7 +23190,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or ((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED) and exists(self.ElementType))) + assert (((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or ((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED) and exists(self.ElementType)))) is not False @@ -23209,7 +23216,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23224,7 +23231,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23238,7 +23245,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23252,7 +23259,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_rc3.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_rc3.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23267,7 +23274,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23281,7 +23288,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23296,7 +23303,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23311,7 +23318,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23325,7 +23332,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23343,7 +23350,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc3.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc3.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23362,7 +23369,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23377,7 +23384,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23392,7 +23399,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23407,7 +23414,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23421,7 +23428,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23436,7 +23443,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23451,7 +23458,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23465,7 +23472,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23480,7 +23487,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23495,7 +23502,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23509,7 +23516,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23524,7 +23531,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23539,7 +23546,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23570,7 +23577,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23584,7 +23591,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23599,7 +23606,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23614,7 +23621,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23628,7 +23635,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23643,7 +23650,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23670,7 +23677,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -23685,7 +23692,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23699,7 +23706,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23714,7 +23721,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -23729,7 +23736,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23744,7 +23751,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23759,7 +23766,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23773,7 +23780,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23788,7 +23795,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23806,7 +23813,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23820,7 +23827,7 @@ class IfcWindow_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23834,7 +23841,7 @@ class IfcWindow_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc3.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23850,7 +23857,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23865,7 +23872,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23880,7 +23887,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23894,7 +23901,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23909,7 +23916,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc3.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc3.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23930,7 +23937,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23945,7 +23952,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23963,7 +23970,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23978,7 +23985,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23997,7 +24004,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -24012,7 +24019,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_rc3.ifczone' in typeof(temp)) or ('ifc4x3_rc3.ifcspace' in typeof(temp)) or ('ifc4x3_rc3.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -24032,7 +24039,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -24047,7 +24054,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py index 461bd07531..1782d84181 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9984,7 +9991,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -10035,7 +10042,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10086,7 +10093,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -10100,7 +10107,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10114,7 +10121,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10128,7 +10135,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10239,7 +10246,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10254,7 +10261,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10281,7 +10288,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10464,7 +10471,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10479,7 +10486,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10494,7 +10501,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10551,7 +10558,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10767,7 +10774,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10791,7 +10798,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10806,7 +10813,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10842,7 +10849,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10899,7 +10906,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10914,7 +10921,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10929,7 +10936,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10944,7 +10951,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11193,7 +11200,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11283,7 +11290,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11298,7 +11305,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11322,7 +11329,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11493,7 +11500,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11508,7 +11515,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11522,7 +11529,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11537,7 +11544,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11552,7 +11559,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11567,7 +11574,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11582,7 +11589,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_rc4.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11597,7 +11604,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_rc4.ifcelementarysurface','ifc4x3_rc4.ifcsweptsurface','ifc4x3_rc4.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_rc4.ifcelementarysurface','ifc4x3_rc4.ifcsweptsurface','ifc4x3_rc4.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11611,7 +11618,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc4.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_rc4.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11625,7 +11632,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc4.ifcline','ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcpolyline','ifc4x3_rc4.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_rc4.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_rc4.ifcline','ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcpolyline','ifc4x3_rc4.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11640,7 +11647,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11654,7 +11661,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11669,7 +11676,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11683,7 +11690,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11698,7 +11705,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11713,7 +11720,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11728,7 +11735,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11742,7 +11749,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11757,7 +11764,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11772,7 +11779,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11786,7 +11793,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11801,7 +11808,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11856,7 +11863,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11874,7 +11881,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11888,7 +11895,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc4.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_rc4.ifcline' in typeof(outercurve)) is not False @@ -11902,7 +11909,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_rc4.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_rc4.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11917,7 +11924,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_rc4.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_rc4.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11931,7 +11938,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11946,7 +11953,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11960,7 +11967,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11974,7 +11981,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_rc4.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_rc4.ifcline' in typeof(temp)])) == 0) is not False @@ -11994,7 +12001,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -12010,7 +12017,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -12026,7 +12033,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -12042,7 +12049,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -12057,7 +12064,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12071,7 +12078,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12086,7 +12093,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12101,7 +12108,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12115,7 +12122,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12129,7 +12136,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12151,7 +12158,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12165,7 +12172,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12179,7 +12186,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12201,7 +12208,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12215,7 +12222,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12229,7 +12236,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12244,7 +12251,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12259,7 +12266,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12273,7 +12280,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_rc4.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12296,7 +12303,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3_rc4.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3_rc4.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12311,7 +12318,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12326,7 +12333,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12360,7 +12367,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12375,7 +12382,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12423,7 +12430,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12439,7 +12446,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12454,7 +12461,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12469,7 +12476,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12498,7 +12505,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12512,7 +12519,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12527,7 +12534,7 @@ class IfcBeamStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -12542,7 +12549,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12557,7 +12564,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12571,7 +12578,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12586,7 +12593,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12601,7 +12608,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12615,7 +12622,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12633,7 +12640,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12647,7 +12654,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12662,7 +12669,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12677,7 +12684,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_rc4.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc4.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc4.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_rc4.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_rc4.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_rc4.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12691,7 +12698,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_rc4.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_rc4.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12705,7 +12712,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12721,7 +12728,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12735,7 +12742,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12749,7 +12756,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_rc4.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12777,7 +12784,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12818,7 +12825,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_rc4.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_rc4.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12833,7 +12840,7 @@ class IfcBridge_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12851,7 +12858,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12865,7 +12872,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12880,7 +12887,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12895,7 +12902,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12909,7 +12916,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12923,7 +12930,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12938,7 +12945,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12959,7 +12966,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_rc4.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12977,7 +12984,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12992,7 +12999,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13006,7 +13013,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13021,7 +13028,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13037,7 +13044,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -13054,7 +13061,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -13070,7 +13077,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -13085,7 +13092,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13099,7 +13106,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13114,7 +13121,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13129,7 +13136,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13143,7 +13150,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13158,7 +13165,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13173,7 +13180,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13187,7 +13194,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13202,7 +13209,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13217,7 +13224,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13231,7 +13238,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13246,7 +13253,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13261,7 +13268,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13275,7 +13282,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13290,7 +13297,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13305,7 +13312,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13341,7 +13348,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13370,7 +13377,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13384,7 +13391,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13398,7 +13405,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13420,7 +13427,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13442,7 +13449,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13456,7 +13463,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13470,7 +13477,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13484,7 +13491,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13506,7 +13513,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13520,7 +13527,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13552,7 +13559,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13566,7 +13573,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13581,7 +13588,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13596,7 +13603,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13610,7 +13617,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13625,7 +13632,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13643,7 +13650,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13679,7 +13686,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13693,7 +13700,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13708,7 +13715,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13732,7 +13739,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13746,7 +13753,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13761,7 +13768,7 @@ class IfcColumnStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -13776,7 +13783,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13791,7 +13798,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13805,7 +13812,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13820,7 +13827,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13835,7 +13842,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13849,7 +13856,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13864,7 +13871,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13878,7 +13885,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13894,7 +13901,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13908,7 +13915,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13938,7 +13945,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13960,7 +13967,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_rc4.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_rc4.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13982,7 +13989,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13996,7 +14003,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_rc4.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_rc4.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -14011,7 +14018,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14025,7 +14032,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14040,7 +14047,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14055,7 +14062,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14069,7 +14076,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14084,7 +14091,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14123,7 +14130,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14138,7 +14145,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14153,7 +14160,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14168,7 +14175,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14183,7 +14190,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14198,7 +14205,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14213,7 +14220,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14243,7 +14250,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14257,7 +14264,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14272,7 +14279,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14293,7 +14300,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14307,7 +14314,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14322,7 +14329,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14337,7 +14344,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14351,7 +14358,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14366,7 +14373,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14381,7 +14388,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14395,7 +14402,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14410,7 +14417,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14443,7 +14450,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14457,7 +14464,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14472,7 +14479,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14487,7 +14494,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14501,7 +14508,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14516,7 +14523,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14531,7 +14538,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14546,7 +14553,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14575,7 +14582,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14589,7 +14596,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14604,7 +14611,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14641,7 +14648,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_rc4.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc4.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_rc4.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_rc4.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14657,7 +14664,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14678,7 +14685,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14696,7 +14703,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14710,7 +14717,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14725,7 +14732,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14740,7 +14747,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14758,7 +14765,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14773,7 +14780,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14787,7 +14794,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14815,7 +14822,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14839,7 +14846,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14857,7 +14864,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14871,7 +14878,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14886,7 +14893,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14901,7 +14908,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14915,7 +14922,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14930,7 +14937,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14945,7 +14952,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14959,7 +14966,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14974,7 +14981,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15013,7 +15020,7 @@ class IfcDistributionSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15035,7 +15042,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -15050,7 +15057,7 @@ class IfcDoor_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15064,7 +15071,7 @@ class IfcDoor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15078,7 +15085,7 @@ class IfcDoor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15094,7 +15101,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -15109,7 +15116,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -15124,7 +15131,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -15139,7 +15146,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -15153,7 +15160,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15168,7 +15175,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcdoorstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -15189,7 +15196,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15204,7 +15211,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15219,7 +15226,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15234,7 +15241,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15248,7 +15255,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15263,7 +15270,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15278,7 +15285,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15292,7 +15299,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15307,7 +15314,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15322,7 +15329,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15336,7 +15343,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15351,7 +15358,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15366,7 +15373,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15384,7 +15391,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15406,7 +15413,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15420,7 +15427,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15442,7 +15449,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15456,7 +15463,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15471,7 +15478,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15486,7 +15493,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15500,7 +15507,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15515,7 +15522,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15530,7 +15537,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15544,7 +15551,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15559,7 +15566,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15574,7 +15581,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15588,7 +15595,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15603,7 +15610,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15618,7 +15625,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15632,7 +15639,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15647,7 +15654,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15662,7 +15669,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15676,7 +15683,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15691,7 +15698,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15706,7 +15713,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15720,7 +15727,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15735,7 +15742,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15753,7 +15760,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15767,7 +15774,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15782,7 +15789,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15803,7 +15810,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15836,7 +15843,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15850,7 +15857,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15865,7 +15872,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15880,7 +15887,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15894,7 +15901,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15909,7 +15916,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15924,7 +15931,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15938,7 +15945,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15953,7 +15960,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15968,7 +15975,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15983,7 +15990,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -16001,7 +16008,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -16016,7 +16023,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -16039,7 +16046,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -16072,7 +16079,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -16087,7 +16094,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -16102,7 +16109,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_rc4.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_rc4.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -16143,7 +16150,7 @@ class IfcFacilityPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED)) or (((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert (((predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED)) or (((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) or (predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) or (predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) or (predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) or (predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -16161,7 +16168,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16175,7 +16182,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16190,7 +16197,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16205,7 +16212,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16219,7 +16226,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16234,7 +16241,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16249,7 +16256,7 @@ class IfcFeatureElement_NotContained: def __call__(self): containedinstructure = self.ContainedInStructure - assert sizeof(containedinstructure) == 0 + assert (sizeof(containedinstructure) == 0) is not False @@ -16267,7 +16274,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16281,7 +16288,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16296,7 +16303,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc4.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc4.ifccolour' in typeof(style)])) <= 1) is not False @@ -16310,7 +16317,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_rc4.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_rc4.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16324,7 +16331,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16339,7 +16346,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16353,7 +16360,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16371,7 +16378,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16385,7 +16392,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16400,7 +16407,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16415,7 +16422,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16429,7 +16436,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16444,7 +16451,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16474,7 +16481,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16488,7 +16495,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16503,7 +16510,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16518,7 +16525,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16532,7 +16539,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16547,7 +16554,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16592,7 +16599,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16606,7 +16613,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16621,7 +16628,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16642,7 +16649,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16656,7 +16663,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16671,7 +16678,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16686,7 +16693,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16700,7 +16707,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16715,7 +16722,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16730,7 +16737,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_rc4.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_rc4.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16745,7 +16752,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16763,7 +16770,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16778,7 +16785,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16792,7 +16799,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16835,7 +16842,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16883,7 +16890,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16899,7 +16906,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16928,7 +16935,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16942,7 +16949,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16957,7 +16964,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16972,7 +16979,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16986,7 +16993,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17001,7 +17008,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17017,7 +17024,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -17032,7 +17039,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -17050,7 +17057,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -17068,7 +17075,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -17082,7 +17089,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17097,7 +17104,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType)) + assert (((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED)) or (((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) or (predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED)) and exists(self.ObjectType))) is not False @@ -17115,7 +17122,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -17142,7 +17149,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17156,7 +17163,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17171,7 +17178,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17186,7 +17193,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17200,7 +17207,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17224,7 +17231,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17238,7 +17245,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17253,7 +17260,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17276,7 +17283,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17291,7 +17298,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17306,7 +17313,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17324,7 +17331,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17338,7 +17345,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17353,7 +17360,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17377,7 +17384,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17391,7 +17398,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17406,7 +17413,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17443,7 +17450,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17467,7 +17474,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17481,7 +17488,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17496,7 +17503,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17512,7 +17519,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17539,7 +17546,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17569,7 +17576,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17584,7 +17591,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17616,7 +17623,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17655,7 +17662,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17669,7 +17676,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17684,7 +17691,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17699,7 +17706,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17713,7 +17720,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17728,7 +17735,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17743,7 +17750,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17757,7 +17764,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17772,7 +17779,7 @@ class IfcMemberStandardCase_HasMaterialProfileSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -17787,7 +17794,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17813,7 +17820,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17827,7 +17834,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17842,7 +17849,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17860,7 +17867,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17874,7 +17881,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17889,7 +17896,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17904,7 +17911,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17918,7 +17925,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17933,7 +17940,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17948,7 +17955,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17963,7 +17970,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17977,7 +17984,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17992,7 +17999,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18007,7 +18014,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -18028,7 +18035,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -18043,7 +18050,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -18061,7 +18068,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -18076,7 +18083,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -18094,7 +18101,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -18109,7 +18116,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18124,7 +18131,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18142,7 +18149,7 @@ class IfcOpeningElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18166,7 +18173,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_rc4.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_rc4.ifcorientededge' in typeof(edgeelement)) is not False @@ -18200,7 +18207,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18214,7 +18221,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18229,7 +18236,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18245,7 +18252,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18263,7 +18270,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18278,7 +18285,7 @@ class IfcPavement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18292,7 +18299,7 @@ class IfcPavement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18307,7 +18314,7 @@ class IfcPavementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18322,7 +18329,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18348,7 +18355,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18364,7 +18371,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18382,7 +18389,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18396,7 +18403,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18417,7 +18424,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18431,7 +18438,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18446,7 +18453,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18461,7 +18468,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18475,7 +18482,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18490,7 +18497,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18505,7 +18512,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18519,7 +18526,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18534,7 +18541,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18549,7 +18556,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18563,7 +18570,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18577,7 +18584,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18593,7 +18600,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18607,7 +18614,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18642,7 +18649,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18656,7 +18663,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18671,7 +18678,7 @@ class IfcPlateStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -18686,7 +18693,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18728,7 +18735,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18743,7 +18750,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18757,7 +18764,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_rc4.ifcpolyline','ifc4x3_rc4.ifccompositecurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_rc4.ifcpolyline','ifc4x3_rc4.ifccompositecurve'])) == 1) is not False @@ -18775,7 +18782,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18792,7 +18799,7 @@ class IfcPolynomialCurve_ValidCoefficients: coefficientsy = self.CoefficientsY coefficientsz = self.CoefficientsZ - assert (exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz)) + assert ((exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz))) is not False @@ -18807,7 +18814,7 @@ class IfcPolynomialCurve_CorrectPositionDim: position = self.Position coefficientsz = self.CoefficientsZ - assert ((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3) + assert (((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3)) is not False @@ -18825,7 +18832,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18846,7 +18853,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18882,7 +18889,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc4.ifcshaperepresentation','ifc4x3_rc4.ifcgeometricrepresentationitem','ifc4x3_rc4.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18897,7 +18904,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc4.ifcgeometricrepresentationitem','ifc4x3_rc4.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_rc4.ifcgeometricrepresentationitem','ifc4x3_rc4.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18915,7 +18922,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18929,7 +18936,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18944,7 +18951,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18963,7 +18970,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc4.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_rc4.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18978,7 +18985,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_rc4.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -19002,7 +19009,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19016,7 +19023,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_rc4.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -19030,7 +19037,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -19051,7 +19058,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19066,7 +19073,7 @@ class IfcProjectionElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19088,7 +19095,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -19103,7 +19110,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -19118,7 +19125,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -19137,7 +19144,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -19153,7 +19160,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -19168,7 +19175,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19183,7 +19190,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19201,7 +19208,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19215,7 +19222,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19233,7 +19240,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19247,7 +19254,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19266,7 +19273,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19280,7 +19287,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19294,7 +19301,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19315,7 +19322,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19329,7 +19336,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19344,7 +19351,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19358,7 +19365,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19373,7 +19380,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19388,7 +19395,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19403,7 +19410,7 @@ class IfcProxy_WR1: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19418,7 +19425,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19432,7 +19439,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19447,7 +19454,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19462,7 +19469,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19476,7 +19483,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19491,7 +19498,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0. + assert (countvalue >= 0.) is not False @@ -19506,7 +19513,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19520,7 +19527,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19538,7 +19545,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19552,7 +19559,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19567,7 +19574,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19581,7 +19588,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19596,7 +19603,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19610,7 +19617,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19625,7 +19632,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19639,7 +19646,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19654,7 +19661,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19669,7 +19676,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19683,7 +19690,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19698,7 +19705,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19713,7 +19720,7 @@ class IfcRailway_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -19728,7 +19735,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19742,7 +19749,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19757,7 +19764,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19771,7 +19778,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19786,7 +19793,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19801,7 +19808,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19816,7 +19823,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19830,7 +19837,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19852,7 +19859,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19866,7 +19873,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19890,7 +19897,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19905,7 +19912,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19919,7 +19926,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19941,7 +19948,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19956,7 +19963,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19973,7 +19980,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19989,7 +19996,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -20016,7 +20023,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20037,7 +20044,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20051,7 +20058,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20066,7 +20073,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20081,7 +20088,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20102,7 +20109,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20116,7 +20123,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20131,7 +20138,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20146,7 +20153,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20165,7 +20172,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20181,7 +20188,7 @@ class IfcRelAssigns_WR1: relatedobjects = self.RelatedObjects relatedobjectstype = self.RelatedObjectsType - assert IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects) + assert (IfcCorrectObjectAssignment(relatedobjectstype,relatedobjects)) is not False @@ -20196,7 +20203,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20211,7 +20218,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20226,7 +20233,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20244,7 +20251,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20259,7 +20266,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20274,7 +20281,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20307,7 +20314,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc4.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc4.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_rc4.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_rc4.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20321,7 +20328,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_rc4.ifcelement','ifc4x3_rc4.ifcelementtype','ifc4x3_rc4.ifcwindowstyle','ifc4x3_rc4.ifcdoorstyle','ifc4x3_rc4.ifcstructuralmember','ifc4x3_rc4.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects 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 @@ -20343,7 +20350,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20358,7 +20365,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20372,7 +20379,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20391,7 +20398,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20418,7 +20425,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_rc4.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_rc4.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20440,7 +20447,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20464,7 +20471,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc4.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_rc4.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20492,7 +20499,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20508,7 +20515,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20524,7 +20531,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20542,7 +20549,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_rc4.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_rc4.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20558,7 +20565,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20573,7 +20580,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20592,7 +20599,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc4.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_rc4.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_rc4.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20619,7 +20626,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20643,7 +20650,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_rc4.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_rc4.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20673,7 +20680,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert (axis.Location.Coordinates[3 - 1]) == 0.0 + assert ((axis.Location.Coordinates[3 - 1]) == 0.0) is not False @@ -20687,7 +20694,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20709,7 +20716,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20730,7 +20737,7 @@ class IfcRoad_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -20745,7 +20752,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20759,7 +20766,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20774,7 +20781,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20792,7 +20799,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20815,7 +20822,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20829,7 +20836,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20844,7 +20851,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20862,7 +20869,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20876,7 +20883,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20900,7 +20907,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20914,7 +20921,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20928,7 +20935,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20944,7 +20951,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20958,7 +20965,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -20974,7 +20981,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20988,7 +20995,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -21002,7 +21009,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -21033,7 +21040,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21047,7 +21054,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21062,7 +21069,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21080,7 +21087,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21094,7 +21101,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21109,7 +21116,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21127,7 +21134,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -21142,7 +21149,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_rc4.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_rc4.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -21156,7 +21163,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -21170,7 +21177,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -21184,7 +21191,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -21198,7 +21205,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -21221,7 +21228,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21235,7 +21242,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21250,7 +21257,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21265,7 +21272,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21279,7 +21286,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21294,7 +21301,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21321,7 +21328,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21335,7 +21342,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21350,7 +21357,7 @@ class IfcSlabElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -21365,7 +21372,7 @@ class IfcSlabStandardCase_HasMaterialLayerSetusage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -21380,7 +21387,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21398,7 +21405,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21412,7 +21419,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21427,7 +21434,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21453,7 +21460,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21467,7 +21474,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21482,7 +21489,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21496,7 +21503,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21511,7 +21518,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21526,7 +21533,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21547,7 +21554,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_rc4.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc4.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc4.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_rc4.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_rc4.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_rc4.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21565,7 +21572,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21579,7 +21586,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21594,7 +21601,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21618,7 +21625,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21632,7 +21639,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21647,7 +21654,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21662,7 +21669,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21676,7 +21683,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21691,7 +21698,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21705,7 +21712,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21720,7 +21727,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21735,7 +21742,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21756,7 +21763,7 @@ class IfcStructuralAnalysisModel_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21770,7 +21777,7 @@ class IfcStructuralAnalysisModel_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21791,7 +21798,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21805,7 +21812,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21819,7 +21826,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21837,7 +21844,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21855,7 +21862,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21869,7 +21876,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21887,7 +21894,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc4.ifcstructuralloadlinearforce','ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc4.ifcstructuralloadlinearforce','ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21901,7 +21908,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21919,7 +21926,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21935,7 +21942,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21952,7 +21959,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21997,7 +22004,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc4.ifcstructuralloadplanarforce','ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc4.ifcstructuralloadplanarforce','ifc4x3_rc4.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22011,7 +22018,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -22026,7 +22033,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce','ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce','ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22044,7 +22051,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce','ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_rc4.ifcstructuralloadsingleforce','ifc4x3_rc4.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -22062,7 +22069,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22077,7 +22084,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -22091,7 +22098,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22109,7 +22116,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22127,7 +22134,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22145,7 +22152,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_rc4.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_rc4.ifcstyleditem' in typeof(item)) is not False @@ -22160,7 +22167,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc4.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc4.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -22175,7 +22182,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22190,7 +22197,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -22216,7 +22223,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -22230,7 +22237,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_rc4.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_rc4.ifcpcurve' in typeof(curve3d)) is not False @@ -22255,7 +22262,7 @@ class IfcSurfaceFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22270,7 +22277,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22303,7 +22310,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22317,7 +22324,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22331,7 +22338,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22345,7 +22352,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22360,7 +22367,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22374,7 +22381,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22388,7 +22395,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22402,7 +22409,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22416,7 +22423,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_rc4.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22449,7 +22456,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22464,7 +22471,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22479,7 +22486,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22495,7 +22502,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_rc4.ifcconic','ifc4x3_rc4.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22510,7 +22517,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22524,7 +22531,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_rc4.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc4.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_rc4.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_rc4.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22539,7 +22546,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22554,7 +22561,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22568,7 +22575,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22583,7 +22590,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22601,7 +22608,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22615,7 +22622,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22630,7 +22637,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22646,7 +22653,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22661,7 +22668,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22676,7 +22683,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22690,7 +22697,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22732,7 +22739,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22746,7 +22753,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22761,7 +22768,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22776,7 +22783,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22790,7 +22797,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22811,7 +22818,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22831,7 +22838,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22846,7 +22853,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22860,7 +22867,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22875,7 +22882,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22889,7 +22896,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22904,7 +22911,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22919,7 +22926,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22933,7 +22940,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22948,7 +22955,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22963,7 +22970,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22992,7 +22999,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_rc4.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_rc4.ifcplanarbox' in typeof(extent)) is not False @@ -23010,7 +23017,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_rc4.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_rc4.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -23061,7 +23068,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_rc4.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_rc4.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -23075,7 +23082,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -23089,7 +23096,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -23105,7 +23112,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -23120,7 +23127,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23134,7 +23141,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23149,7 +23156,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23164,7 +23171,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23178,7 +23185,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctranformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23193,7 +23200,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23208,7 +23215,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or (((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or (predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED)) and exists(self.ElementType))) is not False @@ -23222,7 +23229,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23237,7 +23244,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert ((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or ((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED) and exists(self.ElementType))) + assert (((predefinedtype != IfcTransportElementFixedTypeEnum.USERDEFINED) and (predefinedtype != IfcTransportElementNonFixedTypeEnum.USERDEFINED)) or ((predefinedtype == IfcTransportElementFixedTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementNonFixedTypeEnum.USERDEFINED) and exists(self.ElementType)))) is not False @@ -23263,7 +23270,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23278,7 +23285,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23292,7 +23299,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23306,7 +23313,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_rc4.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_rc4.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23321,7 +23328,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23335,7 +23342,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23350,7 +23357,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23365,7 +23372,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23379,7 +23386,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23397,7 +23404,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc4.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_rc4.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23416,7 +23423,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23431,7 +23438,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23446,7 +23453,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23461,7 +23468,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23475,7 +23482,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23490,7 +23497,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23505,7 +23512,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23519,7 +23526,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23534,7 +23541,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23549,7 +23556,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23563,7 +23570,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23578,7 +23585,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23593,7 +23600,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23624,7 +23631,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23638,7 +23645,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23653,7 +23660,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23668,7 +23675,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23682,7 +23689,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23697,7 +23704,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23721,7 +23728,7 @@ class IfcVoidingFeature_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -23736,7 +23743,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23750,7 +23757,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23765,7 +23772,7 @@ class IfcWallElementedCase_HasDecomposition: def __call__(self): - assert hiindex(self.IsDecomposedBy) > 0 + assert (hiindex(self.IsDecomposedBy) > 0) is not False @@ -23780,7 +23787,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23795,7 +23802,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23810,7 +23817,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23824,7 +23831,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23839,7 +23846,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23857,7 +23864,7 @@ class IfcWindow_CorrectStyleAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23871,7 +23878,7 @@ class IfcWindow_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23885,7 +23892,7 @@ class IfcWindow_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_rc4.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23901,7 +23908,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23916,7 +23923,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23931,7 +23938,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23945,7 +23952,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23960,7 +23967,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1])))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and (('ifc4x3_rc4.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) or ('ifc4x3_rc4.ifcwindowstyle' in (typeof(self.DefinesType[1 - 1]))))) is not False @@ -23981,7 +23988,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23996,7 +24003,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24014,7 +24021,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24029,7 +24036,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -24048,7 +24055,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -24063,7 +24070,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_rc4.ifczone' in typeof(temp)) or ('ifc4x3_rc4.ifcspace' in typeof(temp)) or ('ifc4x3_rc4.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -24083,7 +24090,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -24098,7 +24105,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py index 6fef1461dd..fe5642a755 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py @@ -54,7 +54,14 @@ def typeof(inst): decl = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema_name).declaration_by_name(inst.is_a()) while decl: yield '.'.join((schema_name, decl.name().lower())) - decl = decl.supertype() + if isinstance(decl, ifcopenshell.ifcopenshell_wrapper.entity): + decl = decl.supertype() + else: + decl = decl.declared_type() + while isinstance(decl, ifcopenshell.ifcopenshell_wrapper.named_type): + decl = decl.declared_type() + if not isinstance(decl, ifcopenshell.ifcopenshell_wrapper.type_declaration): + break return express_set(inner()) class enum_namespace: @@ -9876,7 +9883,7 @@ class IfcBoxAlignment_WR1: def __call__(self): - assert self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right'] + assert (self in ['top-left','top-middle','top-right','middle-left','center','middle-right','bottom-left','bottom-middle','bottom-right']) is not False @@ -9927,7 +9934,7 @@ class IfcCardinalPointReference_GreaterThanZero: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -9978,7 +9985,7 @@ class IfcCompoundPlaneAngleMeasure_MinutesInRange: def __call__(self): - assert (abs(self[2 - 1])) < 60 + assert ((abs(self[2 - 1])) < 60) is not False @@ -9992,7 +9999,7 @@ class IfcCompoundPlaneAngleMeasure_SecondsInRange: def __call__(self): - assert (abs(self[3 - 1])) < 60 + assert ((abs(self[3 - 1])) < 60) is not False @@ -10006,7 +10013,7 @@ class IfcCompoundPlaneAngleMeasure_MicrosecondsInRange: def __call__(self): - assert (sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000) + assert ((sizeof(self) == 3) or ((abs(self[4 - 1])) < 1000000)) is not False @@ -10020,7 +10027,7 @@ class IfcCompoundPlaneAngleMeasure_ConsistentSign: def __call__(self): - assert (((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0))) + assert ((((self[1 - 1]) >= 0) and ((self[2 - 1]) >= 0) and ((self[3 - 1]) >= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) >= 0))) or (((self[1 - 1]) <= 0) and ((self[2 - 1]) <= 0) and ((self[3 - 1]) <= 0) and ((sizeof(self) == 3) or ((self[4 - 1]) <= 0)))) is not False @@ -10131,7 +10138,7 @@ class IfcDayInMonthNumber_ValidRange: def __call__(self): - assert 1 <= self <= 31 + assert (1 <= self <= 31) is not False @@ -10146,7 +10153,7 @@ class IfcDayInWeekNumber_ValidRange: def __call__(self): - assert 1 <= self <= 7 + assert (1 <= self <= 7) is not False @@ -10173,7 +10180,7 @@ class IfcDimensionCount_WR1: def __call__(self): - assert 0 < self <= 3 + assert (0 < self <= 3) is not False @@ -10347,7 +10354,7 @@ class IfcFontStyle_WR1: def __call__(self): - assert self in ['normal','italic','oblique'] + assert (self in ['normal','italic','oblique']) is not False @@ -10362,7 +10369,7 @@ class IfcFontVariant_WR1: def __call__(self): - assert self in ['normal','small-caps'] + assert (self in ['normal','small-caps']) is not False @@ -10377,7 +10384,7 @@ class IfcFontWeight_WR1: def __call__(self): - assert self in ['normal','small-caps','100','200','300','400','500','600','700','800','900'] + assert (self in ['normal','small-caps','100','200','300','400','500','600','700','800','900']) is not False @@ -10437,7 +10444,7 @@ class IfcHeatingValueMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10653,7 +10660,7 @@ class IfcMonthInYearNumber_ValidRange: def __call__(self): - assert 1 <= self <= 12 + assert (1 <= self <= 12) is not False @@ -10677,7 +10684,7 @@ class IfcNonNegativeLengthMeasure_NotNegative: def __call__(self): - assert self >= 0. + assert (self >= 0.) is not False @@ -10692,7 +10699,7 @@ class IfcNormalisedRatioMeasure_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -10725,7 +10732,7 @@ class IfcPHMeasure_WR21: def __call__(self): - assert 0.0 <= self <= 14.0 + assert (0.0 <= self <= 14.0) is not False @@ -10782,7 +10789,7 @@ class IfcPositiveInteger_WR1: def __call__(self): - assert self > 0 + assert (self > 0) is not False @@ -10797,7 +10804,7 @@ class IfcPositiveLengthMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10812,7 +10819,7 @@ class IfcPositivePlaneAngleMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -10827,7 +10834,7 @@ class IfcPositiveRatioMeasure_WR1: def __call__(self): - assert self > 0. + assert (self > 0.) is not False @@ -11076,7 +11083,7 @@ class IfcSpecularRoughness_WR1: def __call__(self): - assert 0.0 <= self <= 1.0 + assert (0.0 <= self <= 1.0) is not False @@ -11169,7 +11176,7 @@ class IfcTextAlignment_WR1: def __call__(self): - assert self in ['left','right','center','justify'] + assert (self in ['left','right','center','justify']) is not False @@ -11184,7 +11191,7 @@ class IfcTextDecoration_WR1: def __call__(self): - assert self in ['none','underline','overline','line-through','blink'] + assert (self in ['none','underline','overline','line-through','blink']) is not False @@ -11208,7 +11215,7 @@ class IfcTextTransformation_WR1: def __call__(self): - assert self in ['capitalize','uppercase','lowercase','none'] + assert (self in ['capitalize','uppercase','lowercase','none']) is not False @@ -11373,7 +11380,7 @@ class IfcActorRole_WR1: def __call__(self): role = self.Role - assert (role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole)) + assert ((role != IfcRoleEnum.USERDEFINED) or ((role == IfcRoleEnum.USERDEFINED) and exists(self.UserDefinedRole))) is not False @@ -11388,7 +11395,7 @@ class IfcActuator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11402,7 +11409,7 @@ class IfcActuator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcactuatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11417,7 +11424,7 @@ class IfcActuatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcActuatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcActuatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11432,7 +11439,7 @@ class IfcAddress_WR1: def __call__(self): purpose = self.Purpose - assert (not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose))) + assert ((not exists(purpose)) or ((purpose != IfcAddressTypeEnum.USERDEFINED) or ((purpose == IfcAddressTypeEnum.USERDEFINED) and exists(self.UserDefinedPurpose)))) is not False @@ -11447,7 +11454,7 @@ class IfcAdvancedBrep_HasAdvancedFaces: def __call__(self): - assert (sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)])) == 0 + assert ((sizeof([afs for afs in self.Outer.CfsFaces if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)])) == 0) is not False @@ -11462,7 +11469,7 @@ class IfcAdvancedBrepWithVoids_VoidsHaveAdvancedFaces: def __call__(self): voids = self.Voids - assert (sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)])) == 0])) == 0 + assert ((sizeof([vsh for vsh in voids if (sizeof([afs for afs in vsh.CfsFaces if not 'ifc4x3_tc1.ifcadvancedface' in typeof(afs)])) == 0])) == 0) is not False @@ -11477,7 +11484,7 @@ class IfcAdvancedFace_ApplicableEdgeCurves: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_tc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_tc1.ifcline','ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcpolyline','ifc4x3_tc1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_tc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not (sizeof(['ifc4x3_tc1.ifcline','ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcpolyline','ifc4x3_tc1.ifcbsplinecurve'] * typeof(oe.EdgeElement.EdgeGeometry))) == 1])) == 0])) == 0) is not False @@ -11491,7 +11498,7 @@ class IfcAdvancedFace_ApplicableSurface: def __call__(self): - assert (sizeof(['ifc4x3_tc1.ifcelementarysurface','ifc4x3_tc1.ifcsweptsurface','ifc4x3_tc1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1 + assert ((sizeof(['ifc4x3_tc1.ifcelementarysurface','ifc4x3_tc1.ifcsweptsurface','ifc4x3_tc1.ifcbsplinesurface'] * typeof(self.FaceSurface))) == 1) is not False @@ -11505,7 +11512,7 @@ class IfcAdvancedFace_RequiresEdgeCurve: def __call__(self): - assert (sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_tc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_tc1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0 + assert ((sizeof([elpfbnds for elpfbnds in [bnds for bnds in self.Bounds if 'ifc4x3_tc1.ifcedgeloop' in typeof(bnds.Bound)] if not (sizeof([oe for oe in elpfbnds.Bound.EdgeList if not 'ifc4x3_tc1.ifcedgecurve' in typeof(oe.EdgeElement)])) == 0])) == 0) is not False @@ -11520,7 +11527,7 @@ class IfcAirTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11534,7 +11541,7 @@ class IfcAirTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11549,7 +11556,7 @@ class IfcAirTerminalBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11563,7 +11570,7 @@ class IfcAirTerminalBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairterminalboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11578,7 +11585,7 @@ class IfcAirTerminalBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11593,7 +11600,7 @@ class IfcAirTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11608,7 +11615,7 @@ class IfcAirToAirHeatRecovery_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11622,7 +11629,7 @@ class IfcAirToAirHeatRecovery_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcairtoairheatrecoverytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11637,7 +11644,7 @@ class IfcAirToAirHeatRecoveryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) or ((predefinedtype == IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11652,7 +11659,7 @@ class IfcAlarm_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11666,7 +11673,7 @@ class IfcAlarm_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcalarmtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11681,7 +11688,7 @@ class IfcAlarmType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAlarmTypeEnum.USERDEFINED) or ((predefinedtype == IfcAlarmTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11736,7 +11743,7 @@ class IfcApproval_HasIdentifierOrName: identifier = self.Identifier name = self.Name - assert exists(identifier) or exists(name) + assert (exists(identifier) or exists(name)) is not False @@ -11754,7 +11761,7 @@ class IfcArbitraryClosedProfileDef_WR1: def __call__(self): outercurve = self.OuterCurve - assert outercurve.Dim == 2 + assert (outercurve.Dim == 2) is not False @@ -11768,7 +11775,7 @@ class IfcArbitraryClosedProfileDef_WR2: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_tc1.ifcline' in typeof(outercurve) + assert (not 'ifc4x3_tc1.ifcline' in typeof(outercurve)) is not False @@ -11782,7 +11789,7 @@ class IfcArbitraryClosedProfileDef_WR3: def __call__(self): outercurve = self.OuterCurve - assert not 'ifc4x3_tc1.ifcoffsetcurve2d' in typeof(outercurve) + assert (not 'ifc4x3_tc1.ifcoffsetcurve2d' in typeof(outercurve)) is not False @@ -11797,7 +11804,7 @@ class IfcArbitraryOpenProfileDef_WR11: def __call__(self): - assert ('ifc4x3_tc1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE) + assert (('ifc4x3_tc1.ifccenterlineprofiledef' in typeof(self)) or (self.ProfileType == IfcProfileTypeEnum.CURVE)) is not False @@ -11811,7 +11818,7 @@ class IfcArbitraryOpenProfileDef_WR12: def __call__(self): curve = self.Curve - assert curve.Dim == 2 + assert (curve.Dim == 2) is not False @@ -11826,7 +11833,7 @@ class IfcArbitraryProfileDefWithVoids_WR1: def __call__(self): - assert self.ProfileType == area + assert (self.ProfileType == area) is not False @@ -11840,7 +11847,7 @@ class IfcArbitraryProfileDefWithVoids_WR2: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0 + assert ((sizeof([temp for temp in innercurves if temp.Dim != 2])) == 0) is not False @@ -11854,7 +11861,7 @@ class IfcArbitraryProfileDefWithVoids_WR3: def __call__(self): innercurves = self.InnerCurves - assert (sizeof([temp for temp in innercurves if 'ifc4x3_tc1.ifcline' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in innercurves if 'ifc4x3_tc1.ifcline' in typeof(temp)])) == 0) is not False @@ -11874,7 +11881,7 @@ class IfcAsymmetricIShapeProfileDef_ValidBottomFilletRadius: webthickness = self.WebThickness bottomflangefilletradius = self.BottomFlangeFilletRadius - assert (not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.)) + assert ((not exists(bottomflangefilletradius)) or (bottomflangefilletradius <= ((bottomflangewidth - webthickness) / 2.))) is not False @@ -11890,7 +11897,7 @@ class IfcAsymmetricIShapeProfileDef_ValidFlangeThickness: bottomflangethickness = self.BottomFlangeThickness topflangethickness = self.TopFlangeThickness - assert (not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth) + assert ((not exists(topflangethickness)) or ((bottomflangethickness + topflangethickness) < overalldepth)) is not False @@ -11906,7 +11913,7 @@ class IfcAsymmetricIShapeProfileDef_ValidTopFilletRadius: topflangewidth = self.TopFlangeWidth topflangefilletradius = self.TopFlangeFilletRadius - assert (not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.)) + assert ((not exists(topflangefilletradius)) or (topflangefilletradius <= ((topflangewidth - webthickness) / 2.))) is not False @@ -11922,7 +11929,7 @@ class IfcAsymmetricIShapeProfileDef_ValidWebThickness: webthickness = self.WebThickness topflangewidth = self.TopFlangeWidth - assert (webthickness < bottomflangewidth) and (webthickness < topflangewidth) + assert ((webthickness < bottomflangewidth) and (webthickness < topflangewidth)) is not False @@ -11937,7 +11944,7 @@ class IfcAudioVisualAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -11951,7 +11958,7 @@ class IfcAudioVisualAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcaudiovisualappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -11966,7 +11973,7 @@ class IfcAudioVisualApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcAudioVisualApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcAudioVisualApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -11981,7 +11988,7 @@ class IfcAxis1Placement_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -11995,7 +12002,7 @@ class IfcAxis1Placement_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12009,7 +12016,7 @@ class IfcAxis1Placement_LocationIsCP: def __call__(self): - assert 'ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12031,7 +12038,7 @@ class IfcAxis2Placement2D_LocationIs2D: def __call__(self): - assert self.Location.Dim == 2 + assert (self.Location.Dim == 2) is not False @@ -12045,7 +12052,7 @@ class IfcAxis2Placement2D_LocationIsCP: def __call__(self): - assert 'ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12059,7 +12066,7 @@ class IfcAxis2Placement2D_RefDirIs2D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 2) + assert ((not exists(refdirection)) or (refdirection.Dim == 2)) is not False @@ -12082,7 +12089,7 @@ class IfcAxis2Placement3D_AxisAndRefDirProvision: axis = self.Axis refdirection = self.RefDirection - assert not exists(axis) ^ exists(refdirection) + assert (not exists(axis) ^ exists(refdirection)) is not False @@ -12096,7 +12103,7 @@ class IfcAxis2Placement3D_AxisIs3D: def __call__(self): axis = self.Axis - assert (not exists(axis)) or (axis.Dim == 3) + assert ((not exists(axis)) or (axis.Dim == 3)) is not False @@ -12111,7 +12118,7 @@ class IfcAxis2Placement3D_AxisToRefDirPosition: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12125,7 +12132,7 @@ class IfcAxis2Placement3D_LocationIs3D: def __call__(self): - assert self.Location.Dim == 3 + assert (self.Location.Dim == 3) is not False @@ -12139,7 +12146,7 @@ class IfcAxis2Placement3D_LocationIsCP: def __call__(self): - assert 'ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location) + assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(self.Location)) is not False @@ -12153,7 +12160,7 @@ class IfcAxis2Placement3D_RefDirIs3D: def __call__(self): refdirection = self.RefDirection - assert (not exists(refdirection)) or (refdirection.Dim == 3) + assert ((not exists(refdirection)) or (refdirection.Dim == 3)) is not False @@ -12176,7 +12183,7 @@ class IfcAxis2PlacementLinear_WR1: def __call__(self): - assert 'ifc4x3_tc1.ifcpointbydistanceexpression' in typeof(self.Location) + assert ('ifc4x3_tc1.ifcpointbydistanceexpression' in typeof(self.Location)) is not False @@ -12191,7 +12198,7 @@ class IfcAxis2PlacementLinear_WR2: axis = self.Axis refdirection = self.RefDirection - assert (not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0) + assert ((not exists(axis)) or (not exists(refdirection)) or (IfcCrossProduct(axis,refdirection).Magnitude > 0.0)) is not False @@ -12206,7 +12213,7 @@ class IfcBSplineCurve_SameDim: def __call__(self): controlpointslist = self.ControlPointsList - assert (sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in controlpointslist if temp.Dim != (controlpointslist[1 - 1].Dim)])) == 0) is not False @@ -12240,7 +12247,7 @@ class IfcBSplineCurveWithKnots_ConsistentBSpline: knots = self.Knots upperindexonknots = self.UpperIndexOnKnots - assert IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots) + assert (IfcConstraintsParamBSpline(degree,upperindexonknots,upperindexoncontrolpoints,knotmultiplicities,knots)) is not False @@ -12255,7 +12262,7 @@ class IfcBSplineCurveWithKnots_CorrespondingKnotLists: knotmultiplicities = self.KnotMultiplicities upperindexonknots = self.UpperIndexOnKnots - assert sizeof(knotmultiplicities) == upperindexonknots + assert (sizeof(knotmultiplicities) == upperindexonknots) is not False @@ -12302,7 +12309,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingULists: umultiplicities = self.UMultiplicities knotuupper = self.KnotUUpper - assert sizeof(umultiplicities) == knotuupper + assert (sizeof(umultiplicities) == knotuupper) is not False @@ -12317,7 +12324,7 @@ class IfcBSplineSurfaceWithKnots_CorrespondingVLists: vmultiplicities = self.VMultiplicities knotvupper = self.KnotVUpper - assert sizeof(vmultiplicities) == knotvupper + assert (sizeof(vmultiplicities) == knotvupper) is not False @@ -12333,7 +12340,7 @@ class IfcBSplineSurfaceWithKnots_UDirectionConstraints: uknots = self.UKnots knotuupper = self.KnotUUpper - assert IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots) + assert (IfcConstraintsParamBSpline(self.UDegree,knotuupper,self.UUpper,umultiplicities,uknots)) is not False @@ -12349,7 +12356,7 @@ class IfcBSplineSurfaceWithKnots_VDirectionConstraints: vknots = self.VKnots knotvupper = self.KnotVUpper - assert IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots) + assert (IfcConstraintsParamBSpline(self.VDegree,knotvupper,self.VUpper,vmultiplicities,vknots)) is not False @@ -12378,7 +12385,7 @@ class IfcBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12392,7 +12399,7 @@ class IfcBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12407,7 +12414,7 @@ class IfcBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12422,7 +12429,7 @@ class IfcBearing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12436,7 +12443,7 @@ class IfcBearing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbearingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12451,7 +12458,7 @@ class IfcBearingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBearingTypeEnum.USERDEFINED) or ((predefinedtype == IfcBearingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12466,7 +12473,7 @@ class IfcBlobTexture_RasterCodeByteStream: def __call__(self): rastercode = self.RasterCode - assert (blength(rastercode) % 8) == 0 + assert ((blength(rastercode) % 8) == 0) is not False @@ -12480,7 +12487,7 @@ class IfcBlobTexture_SupportedRasterFormat: def __call__(self): - assert self.RasterFormat in ['bmp','jpg','gif','png'] + assert (self.RasterFormat in ['bmp','jpg','gif','png']) is not False @@ -12498,7 +12505,7 @@ class IfcBoiler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12512,7 +12519,7 @@ class IfcBoiler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcboilertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12527,7 +12534,7 @@ class IfcBoilerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBoilerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBoilerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12542,7 +12549,7 @@ class IfcBooleanClippingResult_FirstOperandType: def __call__(self): firstoperand = self.FirstOperand - assert ('ifc4x3_tc1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_tc1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_tc1.ifcbooleanclippingresult' in typeof(firstoperand)) + assert (('ifc4x3_tc1.ifcsweptareasolid' in typeof(firstoperand)) or ('ifc4x3_tc1.ifcsweptdiscsolid' in typeof(firstoperand)) or ('ifc4x3_tc1.ifcbooleanclippingresult' in typeof(firstoperand))) is not False @@ -12556,7 +12563,7 @@ class IfcBooleanClippingResult_OperatorType: def __call__(self): operator = self.Operator - assert operator == difference + assert (operator == difference) is not False @@ -12570,7 +12577,7 @@ class IfcBooleanClippingResult_SecondOperandType: def __call__(self): secondoperand = self.SecondOperand - assert 'ifc4x3_tc1.ifchalfspacesolid' in typeof(secondoperand) + assert ('ifc4x3_tc1.ifchalfspacesolid' in typeof(secondoperand)) is not False @@ -12585,7 +12592,7 @@ class IfcBooleanResult_FirstOperandClosed: def __call__(self): firstoperand = self.FirstOperand - assert (not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed) + assert ((not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(firstoperand)) or (exists(firstoperand.Closed) and firstoperand.Closed)) is not False @@ -12600,7 +12607,7 @@ class IfcBooleanResult_SameDim: firstoperand = self.FirstOperand secondoperand = self.SecondOperand - assert firstoperand.Dim == secondoperand.Dim + assert (firstoperand.Dim == secondoperand.Dim) is not False @@ -12614,7 +12621,7 @@ class IfcBooleanResult_SecondOperandClosed: def __call__(self): secondoperand = self.SecondOperand - assert (not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed) + assert ((not 'ifc4x3_tc1.ifctessellatedfaceset' in typeof(secondoperand)) or (exists(secondoperand.Closed) and secondoperand.Closed)) is not False @@ -12642,7 +12649,7 @@ class IfcBoundaryCurve_IsClosed: def __call__(self): - assert self.ClosedCurve + assert (self.ClosedCurve) is not False @@ -12683,7 +12690,7 @@ class IfcBoxedHalfSpace_UnboundedSurface: def __call__(self): - assert not 'ifc4x3_tc1.ifccurveboundedplane' in typeof(self.BaseSurface) + assert (not 'ifc4x3_tc1.ifccurveboundedplane' in typeof(self.BaseSurface)) is not False @@ -12698,7 +12705,7 @@ class IfcBridge_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgeTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgeTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12713,7 +12720,7 @@ class IfcBridgePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBridgePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBridgePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12731,7 +12738,7 @@ class IfcBuildingElementPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12745,7 +12752,7 @@ class IfcBuildingElementPart_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbuildingelementparttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12760,7 +12767,7 @@ class IfcBuildingElementPartType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementPartTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12775,7 +12782,7 @@ class IfcBuildingElementProxy_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12789,7 +12796,7 @@ class IfcBuildingElementProxy_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcbuildingelementproxytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12803,7 +12810,7 @@ class IfcBuildingElementProxy_HasObjectName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -12818,7 +12825,7 @@ class IfcBuildingElementProxyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBuildingElementProxyTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingElementProxyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12836,7 +12843,7 @@ class IfcBuildingSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuildingSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuildingSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12851,7 +12858,7 @@ class IfcBuiltElement_MaxOneMaterialAssociation: def __call__(self): - assert (sizeof([temp for temp in self.HasAssociations if 'ifc4x3_tc1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in self.HasAssociations if 'ifc4x3_tc1.ifcrelassociatesmaterial' in typeof(temp)])) <= 1) is not False @@ -12869,7 +12876,7 @@ class IfcBuiltSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBuiltSystemTypeEnum.USERDEFINED) or ((predefinedtype == IfcBuiltSystemTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12884,7 +12891,7 @@ class IfcBurner_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12898,7 +12905,7 @@ class IfcBurner_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcburnertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -12913,7 +12920,7 @@ class IfcBurnerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcBurnerTypeEnum.USERDEFINED) or ((predefinedtype == IfcBurnerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -12929,7 +12936,7 @@ class IfcCShapeProfileDef_ValidGirth: depth = self.Depth girth = self.Girth - assert girth < (depth / 2.) + assert (girth < (depth / 2.)) is not False @@ -12946,7 +12953,7 @@ class IfcCShapeProfileDef_ValidInternalFilletRadius: wallthickness = self.WallThickness internalfilletradius = self.InternalFilletRadius - assert (not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness))) + assert ((not exists(internalfilletradius)) or ((internalfilletradius <= ((width / 2.) - wallthickness)) and (internalfilletradius <= ((depth / 2.) - wallthickness)))) is not False @@ -12962,7 +12969,7 @@ class IfcCShapeProfileDef_ValidWallThickness: width = self.Width wallthickness = self.WallThickness - assert (wallthickness < (width / 2.)) and (wallthickness < (depth / 2.)) + assert ((wallthickness < (width / 2.)) and (wallthickness < (depth / 2.))) is not False @@ -12977,7 +12984,7 @@ class IfcCableCarrierFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -12991,7 +12998,7 @@ class IfcCableCarrierFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablecarrierfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13006,7 +13013,7 @@ class IfcCableCarrierFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13021,7 +13028,7 @@ class IfcCableCarrierSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13035,7 +13042,7 @@ class IfcCableCarrierSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablecarriersegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13050,7 +13057,7 @@ class IfcCableCarrierSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableCarrierSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableCarrierSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13065,7 +13072,7 @@ class IfcCableFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13079,7 +13086,7 @@ class IfcCableFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13094,7 +13101,7 @@ class IfcCableFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13109,7 +13116,7 @@ class IfcCableSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13123,7 +13130,7 @@ class IfcCableSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccablesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13138,7 +13145,7 @@ class IfcCableSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCableSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcCableSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13153,7 +13160,7 @@ class IfcCaissonFoundation_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13167,7 +13174,7 @@ class IfcCaissonFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccaissonfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13182,7 +13189,7 @@ class IfcCaissonFoundationType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCaissonFoundationTypeEnum.USERDEFINED) or ((predefinedtype == IfcCaissonFoundationTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13197,7 +13204,7 @@ class IfcCartesianPoint_CP2Dor3D: def __call__(self): coordinates = self.Coordinates - assert hiindex(coordinates) >= 2 + assert (hiindex(coordinates) >= 2) is not False @@ -13226,7 +13233,7 @@ class IfcCartesianTransformationOperator_ScaleGreaterZero: def __call__(self): scl = self.Scl - assert scl > 0.0 + assert (scl > 0.0) is not False @@ -13255,7 +13262,7 @@ class IfcCartesianTransformationOperator2D_Axis1Is2D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 2) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 2)) is not False @@ -13269,7 +13276,7 @@ class IfcCartesianTransformationOperator2D_Axis2Is2D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 2) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 2)) is not False @@ -13283,7 +13290,7 @@ class IfcCartesianTransformationOperator2D_DimEqual2: def __call__(self): - assert self.Dim == 2 + assert (self.Dim == 2) is not False @@ -13305,7 +13312,7 @@ class IfcCartesianTransformationOperator2DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13327,7 +13334,7 @@ class IfcCartesianTransformationOperator3D_Axis1Is3D: def __call__(self): - assert (not exists(self.Axis1)) or (self.Axis1.Dim == 3) + assert ((not exists(self.Axis1)) or (self.Axis1.Dim == 3)) is not False @@ -13341,7 +13348,7 @@ class IfcCartesianTransformationOperator3D_Axis2Is3D: def __call__(self): - assert (not exists(self.Axis2)) or (self.Axis2.Dim == 3) + assert ((not exists(self.Axis2)) or (self.Axis2.Dim == 3)) is not False @@ -13355,7 +13362,7 @@ class IfcCartesianTransformationOperator3D_Axis3Is3D: def __call__(self): axis3 = self.Axis3 - assert (not exists(axis3)) or (axis3.Dim == 3) + assert ((not exists(axis3)) or (axis3.Dim == 3)) is not False @@ -13369,7 +13376,7 @@ class IfcCartesianTransformationOperator3D_DimIs3D: def __call__(self): - assert self.Dim == 3 + assert (self.Dim == 3) is not False @@ -13391,7 +13398,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale2GreaterZero: def __call__(self): scl2 = self.Scl2 - assert scl2 > 0.0 + assert (scl2 > 0.0) is not False @@ -13405,7 +13412,7 @@ class IfcCartesianTransformationOperator3DnonUniform_Scale3GreaterZero: def __call__(self): scl3 = self.Scl3 - assert scl3 > 0.0 + assert (scl3 > 0.0) is not False @@ -13437,7 +13444,7 @@ class IfcChiller_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13451,7 +13458,7 @@ class IfcChiller_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcchillertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13466,7 +13473,7 @@ class IfcChillerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChillerTypeEnum.USERDEFINED) or ((predefinedtype == IfcChillerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13481,7 +13488,7 @@ class IfcChimney_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13495,7 +13502,7 @@ class IfcChimney_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcchimneytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13510,7 +13517,7 @@ class IfcChimneyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcChimneyTypeEnum.USERDEFINED) or ((predefinedtype == IfcChimneyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13528,7 +13535,7 @@ class IfcCircleHollowProfileDef_WR1: def __call__(self): wallthickness = self.WallThickness - assert wallthickness < self.Radius + assert (wallthickness < self.Radius) is not False @@ -13564,7 +13571,7 @@ class IfcCoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13578,7 +13585,7 @@ class IfcCoil_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoiltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13593,7 +13600,7 @@ class IfcCoilType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoilTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13617,7 +13624,7 @@ class IfcColumn_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13631,7 +13638,7 @@ class IfcColumn_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccolumntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13646,7 +13653,7 @@ class IfcColumnType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcColumnTypeEnum.USERDEFINED) or ((predefinedtype == IfcColumnTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13661,7 +13668,7 @@ class IfcCommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13675,7 +13682,7 @@ class IfcCommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13690,7 +13697,7 @@ class IfcCommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13705,7 +13712,7 @@ class IfcComplexProperty_WR21: def __call__(self): hasproperties = self.HasProperties - assert (sizeof([temp for temp in hasproperties if self == temp])) == 0 + assert ((sizeof([temp for temp in hasproperties if self == temp])) == 0) is not False @@ -13719,7 +13726,7 @@ class IfcComplexProperty_WR22: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -13734,7 +13741,7 @@ class IfcComplexPropertyTemplate_NoSelfReference: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert (sizeof([temp for temp in haspropertytemplates if self == temp])) == 0 + assert ((sizeof([temp for temp in haspropertytemplates if self == temp])) == 0) is not False @@ -13748,7 +13755,7 @@ class IfcComplexPropertyTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -13764,7 +13771,7 @@ class IfcCompositeCurve_CurveContinuous: segments = self.Segments closedcurve = self.ClosedCurve - assert ((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0)) + assert (((not closedcurve) and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 1)) or (closedcurve and ((sizeof([temp for temp in segments if temp.Transition == discontinuous])) == 0))) is not False @@ -13778,7 +13785,7 @@ class IfcCompositeCurve_SameDim: def __call__(self): segments = self.Segments - assert (sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in segments if temp.Dim != (segments[1 - 1].Dim)])) == 0) is not False @@ -13808,7 +13815,7 @@ class IfcCompositeCurveOnSurface_SameSurface: def __call__(self): basissurface = self.BasisSurface - assert sizeof(basissurface) > 0 + assert (sizeof(basissurface) > 0) is not False @@ -13830,7 +13837,7 @@ class IfcCompositeCurveSegment_ParentIsBoundedCurve: def __call__(self): parentcurve = self.ParentCurve - assert 'ifc4x3_tc1.ifcboundedcurve' in typeof(parentcurve) + assert ('ifc4x3_tc1.ifcboundedcurve' in typeof(parentcurve)) is not False @@ -13845,7 +13852,7 @@ class IfcCompositeProfileDef_InvariantProfileType: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0 + assert ((sizeof([temp for temp in profiles if temp.ProfileType != (profiles[1 - 1].ProfileType)])) == 0) is not False @@ -13859,7 +13866,7 @@ class IfcCompositeProfileDef_NoRecursion: def __call__(self): profiles = self.Profiles - assert (sizeof([temp for temp in profiles if 'ifc4x3_tc1.ifccompositeprofiledef' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in profiles if 'ifc4x3_tc1.ifccompositeprofiledef' in typeof(temp)])) == 0) is not False @@ -13874,7 +13881,7 @@ class IfcCompressor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13888,7 +13895,7 @@ class IfcCompressor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccompressortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13903,7 +13910,7 @@ class IfcCompressorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCompressorTypeEnum.USERDEFINED) or ((predefinedtype == IfcCompressorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13918,7 +13925,7 @@ class IfcCondenser_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -13932,7 +13939,7 @@ class IfcCondenser_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccondensertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -13947,7 +13954,7 @@ class IfcCondenserType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCondenserTypeEnum.USERDEFINED) or ((predefinedtype == IfcCondenserTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -13986,7 +13993,7 @@ class IfcConstraint_WR11: def __call__(self): constraintgrade = self.ConstraintGrade - assert (constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade)) + assert ((constraintgrade != IfcConstraintEnum.USERDEFINED) or ((constraintgrade == IfcConstraintEnum.USERDEFINED) and exists(self.UserDefinedGrade))) is not False @@ -14001,7 +14008,7 @@ class IfcConstructionEquipmentResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14016,7 +14023,7 @@ class IfcConstructionEquipmentResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionEquipmentResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14031,7 +14038,7 @@ class IfcConstructionMaterialResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14046,7 +14053,7 @@ class IfcConstructionMaterialResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionMaterialResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionMaterialResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14061,7 +14068,7 @@ class IfcConstructionProductResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14076,7 +14083,7 @@ class IfcConstructionProductResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcConstructionProductResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcConstructionProductResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14106,7 +14113,7 @@ class IfcController_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14120,7 +14127,7 @@ class IfcController_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccontrollertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14135,7 +14142,7 @@ class IfcControllerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcControllerTypeEnum.USERDEFINED) or ((predefinedtype == IfcControllerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14156,7 +14163,7 @@ class IfcConveyorSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14170,7 +14177,7 @@ class IfcConveyorSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcconveyorsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14185,7 +14192,7 @@ class IfcConveyorSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcConveyorSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcConveyorSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14200,7 +14207,7 @@ class IfcCooledBeam_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14214,7 +14221,7 @@ class IfcCooledBeam_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccooledbeamtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14229,7 +14236,7 @@ class IfcCooledBeamType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCooledBeamTypeEnum.USERDEFINED) or ((predefinedtype == IfcCooledBeamTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14244,7 +14251,7 @@ class IfcCoolingTower_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14258,7 +14265,7 @@ class IfcCoolingTower_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoolingtowertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14273,7 +14280,7 @@ class IfcCoolingTowerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoolingTowerTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoolingTowerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14306,7 +14313,7 @@ class IfcCourse_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14320,7 +14327,7 @@ class IfcCourse_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoursetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14335,7 +14342,7 @@ class IfcCourseType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCourseTypeEnum.USERDEFINED) or ((predefinedtype == IfcCourseTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14350,7 +14357,7 @@ class IfcCovering_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14364,7 +14371,7 @@ class IfcCovering_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccoveringtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14379,7 +14386,7 @@ class IfcCoveringType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCoveringTypeEnum.USERDEFINED) or ((predefinedtype == IfcCoveringTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14394,7 +14401,7 @@ class IfcCrewResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14409,7 +14416,7 @@ class IfcCrewResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcCrewResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcCrewResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -14438,7 +14445,7 @@ class IfcCurtainWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14452,7 +14459,7 @@ class IfcCurtainWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifccurtainwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14467,7 +14474,7 @@ class IfcCurtainWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcCurtainWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcCurtainWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14501,7 +14508,7 @@ class IfcCurveStyle_IdentifiableCurveStyle: curvewidth = self.CurveWidth curvecolour = self.CurveColour - assert exists(curvefont) or exists(curvewidth) or exists(curvecolour) + assert (exists(curvefont) or exists(curvewidth) or exists(curvecolour)) is not False @@ -14515,7 +14522,7 @@ class IfcCurveStyle_MeasureOfWidth: def __call__(self): curvewidth = self.CurveWidth - assert (not exists(curvewidth)) or ('ifc4x3_tc1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_tc1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer')) + assert ((not exists(curvewidth)) or ('ifc4x3_tc1.ifcpositivelengthmeasure' in typeof(curvewidth)) or (('ifc4x3_tc1.ifcdescriptivemeasure' in typeof(curvewidth)) and (curvewidth == 'bylayer'))) is not False @@ -14536,7 +14543,7 @@ class IfcCurveStyleFontPattern_VisibleLengthGreaterEqualZero: def __call__(self): visiblesegmentlength = self.VisibleSegmentLength - assert visiblesegmentlength >= 0. + assert (visiblesegmentlength >= 0.) is not False @@ -14554,7 +14561,7 @@ class IfcDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14568,7 +14575,7 @@ class IfcDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14583,7 +14590,7 @@ class IfcDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14598,7 +14605,7 @@ class IfcDeepFoundation_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdeepfoundationtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14616,7 +14623,7 @@ class IfcDerivedProfileDef_InvariantProfileType: def __call__(self): parentprofile = self.ParentProfile - assert self.ProfileType == parentprofile.ProfileType + assert (self.ProfileType == parentprofile.ProfileType) is not False @@ -14631,7 +14638,7 @@ class IfcDerivedUnit_WR1: def __call__(self): elements = self.Elements - assert (sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1)) + assert ((sizeof(elements) > 1) or ((sizeof(elements) == 1) and ((elements[1 - 1].Exponent) != 1))) is not False @@ -14645,7 +14652,7 @@ class IfcDerivedUnit_WR2: def __call__(self): unittype = self.UnitType - assert (unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType)) + assert ((unittype != IfcDerivedUnitEnum.USERDEFINED) or ((unittype == IfcDerivedUnitEnum.USERDEFINED) and exists(self.UserDefinedType))) is not False @@ -14673,7 +14680,7 @@ class IfcDirection_MagnitudeGreaterZero: def __call__(self): directionratios = self.DirectionRatios - assert (sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0 + assert ((sizeof([tmp for tmp in directionratios if tmp != 0.0])) > 0) is not False @@ -14697,7 +14704,7 @@ class IfcDirectrixCurveSweptAreaSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -14715,7 +14722,7 @@ class IfcDiscreteAccessory_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14729,7 +14736,7 @@ class IfcDiscreteAccessory_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdiscreteaccessorytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14744,7 +14751,7 @@ class IfcDiscreteAccessoryType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDiscreteAccessoryTypeEnum.USERDEFINED) or ((predefinedtype == IfcDiscreteAccessoryTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14759,7 +14766,7 @@ class IfcDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14773,7 +14780,7 @@ class IfcDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14788,7 +14795,7 @@ class IfcDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14803,7 +14810,7 @@ class IfcDistributionChamberElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14817,7 +14824,7 @@ class IfcDistributionChamberElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdistributionchamberelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14832,7 +14839,7 @@ class IfcDistributionChamberElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDistributionChamberElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcDistributionChamberElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -14871,7 +14878,7 @@ class IfcDistributionSystem_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDistributionSystemEnum.USERDEFINED) or ((predefinedtype == IfcDistributionSystemEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14893,7 +14900,7 @@ class IfcDocumentReference_WR1: name = self.Name referenceddocument = self.ReferencedDocument - assert exists(name) ^ exists(referenceddocument) + assert (exists(name) ^ exists(referenceddocument)) is not False @@ -14908,7 +14915,7 @@ class IfcDoor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -14922,7 +14929,7 @@ class IfcDoor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcdoortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -14938,7 +14945,7 @@ class IfcDoorLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -14953,7 +14960,7 @@ class IfcDoorLiningProperties_WR32: thresholddepth = self.ThresholdDepth thresholdthickness = self.ThresholdThickness - assert not exists(thresholddepth) and (not exists(thresholdthickness)) + assert (not exists(thresholddepth) and (not exists(thresholdthickness))) is not False @@ -14968,7 +14975,7 @@ class IfcDoorLiningProperties_WR33: transomthickness = self.TransomThickness transomoffset = self.TransomOffset - assert (exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness))) + assert ((exists(transomoffset) and exists(transomthickness)) ^ ((not exists(transomoffset)) and (not exists(transomthickness)))) is not False @@ -14983,7 +14990,7 @@ class IfcDoorLiningProperties_WR34: casingthickness = self.CasingThickness casingdepth = self.CasingDepth - assert (exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness))) + assert ((exists(casingdepth) and exists(casingthickness)) ^ ((not exists(casingdepth)) and (not exists(casingthickness)))) is not False @@ -14997,7 +15004,7 @@ class IfcDoorLiningProperties_WR35: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -15012,7 +15019,7 @@ class IfcDoorPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcdoortype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -15027,7 +15034,7 @@ class IfcDoorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDoorTypeEnum.USERDEFINED) or ((predefinedtype == IfcDoorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15042,7 +15049,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames: def __call__(self): - assert self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer'] + assert (self.Name in ['black','red','green','blue','yellow','magenta','cyan','white','bylayer']) is not False @@ -15057,7 +15064,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames: def __call__(self): - assert self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer'] + assert (self.Name in ['continuous','chain','chaindoubledash','dashed','dotted','bylayer']) is not False @@ -15072,7 +15079,7 @@ class IfcDuctFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15086,7 +15093,7 @@ class IfcDuctFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductfittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15101,7 +15108,7 @@ class IfcDuctFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15116,7 +15123,7 @@ class IfcDuctSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15130,7 +15137,7 @@ class IfcDuctSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductsegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15145,7 +15152,7 @@ class IfcDuctSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15160,7 +15167,7 @@ class IfcDuctSilencer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15174,7 +15181,7 @@ class IfcDuctSilencer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcductsilencertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15189,7 +15196,7 @@ class IfcDuctSilencerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcDuctSilencerTypeEnum.USERDEFINED) or ((predefinedtype == IfcDuctSilencerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15204,7 +15211,7 @@ class IfcEarthworksCut_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksCutTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksCutTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15222,7 +15229,7 @@ class IfcEarthworksFill_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEarthworksFillTypeEnum.USERDEFINED) or ((predefinedtype == IfcEarthworksFillTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15244,7 +15251,7 @@ class IfcEdgeLoop_IsClosed: edgelist = self.EdgeList ne = self.Ne - assert (edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd) + assert ((edgelist[1 - 1].EdgeStart) == (edgelist[ne - 1].EdgeEnd)) is not False @@ -15258,7 +15265,7 @@ class IfcEdgeLoop_IsContinuous: def __call__(self): - assert IfcLoopHeadToTail(self) + assert (IfcLoopHeadToTail(self)) is not False @@ -15280,7 +15287,7 @@ class IfcElectricAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15294,7 +15301,7 @@ class IfcElectricAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15309,7 +15316,7 @@ class IfcElectricApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15324,7 +15331,7 @@ class IfcElectricDistributionBoard_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15338,7 +15345,7 @@ class IfcElectricDistributionBoard_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricdistributionboardtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15353,7 +15360,7 @@ class IfcElectricDistributionBoardType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricDistributionBoardTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricDistributionBoardTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15368,7 +15375,7 @@ class IfcElectricFlowStorageDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15382,7 +15389,7 @@ class IfcElectricFlowStorageDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricflowstoragedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15397,7 +15404,7 @@ class IfcElectricFlowStorageDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15412,7 +15419,7 @@ class IfcElectricFlowTreatmentDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15426,7 +15433,7 @@ class IfcElectricFlowTreatmentDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricflowtreatmentdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15441,7 +15448,7 @@ class IfcElectricFlowTreatmentDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricFlowTreatmentDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15456,7 +15463,7 @@ class IfcElectricGenerator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15470,7 +15477,7 @@ class IfcElectricGenerator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricgeneratortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15485,7 +15492,7 @@ class IfcElectricGeneratorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricGeneratorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricGeneratorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15500,7 +15507,7 @@ class IfcElectricMotor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15514,7 +15521,7 @@ class IfcElectricMotor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectricmotortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15529,7 +15536,7 @@ class IfcElectricMotorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricMotorTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricMotorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15544,7 +15551,7 @@ class IfcElectricTimeControl_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15558,7 +15565,7 @@ class IfcElectricTimeControl_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelectrictimecontroltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15573,7 +15580,7 @@ class IfcElectricTimeControlType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElectricTimeControlTypeEnum.USERDEFINED) or ((predefinedtype == IfcElectricTimeControlTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15591,7 +15598,7 @@ class IfcElementAssembly_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15605,7 +15612,7 @@ class IfcElementAssembly_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcelementassemblytype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15620,7 +15627,7 @@ class IfcElementAssemblyType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcElementAssemblyTypeEnum.USERDEFINED) or ((predefinedtype == IfcElementAssemblyTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15641,7 +15648,7 @@ class IfcElementQuantity_UniqueQuantityNames: def __call__(self): quantities = self.Quantities - assert IfcUniqueQuantityNames(quantities) + assert (IfcUniqueQuantityNames(quantities)) is not False @@ -15674,7 +15681,7 @@ class IfcEngine_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15688,7 +15695,7 @@ class IfcEngine_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcenginetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15703,7 +15710,7 @@ class IfcEngineType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEngineTypeEnum.USERDEFINED) or ((predefinedtype == IfcEngineTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15718,7 +15725,7 @@ class IfcEvaporativeCooler_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15732,7 +15739,7 @@ class IfcEvaporativeCooler_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcevaporativecoolertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15747,7 +15754,7 @@ class IfcEvaporativeCoolerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporativeCoolerTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporativeCoolerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15762,7 +15769,7 @@ class IfcEvaporator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15776,7 +15783,7 @@ class IfcEvaporator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcevaporatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -15791,7 +15798,7 @@ class IfcEvaporatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcEvaporatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcEvaporatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -15806,7 +15813,7 @@ class IfcEvent_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -15821,7 +15828,7 @@ class IfcEvent_CorrectTypeAssigned: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((not exists(eventtriggertype)) or (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15840,7 +15847,7 @@ class IfcEventType_CorrectEventTriggerType: eventtriggertype = self.EventTriggerType userdefinedeventtriggertype = self.UserDefinedEventTriggerType - assert (eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype)) + assert ((eventtriggertype != IfcEventTriggerTypeEnum.USERDEFINED) or ((eventtriggertype == IfcEventTriggerTypeEnum.USERDEFINED) and exists(userdefinedeventtriggertype))) is not False @@ -15854,7 +15861,7 @@ class IfcEventType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcEventTypeEnum.USERDEFINED) or ((predefinedtype == IfcEventTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -15877,7 +15884,7 @@ class IfcExternalReference_WR1: identification = self.Identification name = self.Name - assert exists(identification) or exists(location) or exists(name) + assert (exists(identification) or exists(location) or exists(name)) is not False @@ -15910,7 +15917,7 @@ class IfcExtrudedAreaSolid_ValidExtrusionDirection: def __call__(self): - assert IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0 + assert (IfcDotProduct(IfcDirection(DirectionRatios=[0.0,0.0,1.0]),self.ExtrudedDirection) != 0.0) is not False @@ -15925,7 +15932,7 @@ class IfcExtrudedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -15940,7 +15947,7 @@ class IfcFace_HasOuterBound: def __call__(self): bounds = self.Bounds - assert (sizeof([temp for temp in bounds if 'ifc4x3_tc1.ifcfaceouterbound' in typeof(temp)])) <= 1 + assert ((sizeof([temp for temp in bounds if 'ifc4x3_tc1.ifcfaceouterbound' in typeof(temp)])) <= 1) is not False @@ -15984,7 +15991,7 @@ class IfcFacilityPartCommon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFacilityPartCommonTypeEnum.USERDEFINED) or ((predefinedtype == IfcFacilityPartCommonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16002,7 +16009,7 @@ class IfcFan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16016,7 +16023,7 @@ class IfcFan_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfantype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16031,7 +16038,7 @@ class IfcFanType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFanTypeEnum.USERDEFINED) or ((predefinedtype == IfcFanTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16046,7 +16053,7 @@ class IfcFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16060,7 +16067,7 @@ class IfcFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16075,7 +16082,7 @@ class IfcFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16090,7 +16097,7 @@ class IfcFeatureElement_NotContained: def __call__(self): containedinstructure = self.ContainedInStructure - assert sizeof(containedinstructure) == 0 + assert (sizeof(containedinstructure) == 0) is not False @@ -16108,7 +16115,7 @@ class IfcFeatureElementSubtraction_HasNoSubtraction: def __call__(self): - assert sizeof(self.HasOpenings) == 0 + assert (sizeof(self.HasOpenings) == 0) is not False @@ -16122,7 +16129,7 @@ class IfcFeatureElementSubtraction_IsNotFilling: def __call__(self): - assert sizeof(self.FillsVoids) == 0 + assert (sizeof(self.FillsVoids) == 0) is not False @@ -16137,7 +16144,7 @@ class IfcFillAreaStyle_ConsistentHatchStyleDef: def __call__(self): - assert IfcCorrectFillAreaStyle(self.FillStyles) + assert (IfcCorrectFillAreaStyle(self.FillStyles)) is not False @@ -16151,7 +16158,7 @@ class IfcFillAreaStyle_MaxOneColour: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_tc1.ifccolour' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_tc1.ifccolour' in typeof(style)])) <= 1) is not False @@ -16165,7 +16172,7 @@ class IfcFillAreaStyle_MaxOneExtHatchStyle: def __call__(self): - assert (sizeof([style for style in self.FillStyles if 'ifc4x3_tc1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.FillStyles if 'ifc4x3_tc1.ifcexternallydefinedhatchstyle' in typeof(style)])) <= 1) is not False @@ -16180,7 +16187,7 @@ class IfcFillAreaStyleHatching_PatternStart2D: def __call__(self): patternstart = self.PatternStart - assert (not exists(patternstart)) or (patternstart.Dim == 2) + assert ((not exists(patternstart)) or (patternstart.Dim == 2)) is not False @@ -16194,7 +16201,7 @@ class IfcFillAreaStyleHatching_RefHatchLine2D: def __call__(self): pointofreferencehatchline = self.PointOfReferenceHatchLine - assert (not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2) + assert ((not exists(pointofreferencehatchline)) or (pointofreferencehatchline.Dim == 2)) is not False @@ -16212,7 +16219,7 @@ class IfcFilter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16226,7 +16233,7 @@ class IfcFilter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfiltertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16241,7 +16248,7 @@ class IfcFilterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFilterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFilterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16256,7 +16263,7 @@ class IfcFireSuppressionTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16270,7 +16277,7 @@ class IfcFireSuppressionTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfiresuppressionterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16285,7 +16292,7 @@ class IfcFireSuppressionTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFireSuppressionTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcFireSuppressionTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16315,7 +16322,7 @@ class IfcFlowInstrument_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16329,7 +16336,7 @@ class IfcFlowInstrument_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcflowinstrumenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16344,7 +16351,7 @@ class IfcFlowInstrumentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowInstrumentTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowInstrumentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16359,7 +16366,7 @@ class IfcFlowMeter_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16373,7 +16380,7 @@ class IfcFlowMeter_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcflowmetertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16388,7 +16395,7 @@ class IfcFlowMeterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFlowMeterTypeEnum.USERDEFINED) or ((predefinedtype == IfcFlowMeterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16433,7 +16440,7 @@ class IfcFooting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16447,7 +16454,7 @@ class IfcFooting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfootingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16462,7 +16469,7 @@ class IfcFootingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcFootingTypeEnum.USERDEFINED) or ((predefinedtype == IfcFootingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16483,7 +16490,7 @@ class IfcFurniture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16497,7 +16504,7 @@ class IfcFurniture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcfurnituretype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16512,7 +16519,7 @@ class IfcFurnitureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcFurnitureTypeEnum.USERDEFINED) or ((predefinedtype == IfcFurnitureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16527,7 +16534,7 @@ class IfcGeographicElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16541,7 +16548,7 @@ class IfcGeographicElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcgeographicelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16556,7 +16563,7 @@ class IfcGeographicElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcGeographicElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeographicElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16571,7 +16578,7 @@ class IfcGeometricCurveSet_NoSurfaces: def __call__(self): - assert (sizeof([temp for temp in self.Elements if 'ifc4x3_tc1.ifcsurface' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Elements if 'ifc4x3_tc1.ifcsurface' in typeof(temp)])) == 0) is not False @@ -16586,7 +16593,7 @@ class IfcGeometricRepresentationContext_North2D: def __call__(self): truenorth = self.TrueNorth - assert (not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2) + assert ((not exists(truenorth)) or (hiindex(truenorth.DirectionRatios) == 2)) is not False @@ -16604,7 +16611,7 @@ class IfcGeometricRepresentationSubContext_NoCoordOperation: def __call__(self): - assert sizeof(self.HasCoordinateOperation) == 0 + assert (sizeof(self.HasCoordinateOperation) == 0) is not False @@ -16618,7 +16625,7 @@ class IfcGeometricRepresentationSubContext_ParentNoSub: def __call__(self): parentcontext = self.ParentContext - assert not 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext) + assert (not 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(parentcontext)) is not False @@ -16633,7 +16640,7 @@ class IfcGeometricRepresentationSubContext_UserTargetProvided: targetview = self.TargetView userdefinedtargetview = self.UserDefinedTargetView - assert (targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview)) + assert ((targetview != IfcGeometricProjectionEnum.USERDEFINED) or ((targetview == IfcGeometricProjectionEnum.USERDEFINED) and exists(userdefinedtargetview))) is not False @@ -16676,7 +16683,7 @@ class IfcGeometricSet_ConsistentDim: def __call__(self): elements = self.Elements - assert (sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in elements if temp.Dim != (elements[1 - 1].Dim)])) == 0) is not False @@ -16710,7 +16717,7 @@ class IfcGeotechnicalStratum_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcGeotechnicalStratumTypeEnum.USERDEFINED) or ((predefinedtype == IfcGeotechnicalStratumTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16731,7 +16738,7 @@ class IfcGridAxis_WR1: def __call__(self): axiscurve = self.AxisCurve - assert axiscurve.Dim == 2 + assert (axiscurve.Dim == 2) is not False @@ -16747,7 +16754,7 @@ class IfcGridAxis_WR2: partofv = self.PartOfV partofu = self.PartOfU - assert (sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1) + assert ((sizeof(partofu) == 1) ^ (sizeof(partofv) == 1) ^ (sizeof(partofw) == 1)) is not False @@ -16776,7 +16783,7 @@ class IfcHeatExchanger_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16790,7 +16797,7 @@ class IfcHeatExchanger_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcheatexchangertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16805,7 +16812,7 @@ class IfcHeatExchangerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHeatExchangerTypeEnum.USERDEFINED) or ((predefinedtype == IfcHeatExchangerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16820,7 +16827,7 @@ class IfcHumidifier_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16834,7 +16841,7 @@ class IfcHumidifier_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifchumidifiertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16849,7 +16856,7 @@ class IfcHumidifierType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcHumidifierTypeEnum.USERDEFINED) or ((predefinedtype == IfcHumidifierTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16868,7 +16875,7 @@ class IfcIShapeProfileDef_ValidFilletRadius: flangethickness = self.FlangeThickness filletradius = self.FilletRadius - assert (not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.))) + assert ((not exists(filletradius)) or ((filletradius <= ((overallwidth - webthickness) / 2.)) and (filletradius <= ((overalldepth - (2. * flangethickness)) / 2.)))) is not False @@ -16883,7 +16890,7 @@ class IfcIShapeProfileDef_ValidFlangeThickness: overalldepth = self.OverallDepth flangethickness = self.FlangeThickness - assert (2. * flangethickness) < overalldepth + assert ((2. * flangethickness) < overalldepth) is not False @@ -16898,7 +16905,7 @@ class IfcIShapeProfileDef_ValidWebThickness: overallwidth = self.OverallWidth webthickness = self.WebThickness - assert webthickness < overallwidth + assert (webthickness < overallwidth) is not False @@ -16916,7 +16923,7 @@ class IfcImpactProtectionDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -16930,7 +16937,7 @@ class IfcImpactProtectionDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcimpactprotectiondevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -16945,7 +16952,7 @@ class IfcImpactProtectionDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcImpactProtectionDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcImpactProtectionDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -16963,7 +16970,7 @@ class IfcIndexedPolyCurve_Consecutive: def __call__(self): segments = self.Segments - assert (not exists(segments)) or IfcConsecutiveSegments(segments) + assert ((not exists(segments)) or IfcConsecutiveSegments(segments)) is not False @@ -16993,7 +17000,7 @@ class IfcInterceptor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17007,7 +17014,7 @@ class IfcInterceptor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcinterceptortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17022,7 +17029,7 @@ class IfcInterceptorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcInterceptorTypeEnum.USERDEFINED) or ((predefinedtype == IfcInterceptorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17037,7 +17044,7 @@ class IfcIntersectionCurve_DistinctSurfaces: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) != (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -17051,7 +17058,7 @@ class IfcIntersectionCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -17075,7 +17082,7 @@ class IfcJunctionBox_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17089,7 +17096,7 @@ class IfcJunctionBox_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcjunctionboxtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17104,7 +17111,7 @@ class IfcJunctionBoxType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcJunctionBoxTypeEnum.USERDEFINED) or ((predefinedtype == IfcJunctionBoxTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17119,7 +17126,7 @@ class IfcKerb_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17133,7 +17140,7 @@ class IfcKerb_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifckerbtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifckerbtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17148,7 +17155,7 @@ class IfcKerbType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcKerbTypeEnum.USERDEFINED) or ((predefinedtype == IfcKerbTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17165,7 +17172,7 @@ class IfcLShapeProfileDef_ValidThickness: width = self.Width thickness = self.Thickness - assert (thickness < depth) and ((not exists(width)) or (thickness < width)) + assert ((thickness < depth) and ((not exists(width)) or (thickness < width))) is not False @@ -17180,7 +17187,7 @@ class IfcLaborResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17195,7 +17202,7 @@ class IfcLaborResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcLaborResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcLaborResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -17213,7 +17220,7 @@ class IfcLamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17227,7 +17234,7 @@ class IfcLamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifclamptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17242,7 +17249,7 @@ class IfcLampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLampTypeEnum.USERDEFINED) or ((predefinedtype == IfcLampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17266,7 +17273,7 @@ class IfcLightFixture_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17280,7 +17287,7 @@ class IfcLightFixture_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifclightfixturetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17295,7 +17302,7 @@ class IfcLightFixtureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLightFixtureTypeEnum.USERDEFINED) or ((predefinedtype == IfcLightFixtureTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17332,7 +17339,7 @@ class IfcLine_SameDim: pnt = self.Pnt dir = self.Dir - assert dir.Dim == pnt.Dim + assert (dir.Dim == pnt.Dim) is not False @@ -17356,7 +17363,7 @@ class IfcLiquidTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17370,7 +17377,7 @@ class IfcLiquidTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcliquidterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17385,7 +17392,7 @@ class IfcLiquidTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcLiquidTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcLiquidTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17401,7 +17408,7 @@ class IfcLocalPlacement_WR21: placementrelto = self.PlacementRelTo relativeplacement = self.RelativePlacement - assert IfcCorrectLocalPlacement(relativeplacement,placementrelto) + assert (IfcCorrectLocalPlacement(relativeplacement,placementrelto)) is not False @@ -17428,7 +17435,7 @@ class IfcMarineFacility_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarineFacilityTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarineFacilityTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17443,7 +17450,7 @@ class IfcMarinePart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMarinePartTypeEnum.USERDEFINED) or ((predefinedtype == IfcMarinePartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17473,7 +17480,7 @@ class IfcMaterialDefinitionRepresentation_OnlyStyledRepresentations: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcstyledrepresentation' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcstyledrepresentation' in typeof(temp)])) == 0) is not False @@ -17488,7 +17495,7 @@ class IfcMaterialLayer_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17520,7 +17527,7 @@ class IfcMaterialProfile_NormalizedPriority: def __call__(self): priority = self.Priority - assert (not exists(priority)) or (0 <= priority <= 100) + assert ((not exists(priority)) or (0 <= priority <= 100)) is not False @@ -17559,7 +17566,7 @@ class IfcMechanicalFastener_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17573,7 +17580,7 @@ class IfcMechanicalFastener_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmechanicalfastenertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17588,7 +17595,7 @@ class IfcMechanicalFastenerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMechanicalFastenerTypeEnum.USERDEFINED) or ((predefinedtype == IfcMechanicalFastenerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17603,7 +17610,7 @@ class IfcMedicalDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17617,7 +17624,7 @@ class IfcMedicalDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmedicaldevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17632,7 +17639,7 @@ class IfcMedicalDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMedicalDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMedicalDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17647,7 +17654,7 @@ class IfcMember_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17661,7 +17668,7 @@ class IfcMember_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmembertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17676,7 +17683,7 @@ class IfcMemberType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMemberTypeEnum.USERDEFINED) or ((predefinedtype == IfcMemberTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17702,7 +17709,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17716,7 +17723,7 @@ class IfcMobileTelecommunicationsAppliance_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmobiletelecommunicationsappliancetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17731,7 +17738,7 @@ class IfcMobileTelecommunicationsApplianceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMobileTelecommunicationsApplianceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17749,7 +17756,7 @@ class IfcMooringDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17763,7 +17770,7 @@ class IfcMooringDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmooringdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17778,7 +17785,7 @@ class IfcMooringDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMooringDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcMooringDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17793,7 +17800,7 @@ class IfcMotorConnection_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17807,7 +17814,7 @@ class IfcMotorConnection_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcmotorconnectiontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17822,7 +17829,7 @@ class IfcMotorConnectionType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcMotorConnectionTypeEnum.USERDEFINED) or ((predefinedtype == IfcMotorConnectionTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17837,7 +17844,7 @@ class IfcNamedUnit_WR1: def __call__(self): - assert IfcCorrectDimensions(self.UnitType,self.Dimensions) + assert (IfcCorrectDimensions(self.UnitType,self.Dimensions)) is not False @@ -17852,7 +17859,7 @@ class IfcNavigationElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -17866,7 +17873,7 @@ class IfcNavigationElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcnavigationelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -17881,7 +17888,7 @@ class IfcNavigationElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcNavigationElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcNavigationElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -17896,7 +17903,7 @@ class IfcObject_UniquePropertySetNames: def __call__(self): isdefinedby = self.IsDefinedBy - assert (sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby) + assert ((sizeof(isdefinedby) == 0) or IfcUniqueDefinitionNames(isdefinedby)) is not False @@ -17917,7 +17924,7 @@ class IfcObjective_WR21: def __call__(self): objectivequalifier = self.ObjectiveQualifier - assert (objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier)) + assert ((objectivequalifier != IfcObjectiveEnum.USERDEFINED) or ((objectivequalifier == IfcObjectiveEnum.USERDEFINED) and exists(self.UserDefinedQualifier))) is not False @@ -17932,7 +17939,7 @@ class IfcOccupant_WR31: def __call__(self): predefinedtype = self.PredefinedType - assert (not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((not predefinedtype == IfcOccupantTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -17950,7 +17957,7 @@ class IfcOffsetCurve2D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 2 + assert (basiscurve.Dim == 2) is not False @@ -17965,7 +17972,7 @@ class IfcOffsetCurve3D_DimIs2D: def __call__(self): basiscurve = self.BasisCurve - assert basiscurve.Dim == 3 + assert (basiscurve.Dim == 3) is not False @@ -17983,7 +17990,7 @@ class IfcOpenCrossProfileDef_CorrectProfileType: def __call__(self): - assert self.ProfileType == IfcProfileTypeEnum.CURVE + assert (self.ProfileType == IfcProfileTypeEnum.CURVE) is not False @@ -17998,7 +18005,7 @@ class IfcOpenCrossProfileDef_CorrespondingSlopeWidths: widths = self.Widths slopes = self.Slopes - assert sizeof(slopes) == sizeof(widths) + assert (sizeof(slopes) == sizeof(widths)) is not False @@ -18013,7 +18020,7 @@ class IfcOpenCrossProfileDef_CorrespondingTags: slopes = self.Slopes tags = self.Tags - assert (not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1)) + assert ((not exists(tags)) or (sizeof(tags) == (sizeof(slopes) + 1))) is not False @@ -18031,7 +18038,7 @@ class IfcOpeningElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOpeningElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcOpeningElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18052,7 +18059,7 @@ class IfcOrientedEdge_EdgeElementNotOriented: def __call__(self): edgeelement = self.EdgeElement - assert not 'ifc4x3_tc1.ifcorientededge' in typeof(edgeelement) + assert (not 'ifc4x3_tc1.ifcorientededge' in typeof(edgeelement)) is not False @@ -18086,7 +18093,7 @@ class IfcOutlet_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18100,7 +18107,7 @@ class IfcOutlet_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcoutlettype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18115,7 +18122,7 @@ class IfcOutletType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcOutletTypeEnum.USERDEFINED) or ((predefinedtype == IfcOutletTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18131,7 +18138,7 @@ class IfcOwnerHistory_CorrectChangeAction: changeaction = self.ChangeAction lastmodifieddate = self.LastModifiedDate - assert exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE))) + assert (exists(lastmodifieddate) or ((not exists(lastmodifieddate)) and (not exists(changeaction))) or ((not exists(lastmodifieddate)) and exists(changeaction) and ((changeaction == IfcChangeActionEnum.NOTDEFINED) or (changeaction == IfcChangeActionEnum.NOCHANGE)))) is not False @@ -18149,7 +18156,7 @@ class IfcPath_IsContinuous: def __call__(self): - assert IfcPathHeadToTail(self) + assert (IfcPathHeadToTail(self)) is not False @@ -18164,7 +18171,7 @@ class IfcPavement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18178,7 +18185,7 @@ class IfcPavement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpavementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18193,7 +18200,7 @@ class IfcPavementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPavementTypeEnum.USERDEFINED) or ((predefinedtype == IfcPavementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18208,7 +18215,7 @@ class IfcPcurve_DimIs2D: def __call__(self): referencecurve = self.ReferenceCurve - assert referencecurve.Dim == 2 + assert (referencecurve.Dim == 2) is not False @@ -18234,7 +18241,7 @@ class IfcPerson_IdentifiablePerson: familyname = self.FamilyName givenname = self.GivenName - assert exists(identification) or exists(familyname) or exists(givenname) + assert (exists(identification) or exists(familyname) or exists(givenname)) is not False @@ -18250,7 +18257,7 @@ class IfcPerson_ValidSetOfNames: givenname = self.GivenName middlenames = self.MiddleNames - assert (not exists(middlenames)) or exists(familyname) or exists(givenname) + assert ((not exists(middlenames)) or exists(familyname) or exists(givenname)) is not False @@ -18268,7 +18275,7 @@ class IfcPhysicalComplexQuantity_NoSelfReference: def __call__(self): hasquantities = self.HasQuantities - assert (sizeof([temp for temp in hasquantities if self == temp])) == 0 + assert ((sizeof([temp for temp in hasquantities if self == temp])) == 0) is not False @@ -18282,7 +18289,7 @@ class IfcPhysicalComplexQuantity_UniqueQuantityNames: def __call__(self): hasquantities = self.HasQuantities - assert IfcUniqueQuantityNames(hasquantities) + assert (IfcUniqueQuantityNames(hasquantities)) is not False @@ -18303,7 +18310,7 @@ class IfcPile_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18317,7 +18324,7 @@ class IfcPile_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpiletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18332,7 +18339,7 @@ class IfcPileType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPileTypeEnum.USERDEFINED) or ((predefinedtype == IfcPileTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18347,7 +18354,7 @@ class IfcPipeFitting_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18361,7 +18368,7 @@ class IfcPipeFitting_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpipefittingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18376,7 +18383,7 @@ class IfcPipeFittingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeFittingTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeFittingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18391,7 +18398,7 @@ class IfcPipeSegment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18405,7 +18412,7 @@ class IfcPipeSegment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpipesegmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18420,7 +18427,7 @@ class IfcPipeSegmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPipeSegmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcPipeSegmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18435,7 +18442,7 @@ class IfcPixelTexture_MinPixelInS: def __call__(self): width = self.Width - assert width >= 1 + assert (width >= 1) is not False @@ -18449,7 +18456,7 @@ class IfcPixelTexture_MinPixelInT: def __call__(self): height = self.Height - assert height >= 1 + assert (height >= 1) is not False @@ -18463,7 +18470,7 @@ class IfcPixelTexture_NumberOfColours: def __call__(self): colourcomponents = self.ColourComponents - assert 1 <= colourcomponents <= 4 + assert (1 <= colourcomponents <= 4) is not False @@ -18477,7 +18484,7 @@ class IfcPixelTexture_PixelAsByteAndSameLength: def __call__(self): pixel = self.Pixel - assert (sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel) + assert ((sizeof([temp for temp in pixel if ((blength(temp) % 8) == 0) and (blength(temp) == (blength(pixel[1 - 1])))])) == sizeof(pixel)) is not False @@ -18493,7 +18500,7 @@ class IfcPixelTexture_SizeOfPixelList: height = self.Height pixel = self.Pixel - assert sizeof(pixel) == (width * height) + assert (sizeof(pixel) == (width * height)) is not False @@ -18525,7 +18532,7 @@ class IfcPlate_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18539,7 +18546,7 @@ class IfcPlate_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcplatetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -18554,7 +18561,7 @@ class IfcPlateType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPlateTypeEnum.USERDEFINED) or ((predefinedtype == IfcPlateTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -18586,7 +18593,7 @@ class IfcPolyLoop_AllPointsSameDim: def __call__(self): polygon = self.Polygon - assert (sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in polygon if temp.Dim != (polygon[1 - 1].Dim)])) == 0) is not False @@ -18601,7 +18608,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryDim: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert polygonalboundary.Dim == 2 + assert (polygonalboundary.Dim == 2) is not False @@ -18615,7 +18622,7 @@ class IfcPolygonalBoundedHalfSpace_BoundaryType: def __call__(self): polygonalboundary = self.PolygonalBoundary - assert (sizeof(typeof(polygonalboundary) * ['ifc4x3_tc1.ifcpolyline','ifc4x3_tc1.ifccompositecurve','ifc4x3_tc1.ifcindexedpolycurve'])) == 1 + assert ((sizeof(typeof(polygonalboundary) * ['ifc4x3_tc1.ifcpolyline','ifc4x3_tc1.ifccompositecurve','ifc4x3_tc1.ifcindexedpolycurve'])) == 1) is not False @@ -18633,7 +18640,7 @@ class IfcPolyline_SameDim: def __call__(self): points = self.Points - assert (sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0 + assert ((sizeof([temp for temp in points if temp.Dim != (points[1 - 1].Dim)])) == 0) is not False @@ -18649,7 +18656,7 @@ class IfcPolynomialCurve_CorrectPositionDim: position = self.Position coefficientsz = self.CoefficientsZ - assert ((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3) + assert (((position.Dim == 2) and (not exists(coefficientsz))) or (position.Dim == 3)) is not False @@ -18665,7 +18672,7 @@ class IfcPolynomialCurve_ValidCoefficients: coefficientsy = self.CoefficientsY coefficientsz = self.CoefficientsZ - assert (exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz)) + assert ((exists(coefficientsx) and exists(coefficientsy)) or (exists(coefficientsx) and exists(coefficientsz)) or (exists(coefficientsy) and exists(coefficientsz)) or (exists(coefficientsx) and exists(coefficientsy) and exists(coefficientsz))) is not False @@ -18683,7 +18690,7 @@ class IfcPositioningElement_HasPlacement: def __call__(self): - assert exists(self.ObjectPlacement) + assert (exists(self.ObjectPlacement)) is not False @@ -18704,7 +18711,7 @@ class IfcPostalAddress_WR1: postalcode = self.PostalCode country = self.Country - assert exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country) + assert (exists(internallocation) or exists(addresslines) or exists(postalbox) or exists(postalcode) or exists(town) or exists(region) or exists(country)) is not False @@ -18740,7 +18747,7 @@ class IfcPresentationLayerAssignment_ApplicableItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_tc1.ifcshaperepresentation','ifc4x3_tc1.ifcgeometricrepresentationitem','ifc4x3_tc1.ifcmappeditem'])) == 1])) == sizeof(assigneditems) + 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 @@ -18755,7 +18762,7 @@ class IfcPresentationLayerWithStyle_ApplicableOnlyToItems: def __call__(self): assigneditems = self.AssignedItems - assert (sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_tc1.ifcgeometricrepresentationitem','ifc4x3_tc1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems) + assert ((sizeof([temp for temp in assigneditems if (sizeof(typeof(temp) * ['ifc4x3_tc1.ifcgeometricrepresentationitem','ifc4x3_tc1.ifcmappeditem'])) >= 1])) == sizeof(assigneditems)) is not False @@ -18773,7 +18780,7 @@ class IfcProcedure_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18787,7 +18794,7 @@ class IfcProcedure_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18802,7 +18809,7 @@ class IfcProcedureType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcProcedureTypeEnum.USERDEFINED) or ((predefinedtype == IfcProcedureTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -18821,7 +18828,7 @@ class IfcProduct_PlacementForShapeRepresentation: objectplacement = self.ObjectPlacement representation = self.Representation - assert (exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_tc1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation)) + assert ((exists(representation) and exists(objectplacement)) or (exists(representation) and ((sizeof([temp for temp in representation.Representations if 'ifc4x3_tc1.ifcshaperepresentation' in typeof(temp)])) == 0)) or (not exists(representation))) is not False @@ -18836,7 +18843,7 @@ class IfcProductDefinitionShape_OnlyShapeModel: def __call__(self): representations = self.Representations - assert (sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcshapemodel' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in representations if not 'ifc4x3_tc1.ifcshapemodel' in typeof(temp)])) == 0) is not False @@ -18860,7 +18867,7 @@ class IfcProject_CorrectContext: def __call__(self): - assert (not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0) + assert ((not exists(self.RepresentationContexts)) or ((sizeof([temp for temp in self.RepresentationContexts if 'ifc4x3_tc1.ifcgeometricrepresentationsubcontext' in typeof(temp)])) == 0)) is not False @@ -18874,7 +18881,7 @@ class IfcProject_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -18888,7 +18895,7 @@ class IfcProject_NoDecomposition: def __call__(self): - assert sizeof(self.Decomposes) == 0 + assert (sizeof(self.Decomposes) == 0) is not False @@ -18909,7 +18916,7 @@ class IfcProjectedCRS_IsLengthUnit: def __call__(self): mapunit = self.MapUnit - assert (not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(mapunit)) or (mapunit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -18924,7 +18931,7 @@ class IfcProjectionElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProjectionElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcProjectionElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -18946,7 +18953,7 @@ class IfcPropertyBoundedValue_SameUnitLowerSet: lowerboundvalue = self.LowerBoundValue setpointvalue = self.SetPointValue - assert (not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue)) + assert ((not exists(lowerboundvalue)) or (not exists(setpointvalue)) or (typeof(lowerboundvalue) == typeof(setpointvalue))) is not False @@ -18961,7 +18968,7 @@ class IfcPropertyBoundedValue_SameUnitUpperLower: upperboundvalue = self.UpperBoundValue lowerboundvalue = self.LowerBoundValue - assert (not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue)) + assert ((not exists(upperboundvalue)) or (not exists(lowerboundvalue)) or (typeof(upperboundvalue) == typeof(lowerboundvalue))) is not False @@ -18976,7 +18983,7 @@ class IfcPropertyBoundedValue_SameUnitUpperSet: upperboundvalue = self.UpperBoundValue setpointvalue = self.SetPointValue - assert (not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue)) + assert ((not exists(upperboundvalue)) or (not exists(setpointvalue)) or (typeof(upperboundvalue) == typeof(setpointvalue))) is not False @@ -18995,7 +19002,7 @@ class IfcPropertyDependencyRelationship_NoSelfReference: dependingproperty = self.DependingProperty dependantproperty = self.DependantProperty - assert dependingproperty != dependantproperty + assert (dependingproperty != dependantproperty) is not False @@ -19011,7 +19018,7 @@ class IfcPropertyEnumeratedValue_WR21: enumerationvalues = self.EnumerationValues enumerationreference = self.EnumerationReference - assert (not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues)) + assert ((not exists(enumerationreference)) or (not exists(enumerationvalues)) or ((sizeof([temp for temp in enumerationvalues if temp in enumerationreference.EnumerationValues])) == sizeof(enumerationvalues))) is not False @@ -19026,7 +19033,7 @@ class IfcPropertyEnumeration_WR01: def __call__(self): - assert (sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.EnumerationValues if not (typeof(self.EnumerationValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19041,7 +19048,7 @@ class IfcPropertyListValue_WR31: def __call__(self): - assert (sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.ListValues if not (typeof(self.ListValues[1 - 1])) == typeof(temp)])) == 0) is not False @@ -19059,7 +19066,7 @@ class IfcPropertySet_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19073,7 +19080,7 @@ class IfcPropertySet_UniquePropertyNames: def __call__(self): hasproperties = self.HasProperties - assert IfcUniquePropertyName(hasproperties) + assert (IfcUniquePropertyName(hasproperties)) is not False @@ -19091,7 +19098,7 @@ class IfcPropertySetTemplate_ExistsName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -19105,7 +19112,7 @@ class IfcPropertySetTemplate_UniquePropertyNames: def __call__(self): haspropertytemplates = self.HasPropertyTemplates - assert IfcUniquePropertyTemplateNames(haspropertytemplates) + assert (IfcUniquePropertyTemplateNames(haspropertytemplates)) is not False @@ -19124,7 +19131,7 @@ class IfcPropertyTableValue_WR21: definingvalues = self.DefiningValues definedvalues = self.DefinedValues - assert ((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues)) + assert (((not exists(definingvalues)) and (not exists(definedvalues))) or (sizeof(definingvalues) == sizeof(definedvalues))) is not False @@ -19138,7 +19145,7 @@ class IfcPropertyTableValue_WR22: def __call__(self): definingvalues = self.DefiningValues - assert (not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0) + assert ((not exists(definingvalues)) or ((sizeof([temp for temp in self.DefiningValues if typeof(temp) != (typeof(self.DefiningValues[1 - 1]))])) == 0)) is not False @@ -19152,7 +19159,7 @@ class IfcPropertyTableValue_WR23: def __call__(self): definedvalues = self.DefinedValues - assert (not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0) + assert ((not exists(definedvalues)) or ((sizeof([temp for temp in self.DefinedValues if typeof(temp) != (typeof(self.DefinedValues[1 - 1]))])) == 0)) is not False @@ -19173,7 +19180,7 @@ class IfcProtectiveDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19187,7 +19194,7 @@ class IfcProtectiveDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcprotectivedevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19202,7 +19209,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19216,7 +19223,7 @@ class IfcProtectiveDeviceTrippingUnit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcprotectivedevicetrippingunittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19231,7 +19238,7 @@ class IfcProtectiveDeviceTrippingUnitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19246,7 +19253,7 @@ class IfcProtectiveDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcProtectiveDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcProtectiveDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19261,7 +19268,7 @@ class IfcPump_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19275,7 +19282,7 @@ class IfcPump_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcpumptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19290,7 +19297,7 @@ class IfcPumpType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcPumpTypeEnum.USERDEFINED) or ((predefinedtype == IfcPumpTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19305,7 +19312,7 @@ class IfcQuantityArea_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.AREAUNIT)) is not False @@ -19319,7 +19326,7 @@ class IfcQuantityArea_WR22: def __call__(self): areavalue = self.AreaValue - assert areavalue >= 0. + assert (areavalue >= 0.) is not False @@ -19334,7 +19341,7 @@ class IfcQuantityCount_WR21: def __call__(self): countvalue = self.CountValue - assert countvalue >= 0 + assert (countvalue >= 0) is not False @@ -19349,7 +19356,7 @@ class IfcQuantityLength_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.LENGTHUNIT)) is not False @@ -19363,7 +19370,7 @@ class IfcQuantityLength_WR22: def __call__(self): lengthvalue = self.LengthValue - assert lengthvalue >= 0. + assert (lengthvalue >= 0.) is not False @@ -19384,7 +19391,7 @@ class IfcQuantityTime_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.TIMEUNIT)) is not False @@ -19398,7 +19405,7 @@ class IfcQuantityTime_WR22: def __call__(self): timevalue = self.TimeValue - assert timevalue >= 0. + assert (timevalue >= 0.) is not False @@ -19413,7 +19420,7 @@ class IfcQuantityVolume_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.VOLUMEUNIT)) is not False @@ -19427,7 +19434,7 @@ class IfcQuantityVolume_WR22: def __call__(self): volumevalue = self.VolumeValue - assert volumevalue >= 0. + assert (volumevalue >= 0.) is not False @@ -19442,7 +19449,7 @@ class IfcQuantityWeight_WR21: def __call__(self): - assert (not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT) + assert ((not exists(self.Unit)) or (self.Unit.UnitType == IfcUnitEnum.MASSUNIT)) is not False @@ -19456,7 +19463,7 @@ class IfcQuantityWeight_WR22: def __call__(self): weightvalue = self.WeightValue - assert weightvalue >= 0. + assert (weightvalue >= 0.) is not False @@ -19471,7 +19478,7 @@ class IfcRail_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19485,7 +19492,7 @@ class IfcRail_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrailtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19500,7 +19507,7 @@ class IfcRailType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19515,7 +19522,7 @@ class IfcRailing_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19529,7 +19536,7 @@ class IfcRailing_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrailingtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19544,7 +19551,7 @@ class IfcRailingType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRailingTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailingTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19559,7 +19566,7 @@ class IfcRailway_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19574,7 +19581,7 @@ class IfcRailwayPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRailwayPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRailwayPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19589,7 +19596,7 @@ class IfcRamp_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19603,7 +19610,7 @@ class IfcRamp_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcramptype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19618,7 +19625,7 @@ class IfcRampFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19632,7 +19639,7 @@ class IfcRampFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrampflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19647,7 +19654,7 @@ class IfcRampFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19662,7 +19669,7 @@ class IfcRampType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRampTypeEnum.USERDEFINED) or ((predefinedtype == IfcRampTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19677,7 +19684,7 @@ class IfcRationalBSplineCurveWithKnots_SameNumOfWeightsAndPoints: def __call__(self): weightsdata = self.WeightsData - assert sizeof(weightsdata) == sizeof(self.ControlPointsList) + assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) is not False @@ -19691,7 +19698,7 @@ class IfcRationalBSplineCurveWithKnots_WeightsGreaterZero: def __call__(self): - assert IfcCurveWeightsPositive(self) + assert (IfcCurveWeightsPositive(self)) is not False @@ -19713,7 +19720,7 @@ class IfcRationalBSplineSurfaceWithKnots_CorrespondingWeightsDataLists: def __call__(self): weightsdata = self.WeightsData - assert (sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1]))) + assert ((sizeof(weightsdata) == sizeof(self.ControlPointsList)) and ((sizeof(weightsdata[1 - 1])) == (sizeof(self.ControlPointsList[1 - 1])))) is not False @@ -19727,7 +19734,7 @@ class IfcRationalBSplineSurfaceWithKnots_WeightValuesGreaterZero: def __call__(self): - assert IfcSurfaceWeightsPositive(self) + assert (IfcSurfaceWeightsPositive(self)) is not False @@ -19752,7 +19759,7 @@ class IfcRectangleHollowProfileDef_ValidInnerRadius: wallthickness = self.WallThickness innerfilletradius = self.InnerFilletRadius - assert (not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness))) + assert ((not exists(innerfilletradius)) or ((innerfilletradius <= ((self.XDim / 2.) - wallthickness)) and (innerfilletradius <= ((self.YDim / 2.) - wallthickness)))) is not False @@ -19766,7 +19773,7 @@ class IfcRectangleHollowProfileDef_ValidOuterRadius: def __call__(self): outerfilletradius = self.OuterFilletRadius - assert (not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.))) + assert ((not exists(outerfilletradius)) or ((outerfilletradius <= (self.XDim / 2.)) and (outerfilletradius <= (self.YDim / 2.)))) is not False @@ -19780,7 +19787,7 @@ class IfcRectangleHollowProfileDef_ValidWallThickness: def __call__(self): wallthickness = self.WallThickness - assert (wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.)) + assert ((wallthickness < (self.XDim / 2.)) and (wallthickness < (self.YDim / 2.))) is not False @@ -19802,7 +19809,7 @@ class IfcRectangularTrimmedSurface_U1AndU2Different: u1 = self.U1 u2 = self.U2 - assert u1 != u2 + assert (u1 != u2) is not False @@ -19819,7 +19826,7 @@ class IfcRectangularTrimmedSurface_UsenseCompatible: u2 = self.U2 usense = self.Usense - 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)) + 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 @@ -19834,7 +19841,7 @@ class IfcRectangularTrimmedSurface_V1AndV2Different: v1 = self.V1 v2 = self.V2 - assert v1 != v2 + assert (v1 != v2) is not False @@ -19850,7 +19857,7 @@ class IfcRectangularTrimmedSurface_VsenseCompatible: v2 = self.V2 vsense = self.Vsense - assert vsense == (v2 > v1) + assert (vsense == (v2 > v1)) is not False @@ -19877,7 +19884,7 @@ class IfcReinforcedSoil_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcedSoilTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcedSoilTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19898,7 +19905,7 @@ class IfcReinforcingBar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19912,7 +19919,7 @@ class IfcReinforcingBar_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcreinforcingbartype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19928,7 +19935,7 @@ class IfcReinforcingBarType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -19942,7 +19949,7 @@ class IfcReinforcingBarType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingBarTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingBarTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -19963,7 +19970,7 @@ class IfcReinforcingMesh_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -19977,7 +19984,7 @@ class IfcReinforcingMesh_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcreinforcingmeshtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -19993,7 +20000,7 @@ class IfcReinforcingMeshType_BendingShapeCodeProvided: bendingshapecode = self.BendingShapeCode bendingparameters = self.BendingParameters - assert (not exists(bendingparameters)) or exists(bendingshapecode) + assert ((not exists(bendingparameters)) or exists(bendingshapecode)) is not False @@ -20007,7 +20014,7 @@ class IfcReinforcingMeshType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcReinforcingMeshTypeEnum.USERDEFINED) or ((predefinedtype == IfcReinforcingMeshTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20026,7 +20033,7 @@ class IfcRelAggregates_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20044,7 +20051,7 @@ class IfcRelAssignsToActor_NoSelfReference: def __call__(self): relatingactor = self.RelatingActor - assert (sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingactor == temp])) == 0) is not False @@ -20059,7 +20066,7 @@ class IfcRelAssignsToControl_NoSelfReference: def __call__(self): relatingcontrol = self.RelatingControl - assert (sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingcontrol == temp])) == 0) is not False @@ -20074,7 +20081,7 @@ class IfcRelAssignsToGroup_NoSelfReference: def __call__(self): relatinggroup = self.RelatingGroup - assert (sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatinggroup == temp])) == 0) is not False @@ -20092,7 +20099,7 @@ class IfcRelAssignsToProcess_NoSelfReference: def __call__(self): relatingprocess = self.RelatingProcess - assert (sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingprocess == temp])) == 0) is not False @@ -20107,7 +20114,7 @@ class IfcRelAssignsToProduct_NoSelfReference: def __call__(self): relatingproduct = self.RelatingProduct - assert (sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingproduct == temp])) == 0) is not False @@ -20122,7 +20129,7 @@ class IfcRelAssignsToResource_NoSelfReference: def __call__(self): relatingresource = self.RelatingResource - assert (sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if relatingresource == temp])) == 0) is not False @@ -20155,7 +20162,7 @@ class IfcRelAssociatesMaterial_AllowedElements: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_tc1.ifcelement','ifc4x3_tc1.ifcelementtype','ifc4x3_tc1.ifcstructuralmember','ifc4x3_tc1.ifcport'])) == 0])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if (sizeof(typeof(temp) * ['ifc4x3_tc1.ifcelement','ifc4x3_tc1.ifcelementtype','ifc4x3_tc1.ifcstructuralmember','ifc4x3_tc1.ifcport'])) == 0])) == 0) is not False @@ -20169,7 +20176,7 @@ class IfcRelAssociatesMaterial_NoVoidElement: def __call__(self): - assert (sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_tc1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_tc1.ifcvirtualelement' in typeof(temp))])) == 0 + assert ((sizeof([temp for temp in self.RelatedObjects if ('ifc4x3_tc1.ifcfeatureelementsubtraction' in typeof(temp)) or ('ifc4x3_tc1.ifcvirtualelement' in typeof(temp))])) == 0) is not False @@ -20191,7 +20198,7 @@ class IfcRelConnectsElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20206,7 +20213,7 @@ class IfcRelConnectsPathElements_NormalizedRelatedPriorities: def __call__(self): relatedpriorities = self.RelatedPriorities - assert (sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities)) + assert ((sizeof(relatedpriorities) == 0) or ((sizeof([temp for temp in relatedpriorities if 0 <= temp <= 100])) == sizeof(relatedpriorities))) is not False @@ -20220,7 +20227,7 @@ class IfcRelConnectsPathElements_NormalizedRelatingPriorities: def __call__(self): relatingpriorities = self.RelatingPriorities - assert (sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities)) + assert ((sizeof(relatingpriorities) == 0) or ((sizeof([temp for temp in relatingpriorities if 0 <= temp <= 100])) == sizeof(relatingpriorities))) is not False @@ -20239,7 +20246,7 @@ class IfcRelConnectsPorts_NoSelfReference: relatingport = self.RelatingPort relatedport = self.RelatedPort - assert relatingport != relatedport + assert (relatingport != relatedport) is not False @@ -20266,7 +20273,7 @@ class IfcRelContainedInSpatialStructure_WR31: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if 'ifc4x3_tc1.ifcspatialstructureelement' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in relatedelements if 'ifc4x3_tc1.ifcspatialstructureelement' in typeof(temp)])) == 0) is not False @@ -20288,7 +20295,7 @@ class IfcRelDeclares_NoSelfReference: relatingcontext = self.RelatingContext relateddefinitions = self.RelatedDefinitions - assert (sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0 + assert ((sizeof([temp for temp in relateddefinitions if relatingcontext == temp])) == 0) is not False @@ -20312,7 +20319,7 @@ class IfcRelDefinesByProperties_NoRelatedTypeObject: def __call__(self): - assert (sizeof([types for types in self.RelatedObjects if 'ifc4x3_tc1.ifctypeobject' in typeof(types)])) == 0 + assert ((sizeof([types for types in self.RelatedObjects if 'ifc4x3_tc1.ifctypeobject' in typeof(types)])) == 0) is not False @@ -20340,7 +20347,7 @@ class IfcRelInterferesElements_NoSelfReference: relatingelement = self.RelatingElement relatedelement = self.RelatedElement - assert relatingelement != relatedelement + assert (relatingelement != relatedelement) is not False @@ -20356,7 +20363,7 @@ class IfcRelNests_NoSelfReference: relatingobject = self.RelatingObject relatedobjects = self.RelatedObjects - assert (sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0 + assert ((sizeof([temp for temp in relatedobjects if relatingobject == temp])) == 0) is not False @@ -20372,7 +20379,7 @@ class IfcRelPositions_NoSelfReference: relatingpositioningelement = self.RelatingPositioningElement relatedproducts = self.RelatedProducts - assert (sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0 + assert ((sizeof([temp for temp in relatedproducts if relatingpositioningelement == temp])) == 0) is not False @@ -20390,7 +20397,7 @@ class IfcRelReferencedInSpatialStructure_AllowedRelatedElements: def __call__(self): relatedelements = self.RelatedElements - assert (sizeof([temp for temp in relatedelements if ('ifc4x3_tc1.ifcspatialstructureelement' in typeof(temp)) and (not 'ifc4x3_tc1.ifcspace' in typeof(temp))])) == 0 + 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 @@ -20406,7 +20413,7 @@ class IfcRelSequence_AvoidInconsistentSequence: relatingprocess = self.RelatingProcess relatedprocess = self.RelatedProcess - assert relatingprocess != relatedprocess + assert (relatingprocess != relatedprocess) is not False @@ -20421,7 +20428,7 @@ class IfcRelSequence_CorrectSequenceType: sequencetype = self.SequenceType userdefinedsequencetype = self.UserDefinedSequenceType - assert (sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype)) + assert ((sequencetype != IfcSequenceEnum.USERDEFINED) or ((sequencetype == IfcSequenceEnum.USERDEFINED) and exists(userdefinedsequencetype))) is not False @@ -20440,7 +20447,7 @@ class IfcRelSpaceBoundary_CorrectPhysOrVirt: relatedbuildingelement = self.RelatedBuildingElement physicalorvirtualboundary = self.PhysicalOrVirtualBoundary - assert ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_tc1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined) + assert (((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Physical) and (not 'ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement))) or ((physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.Virtual) and (('ifc4x3_tc1.ifcvirtualelement' in typeof(relatedbuildingelement)) or ('ifc4x3_tc1.ifcopeningelement' in typeof(relatedbuildingelement)))) or (physicalorvirtualboundary == IfcPhysicalOrVirtualEnum.NotDefined)) is not False @@ -20467,7 +20474,7 @@ class IfcReparametrisedCompositeCurveSegment_PositiveLengthParameter: def __call__(self): paramlength = self.ParamLength - assert paramlength > 0.0 + assert (paramlength > 0.0) is not False @@ -20491,7 +20498,7 @@ class IfcRepresentationMap_ApplicableMappedRepr: def __call__(self): mappedrepresentation = self.MappedRepresentation - assert 'ifc4x3_tc1.ifcshapemodel' in typeof(mappedrepresentation) + assert ('ifc4x3_tc1.ifcshapemodel' in typeof(mappedrepresentation)) is not False @@ -20521,7 +20528,7 @@ class IfcRevolvedAreaSolid_AxisDirectionInXY: def __call__(self): axis = self.Axis - assert (axis.Z.DirectionRatios[3 - 1]) == 0.0 + assert ((axis.Z.DirectionRatios[3 - 1]) == 0.0) is not False @@ -20535,7 +20542,7 @@ class IfcRevolvedAreaSolid_AxisStartInXY: def __call__(self): axis = self.Axis - assert ('ifc4x3_tc1.ifccartesianpoint' in typeof(axis.Location)) and ((axis.Location.Coordinates[3 - 1]) == 0.0) + assert (('ifc4x3_tc1.ifccartesianpoint' in typeof(axis.Location)) and ((axis.Location.Coordinates[3 - 1]) == 0.0)) is not False @@ -20557,7 +20564,7 @@ class IfcRevolvedAreaSolidTapered_CorrectProfileAssignment: def __call__(self): - assert IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea) + assert (IfcTaperedSweptAreaProfiles(self.SweptArea,self.EndSweptArea)) is not False @@ -20578,7 +20585,7 @@ class IfcRoad_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20593,7 +20600,7 @@ class IfcRoadPart_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoadPartTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoadPartTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20608,7 +20615,7 @@ class IfcRoof_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20622,7 +20629,7 @@ class IfcRoof_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcrooftype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20637,7 +20644,7 @@ class IfcRoofType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcRoofTypeEnum.USERDEFINED) or ((predefinedtype == IfcRoofTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20655,7 +20662,7 @@ class IfcRoundedRectangleProfileDef_ValidRadius: def __call__(self): roundingradius = self.RoundingRadius - assert (roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.)) + assert ((roundingradius <= (self.XDim / 2.)) and (roundingradius <= (self.YDim / 2.))) is not False @@ -20678,7 +20685,7 @@ class IfcSanitaryTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20692,7 +20699,7 @@ class IfcSanitaryTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsanitaryterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20707,7 +20714,7 @@ class IfcSanitaryTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSanitaryTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSanitaryTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -20725,7 +20732,7 @@ class IfcSeamCurve_SameSurface: def __call__(self): - assert (IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1])) + assert ((IfcAssociatedSurface(self.AssociatedGeometry[1 - 1])) == (IfcAssociatedSurface(self.AssociatedGeometry[2 - 1]))) is not False @@ -20739,7 +20746,7 @@ class IfcSeamCurve_TwoPCurves: def __call__(self): - assert sizeof(self.AssociatedGeometry) == 2 + assert (sizeof(self.AssociatedGeometry) == 2) is not False @@ -20763,7 +20770,7 @@ class IfcSectionedSolid_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20777,7 +20784,7 @@ class IfcSectionedSolid_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20791,7 +20798,7 @@ class IfcSectionedSolid_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20807,7 +20814,7 @@ class IfcSectionedSolidHorizontal_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20821,7 +20828,7 @@ class IfcSectionedSolidHorizontal_NoLongitudinalOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -20836,7 +20843,7 @@ class IfcSectionedSpine_ConsistentProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0 + assert ((sizeof([temp for temp in crosssections if (crosssections[1 - 1].ProfileType) != temp.ProfileType])) == 0) is not False @@ -20851,7 +20858,7 @@ class IfcSectionedSpine_CorrespondingSectionPositions: crosssections = self.CrossSections crosssectionpositions = self.CrossSectionPositions - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20865,7 +20872,7 @@ class IfcSectionedSpine_SpineCurveDim: def __call__(self): spinecurve = self.SpineCurve - assert spinecurve.Dim == 3 + assert (spinecurve.Dim == 3) is not False @@ -20887,7 +20894,7 @@ class IfcSectionedSurface_AreaProfileTypes: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0 + assert ((sizeof([temp for temp in crosssections if temp.ProfileType == IfcProfileTypeEnum.CURVE])) == 0) is not False @@ -20902,7 +20909,7 @@ class IfcSectionedSurface_CorrespondingSectionPositions: crosssectionpositions = self.CrossSectionPositions crosssections = self.CrossSections - assert sizeof(crosssections) == sizeof(crosssectionpositions) + assert (sizeof(crosssections) == sizeof(crosssectionpositions)) is not False @@ -20916,7 +20923,7 @@ class IfcSectionedSurface_DirectrixIs3D: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -20930,7 +20937,7 @@ class IfcSectionedSurface_NoOffsets: def __call__(self): crosssectionpositions = self.CrossSectionPositions - assert (sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0 + assert ((sizeof([temp for temp in crosssectionpositions if exists(temp.Location.OffsetLateral) or exists(temp.Location.OffsetVertical) or exists(temp.Location.OffsetLongitudinal)])) == 0) is not False @@ -20944,7 +20951,7 @@ class IfcSectionedSurface_SectionsSameType: def __call__(self): crosssections = self.CrossSections - assert (sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0 + assert ((sizeof([temp for temp in crosssections if (typeof(crosssections[1 - 1])) != typeof(temp)])) == 0) is not False @@ -20970,7 +20977,7 @@ class IfcSensor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -20984,7 +20991,7 @@ class IfcSensor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsensortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -20999,7 +21006,7 @@ class IfcSensorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSensorTypeEnum.USERDEFINED) or ((predefinedtype == IfcSensorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21017,7 +21024,7 @@ class IfcShadingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21031,7 +21038,7 @@ class IfcShadingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcshadingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21046,7 +21053,7 @@ class IfcShadingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcShadingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcShadingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21064,7 +21071,7 @@ class IfcShapeModel_WR11: def __call__(self): ofshapeaspect = self.OfShapeAspect - assert (sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1) + assert ((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1)) is not False @@ -21079,7 +21086,7 @@ class IfcShapeRepresentation_CorrectContext: def __call__(self): - assert 'ifc4x3_tc1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems) + assert ('ifc4x3_tc1.ifcgeometricrepresentationcontext' in typeof(self.ContextOfItems)) is not False @@ -21093,7 +21100,7 @@ class IfcShapeRepresentation_CorrectItemsForType: def __call__(self): - assert IfcShapeRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcShapeRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -21107,7 +21114,7 @@ class IfcShapeRepresentation_HasRepresentationIdentifier: def __call__(self): - assert exists(self.RepresentationIdentifier) + assert (exists(self.RepresentationIdentifier)) is not False @@ -21121,7 +21128,7 @@ class IfcShapeRepresentation_HasRepresentationType: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -21135,7 +21142,7 @@ class IfcShapeRepresentation_NoTopologicalItem: def __call__(self): items = self.Items - 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 + 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 @@ -21158,7 +21165,7 @@ class IfcSign_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21172,7 +21179,7 @@ class IfcSign_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsigntype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21187,7 +21194,7 @@ class IfcSignType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21202,7 +21209,7 @@ class IfcSignal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21216,7 +21223,7 @@ class IfcSignal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsignaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21231,7 +21238,7 @@ class IfcSignalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSignalTypeEnum.USERDEFINED) or ((predefinedtype == IfcSignalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21258,7 +21265,7 @@ class IfcSlab_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21272,7 +21279,7 @@ class IfcSlab_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcslabtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21287,7 +21294,7 @@ class IfcSlabType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSlabTypeEnum.USERDEFINED) or ((predefinedtype == IfcSlabTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21305,7 +21312,7 @@ class IfcSolarDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21319,7 +21326,7 @@ class IfcSolarDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsolardevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21334,7 +21341,7 @@ class IfcSolarDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSolarDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSolarDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21357,7 +21364,7 @@ class IfcSpace_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21371,7 +21378,7 @@ class IfcSpace_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspacetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21386,7 +21393,7 @@ class IfcSpaceHeater_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21400,7 +21407,7 @@ class IfcSpaceHeater_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspaceheatertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21415,7 +21422,7 @@ class IfcSpaceHeaterType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceHeaterTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceHeaterTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21430,7 +21437,7 @@ class IfcSpaceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpaceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpaceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21451,7 +21458,7 @@ class IfcSpatialStructureElement_WR41: def __call__(self): - assert (hiindex(self.Decomposes) == 1) and ('ifc4x3_tc1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_tc1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_tc1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject)))) + assert ((hiindex(self.Decomposes) == 1) and ('ifc4x3_tc1.ifcrelaggregates' in (typeof(self.Decomposes[1 - 1]))) and (('ifc4x3_tc1.ifcproject' in (typeof(self.Decomposes[1 - 1].RelatingObject))) or ('ifc4x3_tc1.ifcspatialstructureelement' in (typeof(self.Decomposes[1 - 1].RelatingObject))))) is not False @@ -21469,7 +21476,7 @@ class IfcSpatialZone_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21483,7 +21490,7 @@ class IfcSpatialZone_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcspatialzonetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21498,7 +21505,7 @@ class IfcSpatialZoneType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSpatialZoneTypeEnum.USERDEFINED) or ((predefinedtype == IfcSpatialZoneTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21522,7 +21529,7 @@ class IfcStackTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21536,7 +21543,7 @@ class IfcStackTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstackterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21551,7 +21558,7 @@ class IfcStackTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStackTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcStackTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21566,7 +21573,7 @@ class IfcStair_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21580,7 +21587,7 @@ class IfcStair_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstairtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21595,7 +21602,7 @@ class IfcStairFlight_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21609,7 +21616,7 @@ class IfcStairFlight_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcstairflighttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -21624,7 +21631,7 @@ class IfcStairFlightType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairFlightTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairFlightTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21639,7 +21646,7 @@ class IfcStairType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcStairTypeEnum.USERDEFINED) or ((predefinedtype == IfcStairTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -21660,7 +21667,7 @@ class IfcStructuralAnalysisModel_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcAnalysisModelTypeEnum.USERDEFINED) or ((predefinedtype == IfcAnalysisModelTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -21681,7 +21688,7 @@ class IfcStructuralCurveAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21695,7 +21702,7 @@ class IfcStructuralCurveAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21709,7 +21716,7 @@ class IfcStructuralCurveAction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT + assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.EQUIDISTANT) is not False @@ -21727,7 +21734,7 @@ class IfcStructuralCurveMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21745,7 +21752,7 @@ class IfcStructuralCurveReaction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21759,7 +21766,7 @@ class IfcStructuralCurveReaction_SuitablePredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA) + assert ((predefinedtype != IfcStructuralCurveActivityTypeEnum.SINUS) and (predefinedtype != IfcStructuralCurveActivityTypeEnum.PARABOLA)) is not False @@ -21777,7 +21784,7 @@ class IfcStructuralLinearAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralCurveActivityTypeEnum.CONST) is not False @@ -21791,7 +21798,7 @@ class IfcStructuralLinearAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_tc1.ifcstructuralloadlinearforce','ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_tc1.ifcstructuralloadlinearforce','ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21809,7 +21816,7 @@ class IfcStructuralLoadCase_IsLoadCasePredefinedType: def __call__(self): - assert self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE + assert (self.PredefinedType == IfcLoadGroupTypeEnum.LOAD_CASE) is not False @@ -21825,7 +21832,7 @@ class IfcStructuralLoadConfiguration_ValidListSize: values = self.Values locations = self.Locations - assert (not exists(locations)) or (sizeof(locations) == sizeof(values)) + assert ((not exists(locations)) or (sizeof(locations) == sizeof(values))) is not False @@ -21842,7 +21849,7 @@ class IfcStructuralLoadGroup_HasObjectType: actiontype = self.ActionType actionsource = self.ActionSource - assert ((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType) + assert (((predefinedtype != IfcLoadGroupTypeEnum.USERDEFINED) and (actiontype != IfcActionTypeEnum.USERDEFINED) and (actionsource != IfcActionSourceTypeEnum.USERDEFINED)) or exists(self.ObjectType)) is not False @@ -21887,7 +21894,7 @@ class IfcStructuralPlanarAction_ConstPredefinedType: def __call__(self): - assert self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST + assert (self.PredefinedType == IfcStructuralSurfaceActivityTypeEnum.CONST) is not False @@ -21901,7 +21908,7 @@ class IfcStructuralPlanarAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_tc1.ifcstructuralloadplanarforce','ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_tc1.ifcstructuralloadplanarforce','ifc4x3_tc1.ifcstructuralloadtemperature'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21916,7 +21923,7 @@ class IfcStructuralPointAction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce','ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce','ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21934,7 +21941,7 @@ class IfcStructuralPointReaction_SuitableLoadType: def __call__(self): - assert (sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce','ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1 + assert ((sizeof(['ifc4x3_tc1.ifcstructuralloadsingleforce','ifc4x3_tc1.ifcstructuralloadsingledisplacement'] * typeof(self.AppliedLoad))) == 1) is not False @@ -21952,7 +21959,7 @@ class IfcStructuralResultGroup_HasObjectType: def __call__(self): theorytype = self.TheoryType - assert (theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((theorytype != IfcAnalysisTheoryTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21967,7 +21974,7 @@ class IfcStructuralSurfaceAction_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -21981,7 +21988,7 @@ class IfcStructuralSurfaceAction_ProjectedIsGlobal: def __call__(self): projectedortrue = self.ProjectedOrTrue - assert (not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords)) + assert ((not exists(projectedortrue)) or ((projectedortrue != projected_length) or (self.GlobalOrLocal == global_coords))) is not False @@ -21999,7 +22006,7 @@ class IfcStructuralSurfaceMember_HasObjectType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceMemberTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22017,7 +22024,7 @@ class IfcStructuralSurfaceReaction_HasPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType) + assert ((predefinedtype != IfcStructuralSurfaceActivityTypeEnum.USERDEFINED) or exists(self.ObjectType)) is not False @@ -22035,7 +22042,7 @@ class IfcStyledItem_ApplicableItem: def __call__(self): item = self.Item - assert not 'ifc4x3_tc1.ifcstyleditem' in typeof(item) + assert (not 'ifc4x3_tc1.ifcstyleditem' in typeof(item)) is not False @@ -22050,7 +22057,7 @@ class IfcStyledRepresentation_OnlyStyledItems: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_tc1.ifcstyleditem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_tc1.ifcstyleditem' in typeof(temp)])) == 0) is not False @@ -22065,7 +22072,7 @@ class IfcSubContractResource_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22080,7 +22087,7 @@ class IfcSubContractResourceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType)) + assert ((predefinedtype != IfcSubContractResourceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSubContractResourceTypeEnum.USERDEFINED) and exists(self.ResourceType))) is not False @@ -22106,7 +22113,7 @@ class IfcSurfaceCurve_CurveIs3D: def __call__(self): curve3d = self.Curve3D - assert curve3d.Dim == 3 + assert (curve3d.Dim == 3) is not False @@ -22120,7 +22127,7 @@ class IfcSurfaceCurve_CurveIsNotPcurve: def __call__(self): curve3d = self.Curve3D - assert not 'ifc4x3_tc1.ifcpcurve' in typeof(curve3d) + assert (not 'ifc4x3_tc1.ifcpcurve' in typeof(curve3d)) is not False @@ -22145,7 +22152,7 @@ class IfcSurfaceFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSurfaceFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcSurfaceFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22160,7 +22167,7 @@ class IfcSurfaceOfLinearExtrusion_DepthGreaterZero: def __call__(self): depth = self.Depth - assert depth > 0. + assert (depth > 0.) is not False @@ -22191,7 +22198,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea1: def __call__(self): surfacereinforcement1 = self.SurfaceReinforcement1 - assert (not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement1)) or (((surfacereinforcement1[1 - 1]) >= 0.) and ((surfacereinforcement1[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement1) == 1) or ((surfacereinforcement1[1 - 1]) >= 0.)))) is not False @@ -22205,7 +22212,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea2: def __call__(self): surfacereinforcement2 = self.SurfaceReinforcement2 - assert (not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.))) + assert ((not exists(surfacereinforcement2)) or (((surfacereinforcement2[1 - 1]) >= 0.) and ((surfacereinforcement2[2 - 1]) >= 0.) and ((sizeof(surfacereinforcement2) == 1) or ((surfacereinforcement2[1 - 1]) >= 0.)))) is not False @@ -22219,7 +22226,7 @@ class IfcSurfaceReinforcementArea_NonnegativeArea3: def __call__(self): shearreinforcement = self.ShearReinforcement - assert (not exists(shearreinforcement)) or (shearreinforcement >= 0.) + assert ((not exists(shearreinforcement)) or (shearreinforcement >= 0.)) is not False @@ -22235,7 +22242,7 @@ class IfcSurfaceReinforcementArea_SurfaceAndOrShearAreaSpecified: surfacereinforcement2 = self.SurfaceReinforcement2 shearreinforcement = self.ShearReinforcement - assert exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement) + assert (exists(surfacereinforcement1) or exists(surfacereinforcement2) or exists(shearreinforcement)) is not False @@ -22250,7 +22257,7 @@ class IfcSurfaceStyle_MaxOneExtDefined: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcexternallydefinedsurfacestyle' in typeof(style)])) <= 1) is not False @@ -22264,7 +22271,7 @@ class IfcSurfaceStyle_MaxOneLighting: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylelighting' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylelighting' in typeof(style)])) <= 1) is not False @@ -22278,7 +22285,7 @@ class IfcSurfaceStyle_MaxOneRefraction: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylerefraction' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylerefraction' in typeof(style)])) <= 1) is not False @@ -22292,7 +22299,7 @@ class IfcSurfaceStyle_MaxOneShading: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestyleshading' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestyleshading' in typeof(style)])) <= 1) is not False @@ -22306,7 +22313,7 @@ class IfcSurfaceStyle_MaxOneTextures: def __call__(self): - assert (sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1 + assert ((sizeof([style for style in self.Styles if 'ifc4x3_tc1.ifcsurfacestylewithtextures' in typeof(style)])) <= 1) is not False @@ -22339,7 +22346,7 @@ class IfcSweptAreaSolid_SweptAreaType: def __call__(self): sweptarea = self.SweptArea - assert sweptarea.ProfileType == IfcProfileTypeEnum.Area + assert (sweptarea.ProfileType == IfcProfileTypeEnum.Area) is not False @@ -22356,7 +22363,7 @@ class IfcSweptDiskSolid_DirectrixBounded: startparam = self.StartParam endparam = self.EndParam - assert (exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix))) == 1) + assert ((exists(startparam) and exists(endparam)) or ((sizeof(['ifc4x3_tc1.ifcconic','ifc4x3_tc1.ifcboundedcurve'] * typeof(directrix))) == 1)) is not False @@ -22370,7 +22377,7 @@ class IfcSweptDiskSolid_DirectrixDim: def __call__(self): directrix = self.Directrix - assert directrix.Dim == 3 + assert (directrix.Dim == 3) is not False @@ -22385,7 +22392,7 @@ class IfcSweptDiskSolid_InnerRadiusSize: radius = self.Radius innerradius = self.InnerRadius - assert (not exists(innerradius)) or (radius > innerradius) + assert ((not exists(innerradius)) or (radius > innerradius)) is not False @@ -22400,7 +22407,7 @@ class IfcSweptDiskSolidPolygonal_CorrectRadii: def __call__(self): filletradius = self.FilletRadius - assert (not exists(filletradius)) or (filletradius >= self.Radius) + assert ((not exists(filletradius)) or (filletradius >= self.Radius)) is not False @@ -22414,7 +22421,7 @@ class IfcSweptDiskSolidPolygonal_DirectrixIsPolyline: def __call__(self): - assert ('ifc4x3_tc1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_tc1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments))) + assert (('ifc4x3_tc1.ifcpolyline' in typeof(self.Directrix)) or (('ifc4x3_tc1.ifcindexedpolycurve' in typeof(self.Directrix)) and (not exists(self.Directrix.Segments)))) is not False @@ -22429,7 +22436,7 @@ class IfcSweptSurface_SweptCurveType: def __call__(self): sweptcurve = self.SweptCurve - assert sweptcurve.ProfileType == IfcProfileTypeEnum.Curve + assert (sweptcurve.ProfileType == IfcProfileTypeEnum.Curve) is not False @@ -22444,7 +22451,7 @@ class IfcSwitchingDevice_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22458,7 +22465,7 @@ class IfcSwitchingDevice_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcswitchingdevicetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22473,7 +22480,7 @@ class IfcSwitchingDeviceType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcSwitchingDeviceTypeEnum.USERDEFINED) or ((predefinedtype == IfcSwitchingDeviceTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22491,7 +22498,7 @@ class IfcSystemFurnitureElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22505,7 +22512,7 @@ class IfcSystemFurnitureElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcsystemfurnitureelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22520,7 +22527,7 @@ class IfcSystemFurnitureElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcSystemFurnitureElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcSystemFurnitureElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22536,7 +22543,7 @@ class IfcTShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < depth + assert (flangethickness < depth) is not False @@ -22551,7 +22558,7 @@ class IfcTShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -22566,7 +22573,7 @@ class IfcTable_WR1: def __call__(self): rows = self.Rows - assert (sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0 + assert ((sizeof([temp for temp in rows if hiindex(temp.RowCells) != (hiindex(rows[1 - 1].RowCells))])) == 0) is not False @@ -22580,7 +22587,7 @@ class IfcTable_WR2: def __call__(self): numberofheadings = self.NumberOfHeadings - assert 0 <= numberofheadings <= 1 + assert (0 <= numberofheadings <= 1) is not False @@ -22622,7 +22629,7 @@ class IfcTank_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22636,7 +22643,7 @@ class IfcTank_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctanktype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22651,7 +22658,7 @@ class IfcTankType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTankTypeEnum.USERDEFINED) or ((predefinedtype == IfcTankTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22666,7 +22673,7 @@ class IfcTask_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22680,7 +22687,7 @@ class IfcTask_HasName: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -22701,7 +22708,7 @@ class IfcTaskType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType)) + assert ((predefinedtype != IfcTaskTypeEnum.USERDEFINED) or ((predefinedtype == IfcTaskTypeEnum.USERDEFINED) and exists(self.ProcessType))) is not False @@ -22721,7 +22728,7 @@ class IfcTelecomAddress_MinimumDataProvided: wwwhomepageurl = self.WWWHomePageURL messagingids = self.MessagingIDs - assert exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids) + assert (exists(telephonenumbers) or exists(facsimilenumbers) or exists(pagernumber) or exists(electronicmailaddresses) or exists(wwwhomepageurl) or exists(messagingids)) is not False @@ -22736,7 +22743,7 @@ class IfcTendon_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22750,7 +22757,7 @@ class IfcTendon_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendontype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22765,7 +22772,7 @@ class IfcTendonAnchor_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22779,7 +22786,7 @@ class IfcTendonAnchor_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendonanchortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22794,7 +22801,7 @@ class IfcTendonAnchorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonAnchorTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonAnchorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22809,7 +22816,7 @@ class IfcTendonConduit_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -22823,7 +22830,7 @@ class IfcTendonConduit_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctendonconduittype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -22838,7 +22845,7 @@ class IfcTendonConduitType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonConduitTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonConduitTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22853,7 +22860,7 @@ class IfcTendonType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTendonTypeEnum.USERDEFINED) or ((predefinedtype == IfcTendonTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -22882,7 +22889,7 @@ class IfcTextLiteralWithExtent_WR31: def __call__(self): extent = self.Extent - assert not 'ifc4x3_tc1.ifcplanarbox' in typeof(extent) + assert (not 'ifc4x3_tc1.ifcplanarbox' in typeof(extent)) is not False @@ -22900,7 +22907,7 @@ class IfcTextStyleFontModel_MeasureOfFontSize: def __call__(self): - assert ('ifc4x3_tc1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.) + assert (('ifc4x3_tc1.ifclengthmeasure' in typeof(self.FontSize)) and (self.FontSize > 0.)) is not False @@ -22957,7 +22964,7 @@ class IfcTopologyRepresentation_WR21: def __call__(self): - assert (sizeof([temp for temp in self.Items if not 'ifc4x3_tc1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0 + assert ((sizeof([temp for temp in self.Items if not 'ifc4x3_tc1.ifctopologicalrepresentationitem' in typeof(temp)])) == 0) is not False @@ -22971,7 +22978,7 @@ class IfcTopologyRepresentation_WR22: def __call__(self): - assert exists(self.RepresentationType) + assert (exists(self.RepresentationType)) is not False @@ -22985,7 +22992,7 @@ class IfcTopologyRepresentation_WR23: def __call__(self): - assert IfcTopologyRepresentationTypes(self.RepresentationType,self.Items) + assert (IfcTopologyRepresentationTypes(self.RepresentationType,self.Items)) is not False @@ -23001,7 +23008,7 @@ class IfcToroidalSurface_MajorLargerMinor: majorradius = self.MajorRadius minorradius = self.MinorRadius - assert minorradius < majorradius + assert (minorradius < majorradius) is not False @@ -23016,7 +23023,7 @@ class IfcTrackElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23030,7 +23037,7 @@ class IfcTrackElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctrackelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23045,7 +23052,7 @@ class IfcTrackElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTrackElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTrackElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23060,7 +23067,7 @@ class IfcTransformer_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23074,7 +23081,7 @@ class IfcTransformer_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctransformertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23089,7 +23096,7 @@ class IfcTransformerType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransformerTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransformerTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23104,7 +23111,7 @@ class IfcTransportElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23118,7 +23125,7 @@ class IfcTransportElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctransportelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23133,7 +23140,7 @@ class IfcTransportElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTransportElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcTransportElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23165,7 +23172,7 @@ class IfcTriangulatedIrregularNetwork_NotClosed: def __call__(self): - assert self.Closed == False + assert (self.Closed == False) is not False @@ -23180,7 +23187,7 @@ class IfcTrimmedCurve_NoTrimOfBoundedCurves: def __call__(self): basiscurve = self.BasisCurve - assert not 'ifc4x3_tc1.ifcboundedcurve' in typeof(basiscurve) + assert (not 'ifc4x3_tc1.ifcboundedcurve' in typeof(basiscurve)) is not False @@ -23194,7 +23201,7 @@ class IfcTrimmedCurve_Trim1ValuesConsistent: def __call__(self): trim1 = self.Trim1 - assert (hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1]))) + assert ((hiindex(trim1) == 1) or ((typeof(trim1[1 - 1])) != (typeof(trim1[2 - 1])))) is not False @@ -23208,7 +23215,7 @@ class IfcTrimmedCurve_Trim2ValuesConsistent: def __call__(self): trim2 = self.Trim2 - assert (hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1]))) + assert ((hiindex(trim2) == 1) or ((typeof(trim2[1 - 1])) != (typeof(trim2[2 - 1])))) is not False @@ -23223,7 +23230,7 @@ class IfcTubeBundle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23237,7 +23244,7 @@ class IfcTubeBundle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifctubebundletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23252,7 +23259,7 @@ class IfcTubeBundleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcTubeBundleTypeEnum.USERDEFINED) or ((predefinedtype == IfcTubeBundleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23267,7 +23274,7 @@ class IfcTypeObject_NameRequired: def __call__(self): - assert exists(self.Name) + assert (exists(self.Name)) is not False @@ -23281,7 +23288,7 @@ class IfcTypeObject_UniquePropertySetNames: def __call__(self): haspropertysets = self.HasPropertySets - assert (not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets) + assert ((not exists(haspropertysets)) or IfcUniquePropertySetNames(haspropertysets)) is not False @@ -23299,7 +23306,7 @@ class IfcTypeProduct_ApplicableOccurrence: def __call__(self): - assert (not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_tc1.ifcproduct' in typeof(temp)])) == 0) + assert ((not exists(lambda: self.Types[1 - 1])) or ((sizeof([temp for temp in self.Types[1 - 1].RelatedObjects if not 'ifc4x3_tc1.ifcproduct' in typeof(temp)])) == 0)) is not False @@ -23318,7 +23325,7 @@ class IfcUShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23333,7 +23340,7 @@ class IfcUShapeProfileDef_ValidWebThickness: flangewidth = self.FlangeWidth webthickness = self.WebThickness - assert webthickness < flangewidth + assert (webthickness < flangewidth) is not False @@ -23348,7 +23355,7 @@ class IfcUnitAssignment_WR01: def __call__(self): units = self.Units - assert IfcCorrectUnitAssignment(units) + assert (IfcCorrectUnitAssignment(units)) is not False @@ -23363,7 +23370,7 @@ class IfcUnitaryControlElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23377,7 +23384,7 @@ class IfcUnitaryControlElement_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcunitarycontrolelementtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23392,7 +23399,7 @@ class IfcUnitaryControlElementType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryControlElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryControlElementTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23407,7 +23414,7 @@ class IfcUnitaryEquipment_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23421,7 +23428,7 @@ class IfcUnitaryEquipment_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcunitaryequipmenttype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23436,7 +23443,7 @@ class IfcUnitaryEquipmentType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcUnitaryEquipmentTypeEnum.USERDEFINED) or ((predefinedtype == IfcUnitaryEquipmentTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23451,7 +23458,7 @@ class IfcValve_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23465,7 +23472,7 @@ class IfcValve_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvalvetype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23480,7 +23487,7 @@ class IfcValveType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcValveTypeEnum.USERDEFINED) or ((predefinedtype == IfcValveTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23495,7 +23502,7 @@ class IfcVector_MagGreaterOrEqualZero: def __call__(self): magnitude = self.Magnitude - assert magnitude >= 0.0 + assert (magnitude >= 0.0) is not False @@ -23517,7 +23524,7 @@ class IfcVehicle_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23531,7 +23538,7 @@ class IfcVehicle_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvehicletype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23546,7 +23553,7 @@ class IfcVehicleType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVehicleTypeEnum.USERDEFINED) or ((predefinedtype == IfcVehicleTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23570,7 +23577,7 @@ class IfcVibrationDamper_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23584,7 +23591,7 @@ class IfcVibrationDamper_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvibrationdampertype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23599,7 +23606,7 @@ class IfcVibrationDamperType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationDamperTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationDamperTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23614,7 +23621,7 @@ class IfcVibrationIsolator_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23628,7 +23635,7 @@ class IfcVibrationIsolator_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcvibrationisolatortype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23643,7 +23650,7 @@ class IfcVibrationIsolatorType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcVibrationIsolatorTypeEnum.USERDEFINED) or ((predefinedtype == IfcVibrationIsolatorTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23658,7 +23665,7 @@ class IfcVirtualElement_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVirtualElementTypeEnum.USERDEFINED) or ((predefinedtype == IfcVirtualElementTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23676,7 +23683,7 @@ class IfcVoidingFeature_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcVoidingFeatureTypeEnum.USERDEFINED) or ((predefinedtype == IfcVoidingFeatureTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23691,7 +23698,7 @@ class IfcWall_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23705,7 +23712,7 @@ class IfcWall_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwalltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23720,7 +23727,7 @@ class IfcWallStandardCase_HasMaterialLayerSetUsage: 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(temp.RelatingMaterial))])) == 1 + 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(temp.RelatingMaterial))])) == 1) is not False @@ -23735,7 +23742,7 @@ class IfcWallType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWallTypeEnum.USERDEFINED) or ((predefinedtype == IfcWallTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23750,7 +23757,7 @@ class IfcWasteTerminal_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23764,7 +23771,7 @@ class IfcWasteTerminal_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwasteterminaltype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23779,7 +23786,7 @@ class IfcWasteTerminalType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWasteTerminalTypeEnum.USERDEFINED) or ((predefinedtype == IfcWasteTerminalTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23794,7 +23801,7 @@ class IfcWindow_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23808,7 +23815,7 @@ class IfcWindow_CorrectTypeAssigned: def __call__(self): istypedby = self.IsTypedBy - assert (sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType))) + assert ((sizeof(istypedby) == 0) or ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.IsTypedBy[1 - 1].RelatingType)))) is not False @@ -23824,7 +23831,7 @@ class IfcWindowLiningProperties_WR31: liningdepth = self.LiningDepth liningthickness = self.LiningThickness - assert not exists(liningdepth) and (not exists(liningthickness)) + assert (not exists(liningdepth) and (not exists(liningthickness))) is not False @@ -23839,7 +23846,7 @@ class IfcWindowLiningProperties_WR32: firsttransomoffset = self.FirstTransomOffset secondtransomoffset = self.SecondTransomOffset - assert not (not exists(firsttransomoffset)) and exists(secondtransomoffset) + assert (not (not exists(firsttransomoffset)) and exists(secondtransomoffset)) is not False @@ -23854,7 +23861,7 @@ class IfcWindowLiningProperties_WR33: firstmullionoffset = self.FirstMullionOffset secondmullionoffset = self.SecondMullionOffset - assert not (not exists(firstmullionoffset)) and exists(secondmullionoffset) + assert (not (not exists(firstmullionoffset)) and exists(secondmullionoffset)) is not False @@ -23868,7 +23875,7 @@ class IfcWindowLiningProperties_WR34: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -23883,7 +23890,7 @@ class IfcWindowPanelProperties_ApplicableToType: def __call__(self): - assert (exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1]))) + assert ((exists(lambda: self.DefinesType[1 - 1])) and ('ifc4x3_tc1.ifcwindowtype' in (typeof(self.DefinesType[1 - 1])))) is not False @@ -23898,7 +23905,7 @@ class IfcWindowType_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType)) + assert ((predefinedtype != IfcWindowTypeEnum.USERDEFINED) or ((predefinedtype == IfcWindowTypeEnum.USERDEFINED) and exists(self.ElementType))) is not False @@ -23913,7 +23920,7 @@ class IfcWorkCalendar_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkCalendarTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkCalendarTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23931,7 +23938,7 @@ class IfcWorkPlan_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkPlanTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkPlanTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23946,7 +23953,7 @@ class IfcWorkSchedule_CorrectPredefinedType: def __call__(self): predefinedtype = self.PredefinedType - assert (not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType)) + assert ((not exists(predefinedtype)) or (predefinedtype != IfcWorkScheduleTypeEnum.USERDEFINED) or ((predefinedtype == IfcWorkScheduleTypeEnum.USERDEFINED) and exists(self.ObjectType))) is not False @@ -23965,7 +23972,7 @@ class IfcZShapeProfileDef_ValidFlangeThickness: depth = self.Depth flangethickness = self.FlangeThickness - assert flangethickness < (depth / 2.) + assert (flangethickness < (depth / 2.)) is not False @@ -23980,7 +23987,7 @@ class IfcZone_WR1: def __call__(self): - assert (sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects if not ('ifc4x3_tc1.ifczone' in typeof(temp)) or ('ifc4x3_tc1.ifcspace' in typeof(temp)) or ('ifc4x3_tc1.ifcspatialzone' in typeof(temp))])) == 0) + assert ((sizeof(self.IsGroupedBy) == 0) or ((sizeof([temp for temp in self.IsGroupedBy[1 - 1].RelatedObjects 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 @@ -24000,7 +24007,7 @@ class IfcRepresentationContextSameWCS: if isdifferent == True: break - assert isdifferent == False + assert (isdifferent == False) is not False @@ -24015,7 +24022,7 @@ class IfcSingleProjectInstance: - assert sizeof(IfcProject) <= 1 + assert (sizeof(IfcProject) <= 1) is not False