formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back
Description
Gets the units conversion scale factor. This function is called to get conversion scale factor to convert from the project's units to the file format's units. If this function is not implemented (set to NULL), a scale factor of 1.0 will be used.
Plugin Prototype
fzrt_error_td fz_ffmt_cbak_data_model_write_units_conv(
fzrt_int | windex, |
ffmt_id, | |
units_type, | |
double * | conv_factor ) |
Parameters
windex [Input]
project window index
ffmt_id [Input]
The file format reference id.
units_type [Input]
The units of the project.
conv_factor [Result]
The units conversion scale factor.
Returns
FZRT_NOERR on success. An error otherwise.
Availability
5.0.0.0
Function Set
Defined in