formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

# fz_objt_edit_regen_facets

Description

Regenerates the facetting of a smooth object. If opts is passed as NULL, the facetting parameters are taken from the refinement attribute stored with the object. If opts is not NULL, the facetting parameters of opts are used. Note, that the opts passed in do not permanently replace the facetting attribute of the object; opts is simply used for this function call only. This function is similar to , except that it also works on non controlled objects.

Plugin Prototype

fzrt_error_td fz_objt_edit_regen_facets(

fzrt_int | windex,
fz_objt_ptr | obj,
fz_attr_refn_ptr | opts )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

opts [Input, Optional]

display resolution options

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_topo.fsl

Function Set

fz_model_fset

Defined in

fz_objt_api.h