首页 > 其他 > 详细

IfcUniquePropertyName

时间:2021-07-10 22:07:55      阅读:30      评论:0      收藏:0      [点我收藏+]

IfcUniquePropertyName

该函数获取IfcProperty的集合。它遍历IfcProperty的attibute名称,并验证没有名称出现两次。

IFC4中的新功能

 

EXPRESS Specification

FUNCTION IfcUniquePropertyName
(Properties : SET [1:?] OF IfcProperty)
:LOGICAL;

LOCAL
   Names : SET OF IfcIdentifier := [];
END_LOCAL;

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

RETURN (SIZEOF(Names) = SIZEOF(Properties));

 

 

#########################

IfcUniquePropertyName

原文:https://www.cnblogs.com/herd/p/14994544.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!