Selection filter switcher

I need a script that would switch back and forth the Mesh and Spline selection filter by a single hotkey. Any suggestions?
tnx in adv

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

hello miauu There was a

hello miauu
There was a script (from ???), it was very handy :
if you select nothing and run script, it set SetSelectFilter to all.
if you select a spline and run script, it set SetSelectFilter to spline,...
if you select a light and run script, it set SetSelectFilter to light,...
I imagine you inderstand the concept.
but I don't use this script anymore (because I lost it) and because it maked the selection filter unusable...
If you have some time...
Same for diplay :
if you select nothing and run script, it show all.
if you select a spline and run script, it show nothing except splines,...
and so on.
This could be very handy. :-)

miauu's picture

.

Selection filter based on the class of the selected object - here.

Display By Category here.

:)

titane357's picture

hello, happy to see you

hello, happy to see you finish your renovation work, hope it is nice !
Thank you very much, It is very handy tools for every day work.
Works like a charm as always. :-)

miauu's picture

Renovation works is 50% done.

Renovation works is 50% done. :)
The scripts that I wrote takes 5-10 minutes(just to relax). :)

Artie's picture

miauu, u rock!

Thx very much, miauu! Works just fine.

miauu's picture

.

Glad it works as you want.
In this post is attached much cleaner version of the script. I recomend to use it instead of the previous version.

:)

AttachmentSize
miauufiltergeometryshapes.mcr 357 bytes
miauu's picture

.

Download the attached script and install it(drag and drop in max viewports).
Go to Customize - Customize User Interface - "miauu" category and assign a hotkey to the "Filter Geometry-Shapes" script.

AttachmentSize
miauufiltergeometryshapes.mcr 501 bytes

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.