AECgeeks / infra-repo-issue-test-3

0 stars 0 forks source link

bSI 545 IfcTendonConduit PredefinedType optional #4

Open aothms opened 1 year ago

aothms commented 1 year ago

bSI-545 IfcTendonConduit.PredefinedType optional

aothms commented 1 year ago
--- tmp/a/IFC.exp   2023-06-19 20:49:01.863552300 +0200
+++ tmp/b/IFC.exp   2023-06-21 13:28:55.225174900 +0200
@@ -11521,23 +11521,24 @@
 ENTITY IfcTendonAnchorType
  SUBTYPE OF (IfcReinforcingElementType);
    PredefinedType : IfcTendonAnchorTypeEnum;
  WHERE
    CorrectPredefinedType : (PredefinedType <> IfcTendonAnchorTypeEnum.USERDEFINED) OR
  ((PredefinedType = IfcTendonAnchorTypeEnum.USERDEFINED) AND EXISTS (SELF\IfcElementType.ElementType));
 END_ENTITY;

 ENTITY IfcTendonConduit
  SUBTYPE OF (IfcReinforcingElement);
-   PredefinedType : IfcTendonConduitTypeEnum;
+   PredefinedType : OPTIONAL IfcTendonConduitTypeEnum;
  WHERE
-   CorrectPredefinedType : (PredefinedType <> IfcTendonConduitTypeEnum.USERDEFINED) OR
+   CorrectPredefinedType : NOT(EXISTS(PredefinedType)) OR
+ (PredefinedType <> IfcTendonConduitTypeEnum.USERDEFINED) OR
  ((PredefinedType = IfcTendonConduitTypeEnum.USERDEFINED) AND EXISTS (SELF\IfcObject.ObjectType));
    CorrectTypeAssigned : (SIZEOF(IsTypedBy) = 0) OR
   ('IFC4X3_DEV.IFCTENDONCONDUITTYPE' IN TYPEOF(SELF\IfcObject.IsTypedBy[1].RelatingType));
 END_ENTITY;

 ENTITY IfcTendonConduitType
  SUBTYPE OF (IfcReinforcingElementType);
    PredefinedType : IfcTendonConduitTypeEnum;
  WHERE
    CorrectPredefinedType : (PredefinedType <> IfcTendonConduitTypeEnum.USERDEFINED) OR