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

# fz_layr_get_active

Description

Gets the specified layer as the active layer. This is the layer that all new objects are placed when they are created.

Plugin Prototype

fzrt_error_td fz_layr_get_active(

fzrt_int | windex,
fz_layr_ptr * | layr )

Parameters

windex [Input]

project window index

layr [Result]

active layer

Returns

Error codes

Availability

5.0.0.0

Example Files

util_layers.fsl

Function Set

fz_layr_fset

Defined in

fz_layr_api.h