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

fz_objt_edit_delete_faces

Description

Deletes one or more faces from an object.
The faces are identified by their indices in the face_indx array. If do_topo is TRUE, the faces are deleted topologically. Otherwise they are deleted geometrically.

Note : This function operates on smooth objects only if do_topo is TRUE.

As it is possible that new objects are created, these objects are stored optionally in the entity_list passed in.

Plugin Prototype

fzrt_error_td fz_objt_edit_delete_faces(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int

face_indx[],

fzrt_int

nfaces,

fzrt_boolean

do_topo,

fz_enty_list_ptr

ent_list )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

face_indx[] [Input]

array of face indices to delete

nfaces [Input]

number of faces in the array

Range: nfaces >= 1

do_topo [Input]

if TRUE, faces are deleted topologically, otherwise they are deleted geometrically

ent_list [Input, Optional]

list with new object pointers

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_topo.fsl

See Also

,,,

Function Set

fz_model_fset


Defined in

fz_objt_api.h