formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Data Model
Description
Export Units menu item enable flags. These flags are used when a file format contains the units of the data. Typically the units specification within a file will be a limited set of units. These flags are used to tell formZ which of formZ's supported units are supported by the file format. By default, all items of a menu are enabled. These flags only need to be set when the FZ_FFMT_DATA_MODEL_WRITE_IFACE_OPTS_ENABLEUNITS_BIT is set and a subset of formZ's supported units are supported by the file format. These flags are set by calling fz_ffmt_data_model_write_opts_units_menu_set_enable_flags; typically from the translator's callback function. This menu should not be enabled if the translator implements the callback function. If this function is implemented, it is up to the translator to handle its own units selection.
enum fz_ffmt_iface_units_menu_enable_flags_enum {
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEFZPROJ_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEINCHES_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEFFEET_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEMM_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLECM_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEDM_BIT,
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEM_BIT };
Members
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEFZPROJ_BIT
Enable the Inches Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEINCHES_BIT
Enable the Inches Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEFFEET_BIT
Enable the Feet Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEMM_BIT
Enable the Millimeters Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLECM_BIT
Enable the Centimeters Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEDM_BIT
Enable the Decimeters Units menu item.
FZ_FFMT_DATA_MODEL_READ_IFACE_OPTS_ENABLEM_BIT
Enable the Meters Units menu item.
Availability
6.1.0.0
Defined in