Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1011 Bytes

SetLineStyleChoice.md

File metadata and controls

50 lines (39 loc) · 1011 Bytes

SetLineStyleChoice

Description

Set the current choice of the line style popup dialog control to the specified index.

PROCEDURE SetLineStyleChoice(
				dialogID  : LONGINT;
				itemID    : LONGINT;
				lineStyle : INTEGER);
def vs.SetLineStyleChoice(dialogID, itemID, lineStyle):
    return None

Parameters

Name Type Description
dialogID LONGINT
itemID LONGINT
lineStyle INTEGER

Remarks

Set the current choice of the line style popup dialog control to the specified index.

_c_ (2016.02.29): Expects a dash list index (not usable for VS:Index2Name).

Examples

SetLineStyleChoice(1, 2, 3);
import vs

# Set the current choice of the line style popup dialog control to the
# specified index.
dialogID = 1
itemID = 2
lineStyle = 0

vs.SetLineStyleChoice(dialogID, itemID, lineStyle)

Version

Availability: from VectorWorks 12.0

Category