formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Rectangle Object
Description
Gets a parameter of a Rectangle.
Plugin Prototype
fzrt_error_td fz_objt_edit_rect_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 Rectangle
Availability
8.0.2.0
Plugin Example
double width;
fz_type_td data;
fz_objt_edit_rect_parm_get(windex,obj,FZ_OBJT_RECT_PARM_WIDTH,&data);
fz_type_get_double(&width,&data);
Script Example
double radius;
fz_objt_edit_rect_parm_get(windex,obj,FZ_OBJT_RECT_PARM_WIDTH,radius);
See Also
fz_objt_edit_rect_parm_set, fz_objt_cnstr_rect,
Function Set
Defined in