Set current choices for the line attribute dialog control. Both the line style index and the line weight in mils can be specified.
PROCEDURE SetLineAttributeData(
dialogID : LONGINT;
itemID : LONGINT;
lineStyle : INTEGER;
lineWeight : INTEGER);def vs.SetLineAttributeData(dialogID, itemID, lineStyle, lineWeight):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | |
| itemID | LONGINT | |
| lineStyle | INTEGER | |
| lineWeight | INTEGER |
SetLineAttributeData(1, 2, 3, 10);import vs
# Set current choices for the line attribute dialog control.
dialogID = 1
itemID = 2
lineStyle = 0
lineWeight = 3
vs.SetLineAttributeData(dialogID, itemID, lineStyle, lineWeight)Availability: from VectorWorks12.0