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

# fz_objt_edit_copy_objt_data_to_windex

Description

Copies the content of one object (src_obj) from one project (src_windex) to another existing object (dst_obj) in another project (dst_windex). Unlike , this function copies between different projects. It also makes sure that all the referenced attributes are present in the destination windex. 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_to_windex(

fzrt_int | src_windex,
fz_objt_ptr | src_obj,
fzrt_int | dst_windex,
fz_objt_ptr | dst_obj,
fzrt_boolean | unique_name )

Parameters

src_windex [Input]

source project

src_obj [Input]

source object

dst_windex [Input]

destnation project

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

See Also

fz_objt_edit_delete_objt, fz_objt_edit_copy_objt,, , fz_objt_edit_copy_objt_to_windex

Function Set

fz_model_fset

Defined in

fz_objt_api.h