Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.06 KB

File metadata and controls

50 lines (40 loc) · 1.06 KB

SetObjectVariableLongInt

Description

Sets the value of a VectorWorks object property. Used with properties requiring a LONGINT value.

For specific object selector index values, see the Script Appendix.

PROCEDURE SetObjectVariableLongInt(
				h     : HANDLE;
				index : INTEGER;
				value : LONGINT);
def vs.SetObjectVariableLongInt(h, index, value):
    return None

Parameters

Name Type Description
h HANDLE Handle to object.
index INTEGER Object property index.
value LONGINT New value for property.

Examples

VectorScript

SetPref(17,FALSE);

Python

pioParentVPHand := GetVPGroupParent( GetParent( pioHand ) );
{ Set RW Background }
SetObjectVariableLongint( pioParentVPHand, 1006, Name2Index( GetName( pioRWBackRsrcHand ) ) );
vs.SetObjectVariableLongInt(h, 1, value)

Version

Availability: from VectorWorks9.0

Category