formZ SDK | 5.0 API Reference | Project | Utility

# fz_proj_msel_cntl_type_set_criteria

Description

Sets whether a selection set uses a particular control object type or not as selection criteria. This is equivalent to clicking in the "Object Types" list in the "Selection Criteria : Modeling" dialog. If NULL is passed as the cntl_type_uuid parameter, all object control types are turned on or off.

Plugin Prototype

fzrt_error_td fz_proj_msel_cntl_type_set_criteria(

fzrt_int | windex,
fz_msel_set_ptr | set_ptr,
fzrt_UUID_td | cntl_type_uuid,
fzrt_boolean | select )

Parameters

windex [Input]

project window index

set_ptr [Input]

the selection set for which to set the object type criteria

cntl_type_uuid [Input]

the object type identifier

select [Input]

TRUE for using the given object type, FALSE otherwise

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_proj_fset

Defined in

fz_proj_api.h