Shortcuts for turning on the filter-mode on curves, edges or faces?

 From:  Michael Gibson
6942.5 In reply to 6942.4 
Hi Max, yes the script for clearing all filters is: moi.selection.clearSelectionFilters();

The related selection filter functions available to script are:

moi.selection.clearSelectionFilters(); // Clears all selection filter.

moi.selection.anySelectionFilter( category ); // returns true if any selection filter is set in the given category.

moi.selection.isFilterActive( category, item ); // returns true if the selection filter of the given category and specific item is active.

moi.selection.setFilter( category, item, enable ); // Sets a specific filter to active or inactive.

moi.selection.passesSelectionFilter( obj ); // Returns true if the given object passes all active selection filters.


- Michael