Skip to content

Commit

Permalink
Merge pull request #752 from bSI-InfraRoom/fix/wrongPlaceOfParenthesis
Browse files Browse the repository at this point in the history
wrong place of parenthesis in IfcVoxelData.SameRepresentation
  • Loading branch information
SergejMuhic authored Feb 16, 2024
2 parents 42109c1 + 0e042d6 commit 647b979
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,23 @@
<Documentation>_IfcVoxelData_ shall have exactly one assignment relationship of type _IfcRelAssignsToProduct_ to a product.</Documentation>
<Expression>EXISTS(SELF\IfcObjectDefinition.HasAssignments)
AND
SIZEOF(SELF\IfcObjectDefinition.HasAssignments) = 1
(SIZEOF(SELF\IfcObjectDefinition.HasAssignments) = 1)
AND
&apos;IFCKERNEL.IFCRELASSIGNSTOPRODUCT&apos; IN TYPEOF(SELF\IfcObjectDefinition.HasAssignments[1])</Expression>
(&apos;IFCKERNEL.IFCRELASSIGNSTOPRODUCT&apos; IN TYPEOF(SELF\IfcObjectDefinition.HasAssignments[1]))</Expression>
</DocWhereRule>
<DocWhereRule Name="VoxelGridRepresentation" UniqueId="75daf693-a914-48d9-9f98-0675cad82c89">
<Documentation>_IfcVoxelData_ shall have a product definition shape and there shall be exactly one _IfcShapeRepresentation_ in _IfcProductDefinitionShape_._Representations_ that has exactly one geometric item _IfcVoxelGrid_.</Documentation>
<Expression>EXISTS(SELF\IfcProduct.Representation)
AND
SIZEOF(QUERY(ShapeRep &lt;* SELF\IfcProduct.Representation.Representations |
SIZEOF(ShapeRep.Items) = 1
(SIZEOF(QUERY(ShapeRep &lt;* SELF\IfcProduct.Representation.Representations |
(SIZEOF(ShapeRep.Items) = 1)
AND
&apos;IFCGEOMETRICMODELRESOURCE.IFCVOXELGRID&apos; IN TYPEOF(ShapeRep.Items[1]))) = 1</Expression>
(&apos;IFCGEOMETRICMODELRESOURCE.IFCVOXELGRID&apos; IN TYPEOF(ShapeRep.Items[1])))) = 1)</Expression>
</DocWhereRule>
<DocWhereRule Name="SameRepresentation" UniqueId="02d00e6c-4372-463f-aef6-49b483f51e21">
<Documentation>The assigned _IfcProduct_ shall have the same shape representation.</Documentation>
<Expression>SIZEOF(QUERY(ShapeRep &lt;* SELF\IfcObjectDefinition.HasAssignments[1]\IfcRelAssignsToProduct.RelatingProduct\IfcProduct.Representation.Representations) |
ShapeRep = SELF\IfcProduct.Representation.Representations[1]) = 1</Expression>
<Expression>SIZEOF(QUERY(ShapeRep &lt;* SELF\IfcObjectDefinition.HasAssignments[1]\IfcRelAssignsToProduct.RelatingProduct\IfcProduct.Representation.Representations |
ShapeRep = SELF\IfcProduct.Representation.Representations[1])) = 1</Expression>
</DocWhereRule>
</WhereRules>
</DocEntity>

0 comments on commit 647b979

Please sign in to comment.