Solid Edge Assembly Type Library
AddSegment Method
Specifies the TubeSegment object to be added to the Tube.
Returns a member of the TubeSegmentAdditionStatusConstants constant set to specify whether adding the segment succeeded or failed. If the segment failed, the returned value will also indicate the reason for the failure.
Description
Adds a segment to a Tube path.
Syntax
Visual Basic
Public Sub AddSegment( _
   ByVal TubeSegment As Object, _
   ByRef Status As TubeSegmentAdditionStatusConstants _
) 
Parameters
TubeSegment
Specifies the TubeSegment object to be added to the Tube.
Status
ValueDescription
seTubeSegmentAdditionStatusFailedDisjoint
seTubeSegmentAdditionStatusFailedSplit
seTubeSegmentAdditionStatusFailedUnknownReason
seTubeSegmentAdditionStatusSucceeded
Returns a member of the TubeSegmentAdditionStatusConstants constant set to specify whether adding the segment succeeded or failed. If the segment failed, the returned value will also indicate the reason for the failure.
Remarks
If the segment is at a split point or is disconnected from the rest of the tube, the segment is not added.
See Also

Tube Object  | Tube Members

Send comments on this topic.