Get current choice of line style popup dialog control. Choice is an index into list of linestyles available in current document.
PROCEDURE GetLineStyleChoice(
dialogID : LONGINT;
itemID : LONGINT;
VAR lineStyle : INTEGER);def vs.GetLineStyleChoice(dialogID, itemID):
return lineStyle| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | |
| itemID | LONGINT | |
| lineStyle | INTEGER |
Get current choice of line style popup dialog control. Choice is an index into list of linestyles available in current document.
_c_ (2016.02.29): Returns a dash list index (not usable with VS:Index2Name).
GetLineStyleChoice(1, 2, 3);import vs
# Get current choice of line style popup dialog control.
dialogID = 1
itemID = 2
result = vs.GetLineStyleChoice(dialogID, itemID)Availability: from VectorWorks 12.0