formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Smooth Rounded
Description
Creates a Smooth Rounded object from existing object. A set of Smooth Rounding options can be assigned to a group of edges and/or vertices. Multiple groups of edges and/or vertices can be assigned different sets of Smooth Rounding options through an array of such options. The edges to be rounded for each group are identified by their indices via fz_objt_srnd_opts_ptr. The points to be rounded for each group are identified by their indices via fz_objt_srnd_opts_ptr. The resulting object is a controlled object.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_srnd(
fzrt_int | windex, |
src_obj, | |
fzrt_int | n_grup, |
srnd_opts, | |
refn_opts, | |
obj ) |
Parameters
windex [Input]
project window index
src_obj [Input]
Source Object
n_grup [Input]
Number of groups
srnd_opts [Input]
Smooth rounding options array
refn_opts [Input, Optional]
Display resolution options
See fz_attr_refn_parm_enum for defaults
obj [Result]
New object
Returns
Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a solid or surface object
Availability
5.0.0.0
Example Files
See Also
,,,
Function Set
Defined in