Changes the selection state of a segment in a <PathSegmentSelect> object. If the segment is selected, it then becomes part of the set of segments that will be selected or deselected as part of the <PathSegmentSelect> object's editing operation. If a segment is deselected, it is no longer part of the <PathSegmentSelect> object's segment set.
int32 SetSegmentSelected( int32 p_nSegmentIndex, int32 p_bSelectState )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nSegmentIndex | The index of the segment to test. |
int32 | p_bSelectState | A flag indicating whether to select or deselect the segment. If this value is zero, the segment will be removed from the selection set, otherwise it will be added to the selection set. |
None published. Please look for an example in the Scenome Scripting Language code base.