2027 Method
Changes 0
M

RevitLinkType.GetParentId

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.
public ElementId GetParentId()
ElementId The id of the immediate parent of this link, or invalidElementId if this link is a top-level link.