formZ SDK | 4.0 Call Back Reference | Command | Tool

# fz_tool_info_enum

Description

enum fz_tool_info_enum {

FZ_TOOL_INFO_LEVEL,

FZ_TOOL_INFO_KIND,

FZ_TOOL_INFO_DRAW_STATE,

FZ_TOOL_INFO_PICK_STATE,

FZ_TOOL_INFO_CEDT_CONTSTRAIN,

FZ_TOOL_INFO_CEDT_FREE,

FZ_TOOL_INFO_PICK_NO_CLEAR,

FZ_TOOL_INFO_CAN_UNDO,

FZ_TOOL_INFO_LINKED_ACTION,

FZ_TOOL_INFO_NO_SNAP,

FZ_TOOL_INFO_YES_SNAP,

FZ_TOOL_INFO_XTRA_CLICK,

FZ_TOOL_INFO_PICK_ONLY,

FZ_TOOL_INFO_PICK_GHOST_ONLY,

FZ_TOOL_INFO_NO_ABORT,

FZ_TOOL_INFO_LIVE_ON_SELECT,

FZ_TOOL_INFO_NO_PRE_PICK,

FZ_TOOL_INFO_NO_OBJCNTL_FROM_RESBUF,

FZ_TOOL_INFO_ALLOW_REF_OBJECTS,

FZ_TOOL_INFO_STATIC_TRACK,

FZ_TOOL_INFO_CEDT_NO_OPER_START,

FZ_TOOL_INFO_PICK_DYNAMIC,

FZ_TOOL_INFO_CLICK_NO_PICK,

FZ_TOOL_INFO_ALLOW_REF_GROUPS,

FZ_TOOL_INFO_LAYOUT };

Members

FZ_TOOL_INFO_LEVEL

The tool level

FZ_TOOL_INFO_KIND

The tool kind

FZ_TOOL_INFO_DRAW_STATE

0 for no drawing else fz_tool_info_draw_bits_enum

FZ_TOOL_INFO_PICK_STATE

0 for no picking else fzrt_int value for number of sets that can be picked

FZ_TOOL_INFO_CEDT_CONTSTRAIN

The tool can handle constrained controls

FZ_TOOL_INFO_CEDT_FREE

The tool can handle free controls

FZ_TOOL_INFO_PICK_NO_CLEAR

The tool should not celar the pick buffer after operation (TRUE/FALSE)

FZ_TOOL_INFO_CAN_UNDO

The tool can process an undo command

FZ_TOOL_INFO_LINKED_ACTION

The tool should not cancel when the action specified by info_data is executed

FZ_TOOL_INFO_NO_SNAP

The snapping should not be performed, if otherwise it would

FZ_TOOL_INFO_YES_SNAP

The snapping should be performed, if otherwise it would not

FZ_TOOL_INFO_XTRA_CLICK

The tool requires an extra click after picking (ie base point)

FZ_TOOL_INFO_PICK_ONLY

The tool only picks (ie no mi or max, works with pick reuls and results)

FZ_TOOL_INFO_PICK_GHOST_ONLY

The tool only picks ghosted objects

FZ_TOOL_INFO_NO_ABORT

The tool does not require cancel of current tool

FZ_TOOL_INFO_LIVE_ON_SELECT

The tool is live when selected (ie click not nessessary

FZ_TOOL_INFO_NO_PRE_PICK

The tool does not support pre picking. Thus, when the tool is activated the pick buffer is cleared.

FZ_TOOL_INFO_NO_OBJCNTL_FROM_RESBUF

The tool does not want object controls displayed for objects which are in the result buffer.

FZ_TOOL_INFO_ALLOW_REF_OBJECTS

If the tool handles returns TRUE, it handles reference obejcts. If this action is not implemented, or the tool answers FALSE, reference objects are not pickable by this tool

FZ_TOOL_INFO_STATIC_TRACK

Tool is currently staticly tracking

FZ_TOOL_INFO_CEDT_NO_OPER_START

Tool does not want oper_start to be called, when a cedt item is clicked and tracking of the cedt item is starting. It is assumed that the cedt item code handles init of the operation (itself)

FZ_TOOL_INFO_PICK_DYNAMIC

Tool uses dymanic picking where from clcik to clik the min/max may chnage when this is set, the min max is re-checked after the click and if satisified, will execute the tool

FZ_TOOL_INFO_CLICK_NO_PICK

For pick tools, call click function even when min not met and nothing picked. Special uses, use with caution

FZ_TOOL_INFO_ALLOW_REF_GROUPS

For pick tools, allow picking of parts of groups and componete for reference only THE TOOL MAY NOT ACTUALLY CHNAGE THE OBJECT< JUST FOR REFERENCE

FZ_TOOL_INFO_LAYOUT

Tool is compatible with layout (2D) mode (return 1 if layout, 2 if layout only, else defaults to FALSE no layout

Availability

7.0.0.0

Defined in

fz_tool_api.h