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

fz_objt_edit_copy_objt_data

Description

Copies the content (data) of one object (src_obj) to another, existing object (dst_obj).If the existing object's content is not empty, the content is deleted first. If unique_name is TRUE an new unique object name is created. Otherwise the name of the source object is copied.

Plugin Prototype

fzrt_error_td fz_objt_edit_copy_objt_data(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fz_objt_ptr

dst_obj,

fzrt_boolean

unique_name )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

dst_obj [Input, Result]

destination object

unique_name [Input]

if TRUE, a new unique object name is created, otherwise the name of the source object is copied

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