Sets the value of the specified VectorWorks preference setting. Used with preference settings requiring a LONGINT value.
A table of preference dialog items and their corresponding IDs may be found in the [[VS:Function Reference Appendix#Appendix F - Preference Selectors|Appendix]].
PROCEDURE SetPrefLongInt(
index : INTEGER;
value : LONGINT);def vs.SetPrefLongInt(index, value):
return None| Name | Type | Description |
|---|---|---|
| index | INTEGER | Preference item index. |
| value | LONGINT | New value for preference. |
Sets the value of the specified preference to the value passed. Similar to SetPref() except it works on preferences for long integer values
==== VectorScript ====
SetPrefLongInt(55,128);==== Python ====
Availability: from VectorWorks9.0
- Document Settings