Shortcuts for turning on the filter-mode on curves, edges or faces?
All  1-3  4-6

Previous
Next
 From:  wastzzz
6942.4 
Just to know, is there a 'clearfilters()' function or something? I do not wish them to stack. For now I've been editing those scripts you wrote and adding some false values to the others.
Max.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  wastzzz
6942.6 
Thank you!
M.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-6