formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back

# fz_ffmt_cbak_data_model_write_ctrl

Description

A function to export controlled objects. This function is called when the translator is to export a controlled object (i.e. sphere, cylinder, cone, torus, nurbs, text, etc.). If the files format does not support controlled objects, this function pointer should be set to NULL and no implementation is necessary.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_ctrl(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
void * | data,
fz_objt_ptr | obj,
fzrt_boolean | do_tmap )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

obj [Input]

The object to export.

do_tmap [Input]

If TRUE, export texture, otherwise don't export textures.

Returns

FZRT_NOERR on success.
otherwise an appropriate error.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset

Defined in

fz_ffmt_api.h