Notifications
Clear all

[Closed] merging in objects

Hi,

I was wondering if there was an easier way to collect the object that you are merging in.

Because, correct me if i’m wrong, the mergeMaxFile call is a boolean call, and the only way i see to get the object is by placing #select after the merge call, and then using selection[1] to get it.

so example

mergeMaxFile(Obj_SwapRoll.NewObjLoc.text)#prompt #select

Merged_object = $selection as array


This just seems ugly to me…does anyone have any other way of doing this, or is my coding impractical?

2 Replies
 PEN

the method that I use it not much better. I collect all the scene objects before I do the merge, then merge and check to see what objects are now new in the scene. This doesn’t require selecting the objects and might be faster for large scenes.

Hadn’t thought of trying that thanks , but its good to know that i’m not the only one that has this problem…anyone else have any techniques they use?

Very odd that this would be the only way to really do this.