ScriptSpot

Forum topic · Scripts Wanted

Selection filter switcher

By Artie · 2013-08-04

Description

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 (7)

titane357 · 2013-08-05

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 · 2013-08-05

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

Display By Category here.

:)

titane357 · 2013-08-06

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 · 2013-08-06

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

miauu, u rock!

Artie · 2013-08-05

Thx very much, miauu! Works just fine.

.

miauu · 2013-08-05

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.

:)

Attachments

.

miauu · 2013-08-05

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.

Attachments