I’ve put this on the “New”
button on the standard tool bar, on the un-used right mouse button, where it
works very well.
However, when the macro flags hidden objects, and a “unhide” doesn’t
bring them to light, I then run “show”, and I get:
“All hidden objects are on layers that are off or locked. Use the
“Layer” command to turn these layers on.”
I appreciate this verbose feedback, but in a big file to wade through
all this is not really efficient use of time…
What’s needed is a command to simply show all hidden objects in a file,
regardless of if they are locked or on layers that are turned off, perhaps like
Part A: Show all hidden objects (regardless of whether they are on
locked layers), zoom to extents, invert the display of hidden objects vs
unhidden so only the hidden ones are displayed.
Part B: Allow options of what to do next, for example just list them and
their layers, delete all hidden, delete all locked (ie override the lock
command within this command) and so on.
Even just Part A would be helpful…
I’m not aware of any way to explore the hidden objects except to wade
through layers and manually check.
As an aside, while exploring any options, I came across the
“ShowOffLayers” command – running this gives the following error: (Version 6
Source: Microsoft VBScript runtime error
Error: Type mismatch:
Finally, as Mitch suggested, ideally you’d be able to allow this kind of
thing to run automatically whenever a file was opened – perhaps via a entry
similar to the “run every time rhino starts” where the user can place commands
as is appropriate to their workflow…