alunbjorksten
07-22-2003, 01:38 AM
I'm trying to write a script that loads up multiple object files into Modeler simultaneously, then copies and pastes layers of those in different combinations.
I am having real trouble setting the active object file! When I try to do something like this:
@script modeler
load(D:\modelfile1.lwo);
object_handle1 = Mesh(0);
load(D:\modelfile2.lwo);
object_handle2 = Mesh(0);
object_handle1.select();
copy();
object_handle2.select();
paste();
I get no joy on the use of "select()" method in Modeler. Works OK in Layout, but not modeler. Anyone know what I can do to select the active object in a Modeler script?
ANY help would be very much appreciated.
Cheers,
Al.
I am having real trouble setting the active object file! When I try to do something like this:
@script modeler
load(D:\modelfile1.lwo);
object_handle1 = Mesh(0);
load(D:\modelfile2.lwo);
object_handle2 = Mesh(0);
object_handle1.select();
copy();
object_handle2.select();
paste();
I get no joy on the use of "select()" method in Modeler. Works OK in Layout, but not modeler. Anyone know what I can do to select the active object in a Modeler script?
ANY help would be very much appreciated.
Cheers,
Al.