Transfer UVW between two Objects

13

Hi,
I would like to transfer UVW Coordinate between two objects.

Before, with 3DsMax 9, I used a script to copy/paste an “UnWrap” Modifier. But it seems not work on 3DsMax 2009.

Script :

--Copy the UNWRAP_UVW modifier of the first object
   uvData = (copy $source.modifiers[1])
   --Paste the modifier on the second object
   addModifier $destination uvData

the result :
Max 9
http://img222.imageshack.us/img222/6800/copyuv9lp7.jpg

Max 2009
http://img5.imageshack.us/img5/3677/copyuv2009aq7.jpg

and the videos manipulations :
http://projets.avmd.peugeot.fr/shared/3D/Dev/transfert_UVW.zip

For me , it’s an strange problem
Any ideas ?

Thanks,
Yann