Returns elements that are joining with this curve element at the given end point.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ISet<ElementId> GetAdjoinedCurveElements(
int end
)
Parameters
- end Int32
-
Id of one the curve's end. Value '0' indicates start and '1' indicates the end of the curve, respectively.
Return Value
ISet<ElementId>
Collection of Ids of Curve Elements.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
The given Id does not represent any of the two end-points of a curve element.
A valid value of either '0' or '1' is expected.
|
See Also
Reference