formZ SDK | 5.0 API Reference | Project | Modeling | Selection (Pick)

# fz_model_pick_get_data

Description

Retrieves pick information for an item in the modeling pick buffer.

Plugin Prototype

fzrt_error_td fz_model_pick_get_data(

fzrt_int | windex,
fzrt_int | pick_indx,
fz_model_pick_enum * | kind,
fz_grup_ptr * | grup,
fz_objt_ptr * | obj,
fzrt_int * | indx )

Parameters

windex [Input]

project window index

pick_indx [Input]

index of item in pick buffer.

Range: pick_indx >= 0

Range: pick_indx < ()

kind [Result, Optional]

kind of entity picked

grup [Result, Optional]

group picked

obj [Result, Optional]

object picked

indx [Result, Optional]

index of object part picked or -1 if none

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_model_fset

Defined in

fz_objt_api.h