formZ SDK | 5.0 API Reference | System | User Interface (FUIM)

fz_fuim_objt_parm_result_regen

Description

Sets up the automatic procedures, which regenerate a parametric object when it is in the results buffer and the user changes an option in the Tool Options palette. Should be called in the fz_tool_cbak_opts_iface_tmpl function for a tool which creates a parametric object. See frame tool for an example.

Plugin Prototype

fzrt_error_td fz_fuim_objt_parm_result_regen(

fz_fuim_tmpl_ptr

fuim_tmpl,

short

parent,

fzrt_UUID_td

parm_uuid,

fz_fuim_item_func

parm_copy_func,

fz_objt_ptr *

res_obj,

short *

gindx_out )

Parameters

fuim_tmpl [Input]

fuim manager

parent [Input]

the parent group

parm_uuid [Input]

The uuid for the parametric type

parm_copy_func [Input]

a fuim item callback function, which ios responsible for copying the global tool options parameters displayed in the Tool Options palette into the parameters of the object(s) in the result buffer. See frame tool for an example.

res_obj [Result, Optional]

the object in the result buffer. (first object if more than one are in the result buffer

gindx_out [Result, Optional]

the fuim item which must be used as the parent for all fuim items the tool wants to display in the tool options palette and which trigger the object regeneration.

Availability

7.0.0.0

Function Set

fz_fuim_fset


Defined in

fz_fuim_api.h