Supporting an object change of class definition - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

SmartPlant Foundation changes the class definition of an object by the schema component generating an UpdateClassInstruction during a load. This update class instruction is then included in the tombstone file of a set of publish files and subsequently loaded into SmartPlant Foundation.

The UpdateClassInstruction tells SmartPlant Foundation that the class definition of a previously published object has been changed by an authoring tool to a different class definition, such as when a user changes a piece of equipment in a system to a different but similar type of equipment. SmartPlant Foundation handles this change automatically, by finding the previously published object and merging all valid interfaces and properties from the existing object onto the new object. Any interfaces or properties that are no longer valid are discarded. Simultaneously SmartPlant Foundation removes any existing relationships which rely on the discarded interfaces. The previous object is then replaced by the new version with the new class definition as specified on the UpdateClassInstruction.

For example, in SmartPlant Piping and Instrumentation Diagram, an engineer may need to change a PIDInstrument to a PIDInlineInstrument. This type of change might occur because the engineer needs to alter an element of a design during the design phase of a plant, and the design needs to reflect the change on a drawing even though the drawing might have already been published.

Following a successful publish, the selected object will have had its class definition changed. The user also sees displayed any appropriate interfaces and properties that have been brought forward onto the new object.