ScriptSpot

Forum topic · General Scripting

How activate state Merge Transforms when i had XrefObject ?

By Amneloris · 2009-08-13

Description

Hello, (I'me french, sorry for my english wrote)

I'm working on a script with importation of Xref.
But When i add a new Xref, the checkbox "Merge Transforms" is always unchecked.

I haven't found the expression to modify it...

And after the importing Xref, the animation ("transforms"), is modify by an other code of my script. I have not access to animation when the checkbox "Merge Transforms" is unchecked, so it don't work

If anyone can help me... Thanks

-- My Code...
NameObjectsXref = getMAXFileObjectNames (getMAXOpenFileName filename: "" dir:"")
XrefElement = xrefs.addNewXRefObject CheminXrefObject nomObjectsXref --modifiers:#merge manipulators:#merge dupMtlNameAction:#autoRename

Comments (2)

Amneloris · 2010-09-08

Up... (1 years later)

Amneloris · 2009-08-19

Anyone can help me ?