formZ SDK | 4.0 Call Back Reference | formZ Notification
Description
This function is called for each project window when the unit type (English/Metric) or
unit scale (large/medium/small/miniature) for a project changes. This happens when the
user changes the settings in the Working Units dialog or the function
fz_proj_units_set_parm_data is called to change the settings.
When this notification is received, all project level 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_wind_units(
fzrt_int | windex, |
units, | |
scale ) |
Parameters
windex [Input]
project window index
units [Input]
preferences units to use.
scale [Input]
preferences scale to use.
Returns
Error codes
Availability
5.0.0.0
Function Set
Defined in