formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
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, |
obj, | |
fzrt_int | segt_indx[], |
fzrt_int | nsegts, |
do_topo, | |
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
See Also
,,,
Function Set
Defined in