IFC (IFC4X3_ADD2) under development IfcUniqueQuantityNames Semantic definition

The function gets the set of IfcPhysicalQuantity's.

It iterates through the Name attribute of the IfcPhysicalQuantity's and verifies that no Name appears twice. Formal representation

FUNCTION IfcUniqueQuantityNames
(Properties : SET [1:?] OF IfcPhysicalQuantity)

  Names : SET OF IfcLabel := [];

REPEAT i:=1 TO HIINDEX(Properties);
  Names := Names + Properties[i].Name;
RETURN (SIZEOF(Names) = SIZEOF(Properties));

END_FUNCTION; References

Edit on Github

Is this page difficult to understand? Let us know! Changelog IFC4

  • New resource