VS:SetGradientSliderSelectedMarker

From Vectorworks Developer
Revision as of 10:37, 12 August 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Description

Sets the selected marker for the specified gradient slider.

Note: use the number, 1, to specify a color marker and the number, 2, to specify a midpoint marker.

PROCEDURE SetGradientSliderSelectedMarker(
dialogID  :LONGINT;
componentID  :LONGINT;
segmentIndex  :INTEGER;
markerType  :INTEGER);
def vs.SetGradientSliderSelectedMarker(dialogID, componentID, segmentIndex, markerType):
    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 in which to select marker.
markerType INTEGER Type of marker to select.

Example

VectorScript

SetGradientSliderSelectedMarker(dialogID, componentID, 4, 2);
{ selects midpoint marker in segment with index of 4 }

Python


Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox