VS:ClearGradientSliderSegments

From Vectorworks Developer
Jump to: navigation, search

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


Description

Removes all segments (except for 2) from the gradient slider.

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

PROCEDURE ClearGradientSliderSegments(
dialogID  :LONGINT;
componentID  :LONGINT);
def vs.ClearGradientSliderSegments(dialogID, componentID):
    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.

Example

VectorScript

ClearGradientSliderSegments(dialogID, componentID);

Python

vsClearGradientSliderSegments(dialogID, componentID)

Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox