GetRelationshipStatiInTool Method - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

Description

Each call that is made to GetRelationshipStatiInTool will identify the number of relationships (lNoRels) and the relationship definition (sRelDef) for each of the missing relationships. For each missing relationship, the UID of that relationship, the UID of the object at end 1 and the UID of the object at end 2 will be passed in the zero-based arrays sRelUIDs, sUID1s and sUID2s. The adapter should return the status for each of these missing relationships in the zero-based eObjectStati array.

All missing relationships of the same type (sRelDef) will be passed in one call to the adapter. Therefore, there will be as many calls to this method as there are different relationship definitions that have one or more missing relationships.

Arguments

Name

Data type

Input/output

Description

INoRels

Integer

Number of missing relationships.

sRelDef

String

Relationship definition for the missing relationships.

sRelUIDs()

String

Zero-based array with the UIDs of each of the missing relationships.

sUID1s()

String

Zero-based array with the UIDs of the objects at end 1 for each of the missing relationships.

sUID2s()

String

Zero-based array with the UIDs of the objects at end 2 for each of the missing relationships.

eObjectStati()

ObjectStatusInTool

Zero-based array with the status of each of the missing relationships. Set by the tool adapter.

Comments

If an adapter does not support the IEFAdapterArray interface, then the GetObjectStatusInTool and GetRelationshipStatusInTool methods are called for each missing object and relationship.