formZ SDK | 4.0 Call Back Reference | Command | Tool

# fz_tool_cbak_info

Description

Tool info (Required). This function is called once by formZ as soon as the tool is registered and initialized. 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.
Returning and error other than FZRT_NOERR will cause the tool NOT to be registered
This function is superseeded by fz_tool_cbak_info2

Plugin Prototype

fzrt_error_td fz_tool_cbak_info(

fz_tool_kind_enum * | kind,
fz_proj_level_enum * | level )

Parameters

kind [Result]

to be filled with the tool kind

level [Result]

to be filled with the tool level

Returns

Error codes

Availability

5.0.0.0

See Also

fz_tool_cbak_info2

Function Set

fz_tool_cbak_fset

Defined in

fz_tool_api.h