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

fz_objt_edit_copy_objt_geom_cntl

Description

Copies the geometry (face, curves, segments, points ...) of one object (src_obj) to another, existing object (dst_obj). It also copies the parametric data of the source object. If the source is not a parametric object but the destination is, the controls of the destination are deleted. Unlike , this function does not copy the attributes of the source object, but retains the object level attributes of the destination object. Non object level attributes of the destination object are lost. If the existing object's geometry is not empty, the geometry is deleted first.

Plugin Prototype

fzrt_error_td fz_objt_edit_copy_objt_geom_cntl(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fz_objt_ptr

dst_obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

dst_obj [Input, Result]

destination object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_genr.fsl

See Also

fz_objt_edit_delete_objt, fz_objt_edit_copy_objt,, fz_objt_edit_copy_objt_to_windex, fz_objt_edit_copy_objt_data_to_windex

Function Set

fz_model_fset


Defined in

fz_objt_api.h