formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Smooth Rounded

# fz_objt_edit_srnd_set_grups

Description

Sets the Smooth Rounding options for a Smooth Rounded object. Clears all existing edge and vertex rounds before assigning these new rounding options. Note, that the shape of the Smooth Rounded object is not changed until the function has been called.

Plugin Prototype

fzrt_error_td fz_objt_edit_srnd_set_grups(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | n_grup,
fz_objt_srnd_opts_ptr * | srnd_opts )

Parameters

windex [Input]

project window index

obj [Input]

Source Object

n_grup [Input]

Number of groups

srnd_opts [Input]

Smooth Rounding options array

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a Smooth Rounded object

Availability

5.0.0.0

Example Files

util_objt_srnd.fsl

See Also

,,,

Function Set

fz_model_fset

Defined in

fz_objt_srnd_api.h