Notifications
Clear all

[Closed] merging issue

Hi guys,

suppose we have the following: a master max file with two layers – the default and one more, the default layer is hidden. And we have a second file with one object in the default layer. When from the master file I call :

mergeMAXFile ‘filename_string’ #select

i get nothing selected, because the object was merged in the hidden default layer. Is there a workaround to select the merged object ?

thanks

2 Replies

one way is:

  1. before merging do this:
    sceneObjects = objects as array

2)after do this:
select sceneObjects
max select invert

or2)[b]
select (for i in objects where (findItem sceneObjects i == 0) collect i)

[/b]

thanks, will try that