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

fz_ffmt_cbak_data_model_write_grup_begin

Description

Begins the writing of a group. This function is called at the beginning of each group to be written. The meaning of the indx parameter depends on the export grouping method. The following define the meaning of indx for each grouping method:
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_NOGROUPING indx will always be 0.
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_BYOBJECT indx is a count of exported objects starting with 0.
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_BYCOLOR indx is the surface style tag for the color group.
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_BYLAYER indx is the layer tag for the layer group.
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_BYGROUPFLAT indx is the group tag for the group.
FZ_FFMT_DATA_MODEL_WRITE_GRUP_METH_BYGROUPHIER indx is the group tag for the group.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_grup_begin(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void *

data,

fz_tag_td *

fz_tag,

char *

name )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

fz_tag [Input]

A group identifier.

name [Input]

The name of the group.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset


Defined in

fz_ffmt_api.h