RVTDocs.com
Namespace: Autodesk.Revit.DB Class: RevitLinkType

RevitLinkType.GetParentId

Method
Description:
Gets the id of this link's immediate parent.
Remarks:
This function returns the immediate parent id. Given the link structure A -> B -> C, then calling this function on C will return B's id. Call GetRootId to get A's id.
Syntax