Hi Bravlin, the slow part might be that when showing a brep object it will need to create a display mesh for it if it has never been displayed before.
Probably just the iteration through sub-objects shouldn't be too slow, an alternative though to doing a loop like that is to use:
obj.getSubObjects().setProperty( 'hidden', false );
That will still do a loop like you're doing in script but the loop will be in internal C++ code.
- Michael
|