You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the PartOf facet it's possible to state requirements like "All spaces must belong to a zone" using the IfcRelAssignsToGroup relation, and applying the criteria to the IfcSpace.
<specificationname="A Space must have a zone"ifcVersion="IFC2X3 IFC4">
<applicabilitymaxOccurs="unbounded">
<entity>
<name>
<simpleValue>IFCSPACE</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<partOfrelation="IFCRELASSIGNSTOGROUP">
<entity>
<name>
<simpleValue>IFCZONE</simpleValue>
</name>
</entity>
</partOf>
</requirements>
</specification>
But is it possible to express the inverse: "All zones must be assigned to at least one IfcSpace"?
<specificationname="A Zone must have a space"ifcVersion="IFC2X3 IFC4">
<applicabilitymaxOccurs="unbounded">
<entity>
<name>
<simpleValue>IFCZONE</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<partOfrelation="IFCRELASSIGNSTOGROUP">
<entity>
<name>
<simpleValue>IFCSPACE</simpleValue>
</name>
</entity>
</partOf>
</requirements>
</specification>
i.e. should we be able to test from both the RelatingGroup and RelatedObjects side of the relationship? I haven't seen any documentation or tests that indicate that's possible. Ultimately it's a many-many cardinality so feels like we should be able to test from both sides.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using the
PartOffacet it's possible to state requirements like "All spaces must belong to a zone" using the IfcRelAssignsToGroup relation, and applying the criteria to the IfcSpace.But is it possible to express the inverse: "All zones must be assigned to at least one IfcSpace"?
i.e. should we be able to test from both the RelatingGroup and RelatedObjects side of the relationship? I haven't seen any documentation or tests that indicate that's possible. Ultimately it's a many-many cardinality so feels like we should be able to test from both sides.
Beta Was this translation helpful? Give feedback.
All reactions