formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Sphere
Description
Gets a parameter of a sphere.
Plugin Prototype
fzrt_error_td fz_objt_edit_sphr_parm_get(
fzrt_int | windex, |
obj, | |
which, | |
data ) |
Parameters
windex [Input]
project window index
obj [Input]
object
which [Input]
parameter id
data [Result]
parameter data
Returns
Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a sphere
Availability
5.0.0.0
Plugin Example
fz_xyz_td radii;
fz_type_td data;
fz_objt_edit_sphr_parm_get(windex,obj,FZ_OBJT_SPHR_PARM_RADII,&data);
fz_type_get_xyz(&radii,&data);
Script Example
fz_xyz_td radii;
fz_objt_edit_sphr_parm_get(windex,obj,FZ_OBJT_SPHR_PARM_RADII,radii);
Example Files
See Also
,,
Function Set
Defined in