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

fz_layr_get_prev

Description

Given a layer pointer, get the previous layer pointer in the project. If layr_in is passed as NULL, the last layer in the project is returned.

Plugin Prototype

fzrt_error_td fz_layr_get_prev(

fzrt_int

windex,

fz_layr_ptr

layr_in,

fz_layr_ptr *

layr_prev )

Parameters

windex [Input]

project window index

layr_in [Input]

layer

layr_prev [Result]

previous layer

Returns

Error codes

Availability

5.0.0.0

Example Files

util_layers.fsl

See Also

fz_layr_get_next

Function Set

fz_layr_fset


Defined in

fz_layr_api.h