formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Data Model

# fz_ffmt_data_model_get_next_grup_name

Description

Creates a unique group name. The name is generated using the export grouping options and a seed value. The seed value is a number which is incremented for each named group. This function uses and increments the seed value initialized by fz_ffmt_data_model_get_first_grup_name.

Plugin Prototype

fzrt_int fz_ffmt_data_model_get_next_grup_name(

fzrt_int | windex,
fzrt_int | prev,
short | opt_grouping,
fzrt_int | opt_flags,
char * | group_name,
fzrt_int * | group_flags,
fzrt_int * | seed,
fz_tag_td * | tag )

Parameters

windex [Input]

project window index

prev [Input]

The seed value returned from a previous call to either fz_ffmt_data_model_get_next_grup_name or fz_ffmt_data_model_get_first_grup_name

opt_grouping [Input]

The export grouping method

opt_flags [Result]

bit flags

group_name [Result]

A unique name for the group

group_flags [Result]

Group bit flags

seed [Result]

Ta value to pass to subsequent calls to fz_ffmt_data_model_get_next_grup_name

tag [Result]

The tag of the group, layer, color, or object.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_data_model_fset

Defined in

fz_ffmt_api.h