RVTDocs.com

BoundarySegment.ElementId

Property
Description:
Retrieve the id of the element that produces this boundary segment. If the segment is created from an element in a link, this is the id of the RevitLinkInstance.
Syntax
public ElementId ElementId { get; }