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

fz_objt_edit_srnd_get_grups

Description

Gets the Smooth Rounding options for a Smooth Rounded object. The number of groups exisiting and their corresponding Smooth Rounding options are returned. Typically this function would be called twice successively, the first time to get the number of groups and the second time to get the array of Smooth Rounding options which is allocated by the user.

Plugin Prototype

fzrt_error_td fz_objt_edit_srnd_get_grups(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fzrt_int *

n_grup,

fz_objt_srnd_opts_ptr *

srnd_opts )

Parameters

windex [Input]

project window index

src_obj [Input]

Source Object

n_grup [Result]

Number of groups

srnd_opts [Result]

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