formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Data Model
Description
Begin export of objects. This function iterates over all objects in the project referenced by windex. For each of the objects to be exported, the data model write functions defined in fz_ffmt_data_cbak_fset are called. Which functions are called depends on the object type and the parameters passed into this function.
Plugin Prototype
fzrt_error_td fz_ffmt_data_model_write_all(
fzrt_int | windex, |
ffmt_id, | |
fzrt_int | flags, |
do_tmap, | |
grup_method, | |
fact_method, | |
smod_method, | |
cntl_method, | |
double | angle, |
tform, | |
void * | data, |
triang_type, | |
non_planar_only, | |
strict_planarity, | |
floc ) |
Parameters
windex [Input]
project window index
ffmt_id [Input]
The file format reference id.
flags [Input]
The export options flags. Usually obtained by calling fz_ffmt_data_model_write_opts_parm_get with FZ_FFMT_DATA_MODEL_WRITE_OPTS_PARM_FLAGS as the which parameter.
Bit Flag Type: fz_ffmt_data_model_write_opts_flags_enum
do_tmap [Input]
If TRUE, export texture maps. If FALSE don't export texture maps.
grup_method [Input]
The grouping method.
fact_method [Input]
The Facetted objects export method
smod_method [Input]
The Smooth (ACIS) objects export method.
cntl_method [Input]
The Controlled objects export method.
angle [Input]
The smooth shading angle.
tform [Input]
The transform matrix.
data [Input]
A pointer to translator defined data.
triang_type [Input]
Decomposition option: The type of triangulation.
non_planar_only [Input]
Decomposition option: if TRUE, only the non planar faces are triangulated, otherwise all faces are triangulated.
strict_planarity [Input]
Decomposition option: if TRUE, the triangulation process is more sensitive to smaller disturbances in the planarity of a face.
floc [Input]
The file to write the symbol definitions to.
Returns
FZRT_NOERR on success. An error otherwise.
Availability
5.0.0.0
Function Set
Defined in