formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis

fz_objt_alys_get_clone_transform

Description

If object 1 and object 2 are clones and belong to the same family, the matrix which transforms object 1 into object 2 is returned. An error is returned, if the objects are not clones or don't belong to the same clone family.

Plugin Prototype

fzrt_error_td fz_objt_alys_get_clone_transform(

fzrt_int

windex,

fz_objt_ptr

objt1,

fz_objt_ptr

objt2,

fz_mat4x4_td *

mat )

Parameters

windex [Input]

project window index

objt1 [Input]

clone object 1

objt2 [Input]

clone object 2

mat [Result]

matrix, that transforms object 1 into object 2

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