mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-31 00:46:36 +00:00
Merge v0.7.0 -- src\ifcopenshell-python\ifcopenshell\express
This commit is contained in:
@@ -5145,7 +5145,7 @@ class IfcBoxAlignment_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['top-left', 'top-middle', 'top-right', 'middle-left', 'center', 'middle-right', 'bottom-left', 'bottom-middle', 'bottom-right']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['top-left', 'top-middle', 'top-right', 'middle-left', 'center', 'middle-right', 'bottom-left', 'bottom-middle', 'bottom-right']) is not False
|
||||
|
||||
class IfcCardinalPointReference_GreaterThanZero:
|
||||
SCOPE = 'type'
|
||||
@@ -5226,7 +5226,7 @@ class IfcFontStyle_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['normal', 'italic', 'oblique']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['normal', 'italic', 'oblique']) is not False
|
||||
|
||||
class IfcFontVariant_WR1:
|
||||
SCOPE = 'type'
|
||||
@@ -5235,7 +5235,7 @@ class IfcFontVariant_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['normal', 'small-caps']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['normal', 'small-caps']) is not False
|
||||
|
||||
class IfcFontWeight_WR1:
|
||||
SCOPE = 'type'
|
||||
@@ -5244,7 +5244,7 @@ class IfcFontWeight_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['normal', 'small-caps', '100', '200', '300', '400', '500', '600', '700', '800', '900']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['normal', 'small-caps', '100', '200', '300', '400', '500', '600', '700', '800', '900']) is not False
|
||||
|
||||
class IfcHeatingValueMeasure_WR1:
|
||||
SCOPE = 'type'
|
||||
@@ -5343,7 +5343,7 @@ class IfcTextAlignment_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['left', 'right', 'center', 'justify']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['left', 'right', 'center', 'justify']) is not False
|
||||
|
||||
class IfcTextDecoration_WR1:
|
||||
SCOPE = 'type'
|
||||
@@ -5352,7 +5352,7 @@ class IfcTextDecoration_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['none', 'underline', 'overline', 'line-through', 'blink']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['none', 'underline', 'overline', 'line-through', 'blink']) is not False
|
||||
|
||||
class IfcTextTransformation_WR1:
|
||||
SCOPE = 'type'
|
||||
@@ -5361,7 +5361,7 @@ class IfcTextTransformation_WR1:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (self in ['capitalize', 'uppercase', 'lowercase', 'none']) is not False
|
||||
assert (getattr(self, 'lower', INDETERMINATE)() in ['capitalize', 'uppercase', 'lowercase', 'none']) is not False
|
||||
|
||||
class IfcActorRole_WR1:
|
||||
SCOPE = 'entity'
|
||||
@@ -6087,7 +6087,7 @@ class IfcBlobTexture_SupportedRasterFormat:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (getattr(self, 'RasterFormat', INDETERMINATE) in ['bmp', 'jpg', 'gif', 'png']) is not False
|
||||
assert (getattr(getattr(self, 'RasterFormat', INDETERMINATE), 'lower', INDETERMINATE)() in ['bmp', 'jpg', 'gif', 'png']) is not False
|
||||
|
||||
class IfcBlobTexture_RasterCodeByteStream:
|
||||
SCOPE = 'entity'
|
||||
@@ -7685,7 +7685,7 @@ class IfcDraughtingPreDefinedColour_PreDefinedColourNames:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (getattr(self, 'Name', INDETERMINATE) in ['black', 'red', 'green', 'blue', 'yellow', 'magenta', 'cyan', 'white', 'bylayer']) is not False
|
||||
assert (getattr(getattr(self, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['black', 'red', 'green', 'blue', 'yellow', 'magenta', 'cyan', 'white', 'bylayer']) is not False
|
||||
|
||||
class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames:
|
||||
SCOPE = 'entity'
|
||||
@@ -7694,7 +7694,7 @@ class IfcDraughtingPreDefinedCurveFont_PreDefinedCurveFontNames:
|
||||
|
||||
@staticmethod
|
||||
def __call__(self):
|
||||
assert (getattr(self, 'Name', INDETERMINATE) in ['continuous', 'chain', 'chaindoubledash', 'dashed', 'dotted', 'bylayer']) is not False
|
||||
assert (getattr(getattr(self, 'Name', INDETERMINATE), 'lower', INDETERMINATE)() in ['continuous', 'chain', 'chaindoubledash', 'dashed', 'dotted', 'bylayer']) is not False
|
||||
|
||||
class IfcDuctFitting_CorrectPredefinedType:
|
||||
SCOPE = 'entity'
|
||||
|
||||
Reference in New Issue
Block a user