Linking from one off-page connector to the other in Plant3d P&ID

by Fenton Webb

If you want to obtain an id or reference to an off-page connector that is linked to a given off-page connector using the API then…

For the 2013 Plant3d SDK

Use the DataLinksManager.GetRelatedAcPpObjectIds(), GetRelatedRowIds() using “ConnectorsRelationship” as the relationship name and “Connector1”, “Connector2” as the role names. Relationships of this nature have to be checked using both roles.

For the 2014 Plant3d SDK

Use the OffpageConnectionManager. If has methods such as: IsConnected(), GetConnectedPpId(), GetConnectedRowId().


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading