Sets or returns the filter for this menu item. The Filter object is always returned, but you can specify either the object or a String representing the filter name.

Softimage uses the filter for validating the menu item against the target or selected objects before it gets displayed. If the filter criteria are not satisfied then the menu item is greyed out. Menus are either greyed out or removed if part of a contextual menu.

C# Syntax

// get accessor
Filter MenuItem.get_Filter();
// set accessor
MenuItem.set_Filter( Object out_ppFilter );