formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Double Hyperboloid
Description
Sets a parameter of a double hyperboloid. Note, that the shape of the double hyperboloid is not changed until the function has been called.
Plugin Prototype
fzrt_error_td fz_objt_edit_hbl2_parm_set(
fzrt_int | windex, |
obj, | |
which, | |
data ) |
Parameters
windex [Input]
project window index
obj [Input]
object
which [Input]
parameter id
data [Input]
parameter data
Returns
Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a double hyperboloid
Availability
5.5.0.0
Plugin Example
double radius;
fz_type_td data;
radius = 10.0;
fz_type_set_double(&data,&radius);
fz_objt_edit_hbl2_parm_set(windex,obj,FZ_OBJT_HBL2_PARM_RADII,&data);
fz_objt_edit_parm_regen(windex,obj);
Script Example
fz_xy_td radius;
radius = {10.0,20.0};
fz_objt_edit_hbl2_parm_set(windex,obj,FZ_OBJT_HBL2_PARM_RADII,radius);
fz_objt_edit_parm_regen(windex,obj);
Example Files
See Also
,,
Function Set
Defined in