The dgfiltercommand is used to define Dependency Graph filters that select DG objects based on certain criteria. The command itself can be used to filter objects or it can be attached to a dbtraceobject to selectively filter what output is traced. If objects are specified then apply the filter to those objects and return a boolean indicating whether they passed or not, otherwise return then name of the filter. An invalid filter will pass all objects. For multiple objects the return value is the logical ANDof all object’s return values.
Dynamic library stub function
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
attribute / atr | unicode | ![]() |
|
|
|||
list / l | bool | ![]() |
|
|
|||
logicalAnd / logicalAnd | unicode, unicode | ![]() |
|
|
|||
logicalNot / logicalNot | unicode | ![]() |
|
|
|||
logicalOr / logicalOr | unicode, unicode | ![]() |
|
|
|||
name / n | unicode | ![]() |
|
Use filter named FILTER (or create new filter with that name). If no objects are specified then the name given to the filter will be returned. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
node / nd | unicode | ![]() |
|
|
|||
nodeType / nt | unicode | ![]() |
|
|
|||
plug / p | unicode | ![]() |
|
|
Derived from mel command maya.cmds.dgfilter