Skip to content

Commit

Permalink
reconcile IfcVirtualElement.PredefinedType
Browse files Browse the repository at this point in the history
  • Loading branch information
SergejMuhic committed Jun 4, 2024
1 parent 469d3e3 commit ff37ad5
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcFacilityPartCommon" UniqueId="7cdf39c9-eebf-4575-a208-dfab7b52147c" DiagramNumber="2" BaseDefinition="IfcFacilityPart" EntityFlags="32">
<DiagramRectangle xsi:type="DocRectangle" X="1909,3333740234375" Y="533,3333129882812" Width="400" Height="100" />
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcFacilityPartCommon" UniqueId="7cdf39c9-eebf-4575-a208-dfab7b52147c" BaseDefinition="IfcFacilityPart" EntityFlags="32">
<Attributes>
<DocAttribute Name="PredefinedType" UniqueId="e01c890f-0104-4d79-9760-3a9519663b57" DefinedType="IfcFacilityPartCommonTypeEnum">
<Documentation>Type further identify the object. Some property sets may be specifically applicable to one of these types.</Documentation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
</DocWhereRule>
</WhereRules>
</DocEntity>

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcVehicleType" UniqueId="55a6a8b1-3953-49f5-9338-82944075199a" DiagramNumber="1" BaseDefinition="IfcTransportationDeviceType" EntityFlags="32">
<DiagramRectangle xsi:type="DocRectangle" X="0" Y="0" Width="400" Height="100" />
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcVehicleType" UniqueId="55a6a8b1-3953-49f5-9338-82944075199a" BaseDefinition="IfcTransportationDeviceType" EntityFlags="32">
<Attributes>
<DocAttribute Name="PredefinedType" UniqueId="5aacf44b-c1bc-4cc0-9676-cb3f56f7c276" DefinedType="IfcVehicleTypeEnum">
<Documentation>A list of types to further identify the object. Some property sets may be specifically applicable to one of these types.</Documentation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@
</Localization>
<Attributes>
<DocAttribute Name="PredefinedType" UniqueId="89972bc8-05b7-43af-8ade-b8ac3769243a" DefinedType="IfcVirtualElementTypeEnum">
<Definition>
<DocEnumeration xsi:nil="true" href="IfcVirtualElementTypeEnum" />
</Definition>
<Documentation>A list of types to further identify the object. Some property sets may be specifically applicable to one of these types.

&gt;NOTE If the object has an associated IfcTypeObject with a PredefinedType, then this attribute shall not be used.</Documentation>
</DocAttribute>
</Attributes>
<WhereRules>
<DocWhereRule Name="HasObjectType" UniqueId="c8515ad8-d2a8-4a06-a9cb-da9c1f3be613">
<Documentation>The attribute ObjectType shall be given if the predefined type is set to USERDEFINED.</Documentation>
<Expression>NOT EXISTS(PredefinedType) OR (PredefinedType &lt;&gt; IfcVirtualElementTypeEnum.USERDEFINED) OR EXISTS(SELF\IfcObject.ObjectType);</Expression>
</DocWhereRule>
</WhereRules>
</DocEntity>

Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ The _IfcVirtualElement_ is mainly used to define a virtual boundary between two
{ .change-ifc2x3}
> IFC2x2 CHANGE&nbsp; The entity _IfcVirtualElement_ has been added. Upward compatibility for file based exchange is guaranteed.
> IFC4.3.0.0-CHANGE Virtual elements can now be used for void provisions and clearance to replace existing functionality on _IfcBuildingElementProxy_.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocEnumeration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="IfcVirtualElementTypeEnum" Name="IfcVirtualElementTypeEnum" UniqueId="a28fdf84-8ede-44bd-96ea-b74c66ca5c64" DiagramNumber="1">
<DiagramRectangle xsi:type="DocRectangle" X="0" Y="0" Width="400" Height="100" />
<DocEnumeration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcVirtualElementTypeEnum" UniqueId="a28fdf84-8ede-44bd-96ea-b74c66ca5c64" DiagramNumber="1">
<Constants>
<DocConstant xsi:nil="true" href="BOUNDARY_0D9uazImf8vO$PVKzXao_2" />
<DocConstant xsi:nil="true" href="CLEARANCE_0hS5MhQVv57hIehqvLOgZ9" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
</DocAttribute>
</Attributes>
</DocEntity>

Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
<DocAttribute Name="Position" UniqueId="0d9d870b-f98f-422b-ab82-c52967f6b656" DefinedType="IfcAxis2Placement" />
</Attributes>
</DocEntity>

Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<DocDefinitionRef Name="IfcVolumeMeasure" UniqueId="9ad84159-4e40-4f61-9a45-840475371022" />
<DocDefinitionRef Name="IfcCountMeasure" UniqueId="08783b1b-5cb9-4e98-8a6f-5b6d84a1f571" />
<DocDefinitionRef Name="IfcMassMeasure" UniqueId="67bbb7bb-8da3-4f83-9d15-137f66f85557" />
<DocDefinitionRef id="IfcLabel_3GWHE5sHHEEOZKTwtehwnp" Name="IfcLabel" UniqueId="d0811385-d914-4e39-88d4-77ade8afac73" />
<DocDefinitionRef Name="IfcLabel" UniqueId="d0811385-d914-4e39-88d4-77ade8afac73" />
<DocDefinitionRef Name="IfcText" UniqueId="1fc47fd7-b86f-46d6-b117-b1ba5eadb5cd" />
<DocDefinitionRef Name="IfcNamedUnit" UniqueId="e42f2c18-9cc2-42cc-ae07-79add1d79bc5" />
<DocDefinitionRef Name="IfcSIUnit" UniqueId="d8b1d6af-a920-4bfe-9ae7-dabf6e0d8bb8" />
<DocDefinitionRef Name="IfcUnitEnum" UniqueId="029330bc-73c2-4727-8d84-0f465c528d42" />
<DocDefinitionRef Name="IfcTimeMeasure" UniqueId="c84e694e-553f-4b98-bb7b-3a01f4f700eb" />
<DocDefinitionRef id="IfcNumericMeasure_3OjK5i03jC_usduj4WHzeK" Name="IfcNumericMeasure" UniqueId="d8b5416c-003b-4cfb-8da7-e2d12047da14" />
<DocDefinitionRef Name="IfcNumericMeasure" UniqueId="d8b5416c-003b-4cfb-8da7-e2d12047da14" />
</Definitions>
</DocSchemaRef>
</SchemaRefs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
</DocWhereRule>
</WhereRules>
</DocEntity>

0 comments on commit ff37ad5

Please sign in to comment.