Notifications
Clear all

[Closed] List of objects merged

 lo1

I feel like we’ve gone over this in the past, and the easiest and fastest method was:

before merge:

local oldObjCount = objects.count

after merge:

local newObjs = for i = oldObjCount + 1 to objects.count collect objects[i]

wasn’t this it?

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

it doesn’t work when merged replaces old (#deleteOldDups option).

the option #select doesn’t work in many cases.
merged nodes come with hidden or frozen layers, or come in scene with hide by category state, or come in scene with locked selection.

Perhaps, but I just did a test and the inode handle returned to me in less than a second at 10,000 objects, so that’s good enough for this application. But thanks for the alternate method, I’ll keep it in mind.

  • Neil

Why dont use mergedNodes: <&variable>
or the getLastMergedNodes()

look in mxs reference when it was first added

Page 2 / 2