Is it possible to select objects by their ObjectDisplayModes, either in Rhino or via scripting?
Thanks,
Dan
Is it possible to select objects by their ObjectDisplayModes, either in Rhino or via scripting?
Thanks,
Dan
Hi Dan - I imagine it is possible in a script - I’ll take a look. But it will be viewport dependent of course.
@DanBayn - here’s a start - the workflow might be better reversed, to assume you want to select an object - let me know. It’s a bit crusty but it seems to work, I’ll see if I can make it a little simpler.
SelDisplayMode.py (3.4 KB)
To use the Python script use RunPythonScript
, or a macro:
_-RunPythonScript "Full path to py file inside double-quotes"
-Pascal
Hi Pascal,
This could be pretty useful for us as we display our stock blocks for CNC as ghosted objects, but we like to hide those when we save our final project. Being able to select all ghosted objects would make this very easy to do.
Thanks, and have a good weekend,
Dan
Hi Dan,
I wrote one of these awhile back - maybe it’s useful for you…
SelObjsWCustomDisplayMode.py (1.7 KB)
Hi Mitch,
I’ll take a look,
Thanks,
Dan
Hi Pascal,
I’ll take a look at this too.
Thanks,
Dan
This is something I needed so badly…
thanks
Now I need ObjectDisplayMode added to matchproperties.