Creating Named Selection is very slow with 1000s of objects

Creating NSs of 1,000s of objects is reasonably fast for the first NS. However, creating additional ones is either agonisingly slow, or might even lock up Rhino.

This test file:

NS_Very_Slow_Bug.3dm
Password: VKW9pr4wH1Y9

has just shy of 17,000 srfs in it, which by our standards is not excessive. The first NS takes about 5 to 10 seconds to create. This is not exactly fast, but it works. When the second NS is created, Rhino effectively gets stuck. I killed it after half an hour of waiting.

Is this something that could be looked into, please? Named Selections (which are great!) should be reasonably fast to create and bring back, even for large-ish models and object counts.

systeminfo.txt (3.0 KB)

Thank you
Axel

I believe I have already fixed this in Rhino WIP. Could you try it out?

Andy

Hi Axel -

I suppose it depends on which objects are selected and the CPU in your machine, but I do see that creating named selections take a long time, also on the current Rhino WIP.
RH-91937 NamedSelections: Performance Issue
Thanks,
-wim

Thanks for looking into this, Wim

A