VS:SetPrefInt

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Function SetPrefInt sets the value of a numeric VectorWorks preference setting.

A table of preference dialog items and their corresponding IDs may be found in the Appendix.

PROCEDURE SetPrefInt(
index  :INTEGER;
value  :INTEGER);
def vs.SetPrefInt(index, value):
    return None

Parameters

index INTEGER Preference item constant.
value INTEGER New value for preference.

Remarks

Sets the value of the specified preference to the value passed. Similar to SetPref() except it works on preferences for Integer values

Example

VectorScript

SetPrefInt(17,FALSE);

Python


Version

Availability: from VectorWorks8.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox