formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
Description
Copies an object in place.
If unique_name is TRUE a new unique object name is created.
Otherwise the name of the source object is copied.
If the source object was part of the project's database,
fz_objt_add_objt_to_project needs to be called to properly add
the new object to the database.
Plugin Prototype
fzrt_error_td fz_objt_edit_copy_objt(
fzrt_int | windex, |
src_obj, | |
unique_name, | |
new_obj ) |
Parameters
windex [Input]
project window index
src_obj [Input]
source object
unique_name [Input]
if TRUE, a new unique object name is created, otherwise the name of the source object is copied
new_obj [Result]
new object
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_objt_edit_copy_objt,,, fz_objt_edit_copy_objt_to_windex, fz_objt_edit_copy_objt_data_to_windex
Function Set
Defined in