formZ SDK | 4.0 Call Back Reference | Command | Tool
Description
Tool pick valid filter (Recommended). For the tool this function is called for each item in the pick buffer or items that could be added via post pick to determine if they are valid for the tool. If this function is not provided, all visible, pickable ettities can be picked by the user.
Plugin Prototype
fzrt_error_td fz_tool_cbak_pick_valid(
fzrt_int | windex, |
fzrt_int | set_id, |
type, | |
item_tag, | |
part_class, | |
fzrt_int | part_id, |
sub_part_class, | |
fzrt_int | sub_part_id, |
valid, | |
nvalid_reason ) |
Parameters
windex [Input]
project window index
set_id [Input]
pick set id
type [Input]
pick canidate type
item_tag [Input]
pick canidate tag
part_class [Input]
pick canidate part type
part_id [Input]
pick canidate part id
sub_part_class [Input]
pick canidate sub part type
sub_part_id [Input]
pick canidate sub part id
valid [Result]
pick canidate is vbalie (TRUE/FALSE)
nvalid_reason [Result]
reason for invalid (if !valid)
Returns
Error codes
Availability
7.0.0.0
See Also
Function Set
Defined in