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

fz_objt_edit_make_clones

Description

Turns all destination objects (in array dst_objts) into clones of the source object (src_objt). The geometry of the source object is copied to each destination object and transformed by the matrix, which transforms the object axes of the source object into the object axes of the destination object. If the source object is already a member of another clone family, the destination objects are added to that clone family. If the source object is not a clone, a new clone family is created which contains the source object and all the destination objects.

Plugin Prototype

fzrt_error_td fz_objt_edit_make_clones(

fzrt_int

windex,

fz_objt_ptr

src_objt,

fz_objt_ptr *

dst_objts,

fzrt_int

n_dst_objts )

Parameters

windex [Input]

project window index

src_objt [Input]

source object, from which the geometry is copied

dst_objts [Input]

an array of destination objects, to which the geometry is copied

n_dst_objts [Input]

the number of objects in the dst_objts array

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_clones.fsl

Function Set

fz_model_fset


Defined in

fz_objt_api.h