formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Topology

# fz_objt_reset

Description

Resets the topology and object geometry (i.e. all faces, curves segments and points) to be empty.
In particular it :
Resets the facetted topology. Arrays stay allocated, but counters are reset
Resets the smooth topology, if it exists. Arrays stay allocated, but counters are reset
Removes the smooth data (ACIS body), if it exists
Removes all face, curve, segment, point attributes, but leaves object attributes
Removes object control data

Plugin Prototype

fzrt_error_td fz_objt_reset(

fzrt_int | windex,
fz_objt_ptr | obj )

Parameters

windex [Input]

project window index

obj [Input]

object

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_model_fset

Defined in

fz_objt_otop_api.h