IfcChangeActionEnum
类型定义
IfcChangeActionEnum标识在上次会话期间对象可能发生的更改类型(例如,添加、修改、删除)。在部分模型交换场景中需要此信息,以便应用程序或模型服务器知道对象可能受到先前应用程序的影响。有效的枚举包括:
考虑应用程序A将创建一个IFC数据集,它希望发布给其他人进行修改,并能够随后将这些更改合并回原始模型。在发布之前,它可能希望将IfcChangeActionEnum设置为NOCHANGE,以建立基线,以便轻松识别其他应用程序更改。然后应用程序B接收此IFC数据集并添加一个新对象,并将IfcChangeActionEnum设置为ADDED,应用程序B定义为OwningApplication。然后,应用程序B修改现有对象,并(重新)将LastModifiedDate定义为修改时间,将LastModifyingUser定义为进行更改的IfcPersonAndOrganization,并将LastModify应用程序设置为应用程序B。当应用程序A收到此修改的数据集时,它可以确定哪些对象已经被应用程序B添加和修改,并根据需要合并或拒绝这些更改。因此,目的是应用程序仅在对对象执行某些操作时修改IfcChangeActionEnum的值,进一步的目的是模型服务器负责在IfcChangeAction Enum准备重新发布时将其清除回NOCHANGE。
IFC2.0中的新枚举。
IFC4 枚举器MODIFIDADED和MODIFDDELETED已删除
Enumeration definition
Constant | Description |
---|---|
NOCHANGE | Object has not been modified. |
MODIFIED | A modification to the object has been made by the user and application defined by the LastModifyingUser and LastModifyingApplication respectively. |
ADDED | The object has been created by the user and application defined by the OwningUser and OwningApplication respectively. |
DELETED | The object has been deleted by the user and application defined by the LastModifyingUser and LastModifyingApplication respectively. |
NOTDEFINED | The change action is not known or has not been defined. |
EXPRESS Specification
TYPE IfcChangeActionEnum = ENUMERATION OF ( NOCHANGE, MODIFIED, ADDED, DELETED, NOTDEFINED); END_TYPE;
####################
标签:NOCHANGE,defined,been,修改,应用程序,IfcChangeActionEnum From: https://www.cnblogs.com/herd/p/16990670.html