formZ SDK | 5.0 API Reference | Project | Modeling | Selection (Pick)
Description
Retrieves pick ownership information for an item in the modeling Pick Buffer. Items in the pick buffer are said to be owned if they are derivatives of a pick, rather than the direct result of a pick. This only occurs when the item is a result of a FZ_MODEL_PICK_GRUP or FZ_MODEL_PICK_HOLE pick. When a group is picked, the group is added to the pick buffer and all of the objects of the group are added as they are derived from the group. When a hole is picked, the curve which defines the hole's boundary is added to the pick buffer and all of the adjacent faces to the hold are derived from the hole.
Plugin Prototype
fzrt_error_td fz_model_pick_get_owner(
fzrt_int | windex, |
fzrt_int | pick_indx, |
fzrt_int * | owner_indx ) |
Parameters
windex [Input]
project window index
pick_indx [Input]
index of item in pick buffer.
Range: pick_indx >= 0
Range: pick_indx < ()
owner_indx [Result]
index of item in pick buffer which owns pick_indx, or -1 if not owned
Range: owner_indx >= -1
Range: owner_indx < ()
Returns
Error codes
Availability
5.0.0.0
Function Set
Defined in