VS:GetPatternData

From Vectorworks Developer
Jump to: navigation, search

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


Description

Get current choice for pattern popup dialog control, and the displayed foreground and background color indexes.
PROCEDURE GetPatternData(
dialogID  :LONGINT;
itemID  :LONGINT;
VAR patternIndex  :INTEGER;
VAR foreColor  :INTEGER;
VAR backColor  :INTEGER);
def vs.GetPatternData(dialogID, itemID):
    return (patternIndex, foreColor, backColor)

Parameters

dialogID LONGINT
itemID LONGINT
patternIndex INTEGER
foreColor INTEGER
backColor INTEGER

Version

Availability: from VectorWorks12.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox