The representation of the Project Preferences / Calculation Units & Rules tab page.
typedef struct { API_CalcLengthFormat length; API_CalcAreaFormat area; API_CalcVolumeFormat volume; API_CalcAngleFormat angle; bool useDisplayedValues; bool filler_0[15]; } API_CalcUnitPrefs;
Members
- length
- Length preferences.
- area
- Area preferences.
- volume
- Volume preferences.
- angle
- Angle preferences.
- useDisplayedValues
- Represents the “Calculate Totals by” RadioButton.
true
means that Archicad should use the displayed values in calculations. This way the calculations can be verified manually.false
means that Archicad should use the exact values (indouble
precision) in calculations.
Remarks
This structure is used by the APIEnv_GetPreferencesID function to get the settings of the Calculation Units & Rules preferences page.
Requirements
- Version: API 4.1 or later
- Header: APIdefs_Environment.h