What is the best and easiest way to put the incoming merged objects into an array?
Without having to do the select properties of the mergeMaxFile?
delete objects
fxFile = @"C:\Users\Crabs User\Documents\3dsMax\scenes\test.max"
--//Merge New Particles system
mObjNames = getmaxfileobjectnames fxFile -- get the object names from the file
great = mergemaxfile fxFile mObjNames #AutoRenameDups #renameMtlDups --#select -- merge in the objects and select them
clearlistener()
print great
By
Comments (1)
Comment policy
This is my approach
--First collect the scene objects inode.handlecurObjsArr = for o in objects collect o.inode.handle
--Then merge some objects
--And eventually filter and collect merged objls
mergeObjArr = for o in objects where (finditem curObjsArr (o.inode.handle) == 0) collect o