Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 957 Bytes

SetLineAttributeData.md

File metadata and controls

47 lines (38 loc) · 957 Bytes

SetLineAttributeData

Description

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

Parameters

Name Type Description
dialogID LONGINT
itemID LONGINT
lineStyle INTEGER
lineWeight INTEGER

Examples

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)

Version

Availability: from VectorWorks12.0

Category