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

fz_objt_edit_delete_segments

Description

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

Note : This function operates on smooth objects only if do_topo is TRUE and the object is either a wire or single face surface.
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_segments(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int

segt_indx[],

fzrt_int

nsegts,

fzrt_boolean

do_topo,

fz_enty_list_ptr

ent_list )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

segt_indx[] [Input]

array of segment indices to delete

nsegts [Input]

number of segments in the array

Range: nsegts >= 1

do_topo [Input]

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

ent_list [Result, 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