formZ SDK | 5.0 API Reference | Project | Utility

# fz_proj_msel_set_pick_opts

Description

Sets the pick options of a selection set. The options are : Apply To Ghosted, Apply To Unghosted and Add To Pick / Remove From Pick. They are the same as seen in the Selection Criteria : Modeling dialog.

Plugin Prototype

fzrt_error_td fz_proj_msel_set_pick_opts(

fzrt_int | windex,
fz_msel_set_ptr | set_ptr,
fzrt_boolean | apply_to_unghosted,
fzrt_boolean | apply_to_ghosted,
fzrt_boolean | add_to_pick )

Parameters

windex [Input]

project window index

set_ptr [Input]

the selection set for which to set pick options

apply_to_unghosted [Input]

TRUE if applying the selection criteria to unghosted objects

apply_to_ghosted [Input]

TRUE if applying the selection criteria to ghosted objects

add_to_pick [Input]

TRUE if adding selected objects to the pick buffer, FALSE if removing them from the pick buffer

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_proj_fset

Defined in

fz_proj_api.h