CompoundStructure.GetSegmentEndPoints Method

CompoundStructureGetSegmentEndPoints Method

Gets the end points of a segment.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void GetSegmentEndPoints(
	int segmentId,
	int regionId,
	out UV end1,
	out UV end2
)
Public Sub GetSegmentEndPoints ( 
	segmentId As Integer,
	regionId As Integer,
	<OutAttribute> ByRef end1 As UV,
	<OutAttribute> ByRef end2 As UV
)
public:
void GetSegmentEndPoints(
	int segmentId, 
	int regionId, 
	[OutAttribute] UV^% end1, 
	[OutAttribute] UV^% end2
)
member GetSegmentEndPoints : 
        segmentId : int * 
        regionId : int * 
        end1 : UV byref * 
        end2 : UV byref -> unit 

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