Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.01 KB

SetDLComponentClass.md

File metadata and controls

52 lines (41 loc) · 1.01 KB

SetDLComponentClass

Description

Sets the class of the component at index in the Double Line Preferences.

FUNCTION SetDLComponentClass(
				index          : INTEGER;
				componentClass : LONGINT): BOOLEAN;
def vs.SetDLComponentClass(index, componentClass):
    return BOOLEAN

Parameters

Name Type Description
index INTEGER The index of the component.
componentClass LONGINT The class of the component.

Remarks

CJG 3-23-07

Examples

resultOK := SetDLComponentClass(1, 2);
import vs

# Sets the class of the component at index in the Double Line Preferences.
index = 1
componentClass = 1

ok = vs.SetDLComponentClass(index, componentClass)
if ok:
    vs.Message('SetDLComponentClass succeeded')
else:
    vs.Message('SetDLComponentClass failed')

See Also

VS Functions: GetDLComponentClass

Version

Availability: from VectorWorks13.0

Category