formZ SDK | 4.0 Call Back Reference | formZ Notification
Description
This function is called when the current unit type (English/Metric) or unit scale
(large/medium/small/miniature) changes. This happens when the user changes the settings in
the Working Units dialog, the function fz_proj_units_set_parm_data is called to change
the settings or when the active window is changed to a project with different
Working units settings. When this notification is received, all level
(global) dimensional values should be converted to a reasonable setting for the current settings.
It is recommended that function be used to get proper dimensional
values (units and data scale) from default values for the specified pref_units and pref_scale.
The function sets a double value to the current pref_units and pref_scale
given an English and metric default unit values for a specified scale.
Plugin Prototype
fzrt_error_td fz_notf_cbak_syst_units(
units, | |
scale ) |
Parameters
units [Input]
preferences units to use.
scale [Input]
preferences scale to use.
Returns
Error codes
Availability
5.0.0.0
Function Set
Defined in