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

# fz_objt_edit_delete_curves

Description

Deletes one or more curves from an object.
The curves must be holes. Outer boundary curves cannot be deleted. The curves are identified by their indices in the curv_indx array. If do_topo is TRUE, the curves are deleted topologically. Otherwise they are deleted geometrically.
Note : This function operates only on facetted objects.
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_curves(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | curv_indx[],
fzrt_int | ncurvs,
fzrt_boolean | do_topo,
fz_enty_list_ptr | ent_list )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

curv_indx[] [Input]

array of curve indices to delete (curves must be holes)

ncurvs [Input]

number of curves in the array

Range: ncurvs >= 1

do_topo [Input]

if TRUE, curves 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