formZ SDK | 5.0 API Reference | Project | Utility

fz_proj_msel_layer_set_criteria

Description

Sets whether a selection set uses a particular layer or not as selection criteria. This is equivalent to clicking in the "Layers" list in the "Selection Criteria : Modeling" dialog. If NULL is passed as the layer_tag parameter, all layers are turned on or off.

Plugin Prototype

fzrt_error_td fz_proj_msel_layer_set_criteria(

fzrt_int

windex,

fz_msel_set_ptr

set_ptr,

fz_tag_td *

layer_tag,

fzrt_boolean

select )

Parameters

windex [Input]

project window index

set_ptr [Input]

the selection set for which to set the layer criteria

layer_tag [Input]

the tag of the layer

select [Input]

TRUE for using the given layer, FALSE otherwise

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_proj_fset


Defined in

fz_proj_api.h