formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object

# fz_objt_edit_patch_dettach_object

Description

This function produces a result that is the reverse of the Attach and Stitch operations. It completely breaks the stitches, exploiting the object. All the patches in the object become separate objects.

Plugin Prototype

fzrt_error_td fz_objt_edit_patch_dettach_object(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fz_enty_list_ptr | ent_list )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

ent_list [Result]

List of formZ objects created

Returns

MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a patch

Availability

5.0.0.0

Example Files

util_objt_patch_dettach.fsl

See Also

fz_objt_cnstr_patch_opts_init, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_get

Function Set

fz_model_fset

Defined in

fz_objt_ptch_api.h