formZ SDK | 5.0 API Reference | Project | Modeling | Layer Manager

# fz_layr_opts_parm_enum

Description

Layer setup parameters. Used for the "which" argument of and fz_layr_set_opts_parm_data.

enum fz_layr_opts_parm_enum {

FZ_LAYR_OPTS_DRAW_IN_ORDER,

FZ_LAYR_OPTS_DRAW_ACTIVE_LAST,

FZ_LAYR_OPTS_PASTE_ON_ACTIVE,

FZ_LAYR_OPTS_SHOW_COLOR,

FZ_LAYR_OPTS_HIGHLIGHT_PICKED,

FZ_LAYR_OPTS_LAYER_NAME,

FZ_LAYR_OPTS_GROUP_NAME };

Members

FZ_LAYR_OPTS_DRAW_IN_ORDER

Indicates if the layers should be drawn in the order shown in the layer list.

Type: fzrt_boolean

Default Value: FALSE

FZ_LAYR_OPTS_DRAW_ACTIVE_LAST

Indicates if the active layer should be drawn last.

Type: fzrt_boolean

Default Value: FALSE

FZ_LAYR_OPTS_PASTE_ON_ACTIVE

Indicates how entities being pasted in the project act. If set, the entity will be placed in the active layer. Otherwise the entity will be placed in a layer with the same name as the entity; a new layer with the same name as the entity will be created if a layer with that name doesn't already exist.

Type: fzrt_boolean

Default Value: FALSE

FZ_LAYR_OPTS_SHOW_COLOR

Indicates if the names of the layers will be drawn in the color that was assigned to them in the layers palette. If not set, the names are all drawn the same.

Type: fzrt_boolean

Default Value: FALSE

FZ_LAYR_OPTS_HIGHLIGHT_PICKED

When set, the layer name in the layers palette will be highlighted whenever an item in that layer is picked.

Type: fzrt_boolean

Default Value: FALSE

FZ_LAYR_OPTS_LAYER_NAME

The default layer name (32 characters max).

Type: char*

FZ_LAYR_OPTS_GROUP_NAME

The default group name (32 characters max).

Type: char*

Availability

5.0.0.0

See Also

, fz_layr_set_opts_parm_data

Defined in

fz_layr_api.h