IfcChangeActionEnum

IfcChangeActionEnum

类型定义

IfcChangeActionEnum标识对象在上一个会话期间可能发生的更改类型(例如,添加、修改、删除)。在部分模型交换场景中需要这些信息,以便应用程序或模型服务器了解对象可能受到前一个应用程序的影响。有效的枚举为:

 

考虑应用程序A将创建一个IFC数据集,它希望将其发布给其他人进行修改,并能够随后将这些更改合并回原始模型。在发布之前,它可能希望将IfcChangeActionEnum设置为NOCHANGE,以建立一个基线,以便可以轻松识别其他应用程序更改。应用程序B随后接收该IFC数据集并添加新对象,并将IfcChangeActionEnum设置为ADDED,应用程序B被定义为OwningApplication。然后,应用程序B修改现有对象,并(重新)将LastModifiedDate定义为修改时间,将LastModifyingUser定义为进行更改的IfcPersonAndOrganization,并将LastModifyingApplication设置为应用程序B。当应用程序A接收到该修改的数据集时,它可以确定哪些对象已经被应用程序B添加和修改,并且根据需要合并或拒绝这些更改。因此,其目的是应用程序仅在对对象执行某些操作时修改IfcChangeActionEnum的值,进一步的目的是模型服务器负责在IfcChangeAction Enum准备重新发布时将其清除回NOCHANGE。

 

IFC2.0中的新枚举。

IFC4   枚举器MODIFIDADDED和MODIFDDELEED已删除。

 

Enumeration definition

ConstantDescription
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;

 

 

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

posted @   西北逍遥  阅读(5)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App
· 张高兴的大模型开发实战:(一)使用 Selenium 进行网页爬虫
历史上的今天:
2022-07-28 IfcLanguageId
2021-07-28 Pset_MaterialThermal
2020-07-28 100/9801
2019-07-28 IfcRelDefinesByProperties IfcPropertySetDefinitionSelect IfcPropertySetDefinition IfcPropertySetDefinitionSet
2019-07-28 IfcWallStandardCase
2019-07-28 ifc构件加载到树形控件中
2019-07-28 delete 删除指针
点击右上角即可分享
微信分享提示