SDK:Program Variables
.SDK|SDK ..SDK:Types|SDK Types ..SDK:Using the SDK|Using the SDK ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Program variables are constants that are associated with values, used to tune up VectorWorks during run time.
The constants are used with functions:
- ISDK::GetProgramVariable -- retrieving a program variable value.
- ISDK::SetProgramVariable -- setting a program variable value.
Variables List
varParametricEnableStateEventing
Enable state notification for current VectorWorks instance.
varPhotographicScale
double variable that represents the scaling factor in Vectorworks Printer Setup Dialog (Mac: Menu "Page Setup"->Pushbutton "Printer Setup" -> Switch Menu to "Vectorworks").
The value that is actually stored as program variable is not the value in the edit text box but 1/(0.01 * <edit text value>). Sample: If you enter "44", the value of the variable is 1/0.44 = 2.7272727272...