Interface definitions - 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)

The following two properties on the InterfaceDefExt interface control if an interface is copied during a merge or when interfaces are copied with a claim. Some properties on the object at the higher configuration may not be applicable to the new object created at the lower configuration during the claim operation. Similarly, other properties applicable to claimed object are not applicable to the original object at the higher configuration once it is merged back. The properties below, set on the interfaces, suppress the interfaces and the properties they expose from being copied when claimed or merged.

Property

Description

SPFClaimInterface

Defines behavior when claiming an interface.

SPFMergeInterface

Defines behavior when merging an interface.

These properties are scoped by the e1ClaimMergeBehaviour enum list, which contains the following values:

Option 1

Ignore

Do not copy the interface

Option 2

Interface

Instantiate interface only, leave properties and relationships behind (for example, SPFWorkflowItem)

Option 3

Interface, Relationships and Properties

Copy the interface and all relations and properties that belong to it. This is the default if nothing is specified

For example, consider the use of the ISPFWorkflowItem interface. When you claim an object that is in a workflow:

  • You do not want to reuse the same workflow, so Option 3 is incorrect.

  • If you want to prevent the claimed object from being related to a workflow at all, then you would choose Option 1.

  • If you want the item to be able to be associated with a workflow, but lose any status information of the original workflow, then you would choose Option 2 (the delivered option).