VS:RemoveGradientSliderSegment

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Removes the specified segment from the gradient slider.

Note: a gradient slider must always have at least 2 segments.

PROCEDURE RemoveGradientSliderSegment(
dialogID  :LONGINT;
componentID  :LONGINT;
segmentIndex  :INTEGER);
def vs.RemoveGradientSliderSegment(dialogID, componentID, segmentIndex):
    return None

Parameters

dialogID LONGINT Index to the dialog layout that contains the gradient slider component.
componentID LONGINT Index to a specific gradient slider component.
segmentIndex INTEGER Index to segment to be removed.

Example

VectorScript

RemoveGradientSliderSegment(dialogID, componentID, 4);

Python


Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox