ScriptSpot

Forum topic · General Scripting

Multiple scenes merge with additional move and rotation

By amelia · 2014-09-24

Description

I have several scenes (board with electronic objects) saved as .max.

To build an assembly I need:
1- load the the board file .max;
2- apply rotate to the board;
3- apply move to the board;

Normally the assembly contains 2 or 3 boards.

What must I do after loadMaxFile/mergeMaxFile ?

Thnks.

amelia

Comments (2)

.

miauu · 2014-09-24


mergeMAXFile <filename_string> <name_array> #select 
-- get only merged objects
mergedObjsArr = selection as array
-- now move and rotate the objects

amelia · 2014-09-25

Thanks.

amelia