AddComponents3 Problem

Hi all

I am updating an old program which make use of the function assemdoc.Addcomponents

which function properly with thousands of components

Function AddComponents(  ByVal Names As Object,  ByVal Transforms As Object) As Object

when I tried to upgrade to the new addcomponents3 (which accept alseo an array of user coordinate system names )

Function AddComponents3(  ByVal Names As Object,  ByVal Transforms As Object,   ByVal CoordinateSystemNames As Object ) As Object

the Transforms object is ignored and the origin off the components(or the user defined coordinate system)coincides with the assembly origin

the user defined coordinate system howevger is processed properly

anybody tried this function

thanks

Dudi Peer

SolidworksApi macros