formZ SDK | 4.0 Call Back Reference | Command | Tool

fz_tool_cbak_info2

Description

Tool info (Required if fz_tool_cbak_info not defined, else Recommended). The function is called at various times for formZ to get information about the characteristics of the tool. This function is called once by formZ as soon as the tool is registered and initialized with which == FZ_TOOL_INFO_LEVEL and which == FZ_TOOL_INFO_KIND. Returning and error other than TRUE will cause the tool NOT to be registered It establishes the level and kind of the tool. The level distinguishes the context of the tool (, modeling, drafting, window etc.). The kind tells formZ if the tool is an operator or a modifier.

Plugin Prototype

fzrt_boolean fz_tool_cbak_info2(

fzrt_int

windex,

fz_tool_info_enum

which,

fz_type_td *

info_data,

fz_type_td *

value )

Parameters

windex [Input]

project window index

which [Input]

parameter identifier

info_data [Input]

parameter data

value [Result]

parameter data

Returns

TRUE if handled which, else FALSE

Availability

7.0.0.0

See Also

fz_tool_cbak_info,,

Function Set

fz_tool_cbak_fset


Defined in

fz_tool_api.h