Share

CompoundStructure.GetSegmentEndPoints Method

Gets the end points of a segment.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public void GetSegmentEndPoints(
	int segmentId,
	int regionId,
	out UV end1,
	out UV end2
)

Parameters

segmentId  Int32
The segment id.
regionId  Int32
The region id.
end1  UV%
One end point.
end2  UV%
The other end point.

Exceptions

ExceptionCondition
ArgumentException The segment id is invalid.
InvalidOperationException This operation is valid only for vertically compound structures.

See Also

Reference

Was this information helpful?