Get the current choices for the combined line style and line weight dialog control. The line style value is an index and the line weight value is in mils.
PROCEDURE GetLineAttributeData(
dialogID : LONGINT;
itemID : LONGINT;
VAR lineStyle : INTEGER;
VAR lineWeight : INTEGER);def vs.GetLineAttributeData(dialogID, itemID):
return (lineStyle, lineWeight)| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | |
| itemID | LONGINT | |
| lineStyle | INTEGER | |
| lineWeight | INTEGER |
GetLineAttributeData(1, 2, 3, 10);import vs
# Get the current choices for the combined line style and line weight dialog
# control.
dialogID = 1
itemID = 2
lineStyle, lineWeight = vs.GetLineAttributeData(dialogID, itemID)
vs.Message('GetLineAttributeData returned: ' + str((lineStyle, lineWeight)))Availability: from VectorWorks12.0