Go to: Synopsis. Return value. Related. Flags. Python examples.


filter([name=string], [type=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

filter is undoable, queryable, and editable.

Creates or modifies a filter node. Filter nodes are used by applyTake to modify recorded device data before assigning it to the param curves for the attached attributes.

Return value

stringfilter name

In query mode, return type is based on queried flag.


applyTake, defineDataServer, defineVirtualDevice, enableDevice, movIn, movOut, readTake, recordDevice, writeTake


name, type
Long name (short name) Argument types Properties
type(t) string createqueryedit
Filter type to create, One of:
filterEuler Euler angle "demangler"
filterResample Resamples input data at fixed output rate with several filtering options
filterSimplify Combines groups of data points that are almost linear into lines segments
filterClosestSample Resamples input data a fixed output rate using the closest sample point
name(n) string createqueryedit
Name for created filter

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.filter( t='filterEuler', n='houston' )
cmds.filter( 'houston', edit=True, irx=0.0 )
cmds.filter( 'houston', query=True, irx=True )