pymel.core.general.itemFilterRender

itemFilterRender(*args, **kwargs)

This command creates a named renderTypeFilter object. This object can be attached to selectionConnection objects, or to editors, in order to filter the renderType lists going through them. Using union and intersection filters, complex composite filters can be created.

Flags:
  • anyTextures : at (bool) [create,query,edit]

    Pass texture objects if set to true. Value is false by default. To get all objects that are not textures then set this flag to true and use the -neg/negateflag to invert the result.

  • category : cat (unicode) [create,query,edit]

    A string for categorizing the filter.

  • classification : cls (unicode) [create,query,edit]

    Internal use only. Indicates whether the filter is a built-in or user filter. The string argument is one of builtIn| user| other.

  • exclusiveLights : exl (bool) [create,query,edit]

    Pass exclusive light objects if set to true. Value is false by default. To get all objects that are not exclusive lights then set this flag to true and use the -neg/negateflag to invert the result.

  • exists : ex (bool) []

  • lightSets : ls (bool) [create,query,edit]

    Pass light set objects if set to true. Value is false by default. To get all objects that are not light sets then set this flag to true and use the -neg/negateflag to invert the result.

  • lights : l (bool) [create,query,edit]

    Pass light objects if set to true. Value is false by default. To get all objects that are not lights then set this flag to true and use the -neg/negateflag to invert the result.

  • linkedLights : ll (bool) [create,query,edit]

    Pass linked light objects if set to true. Value is false by default. To get all objects that are not linked lights then set this flag to true and use the -neg/negateflag to invert the result.

  • listBuiltInFilters : lbf (bool) [query]

    Returns an array of all item filters with classification builtIn.

  • listOtherFilters : lof (bool) [query]

    Returns an array of all item filters with classification other.

  • listUserFilters : luf (bool) [query]

    Returns an array of all item filters with classification user.

  • negate : neg (bool) [create,query,edit]

    This flag can be used to cause the filter to invert itself, and reverse what passes and what fails.

  • nodeClassification : nc (unicode) []

  • nonExclusiveLights : nxl (bool) [create,query,edit]

    Pass non-exclusive light objects if set to true. Value is false by default. To get all objects that are not non- exclusive lights then set this flag to true and use the -neg/negateflag to invert the result.

  • nonIlluminatingLights : nil (bool) [create,query,edit]

    Pass non-illuminating light objects if set to true. Value is false by default. To get all objects that are not non- illuminating lights then set this flag to true and use the -neg/negateflag to invert the result.

  • parent : p (unicode) [create,query,edit]

    Optional. If specified, the filter’s life-span is linked to that of the parent. When the parent goes out of scope, so does the filter. If not specified, the filter will exist until explicitly deleted.

  • postProcess : pp (bool) [create,query,edit]

    Pass post process objects if set to true. Value is false by default. To get all objects that are not post processes then set this flag to true and use the -neg/negateflag to invert the result.

  • renderUtilityNode : run (bool) [create,query,edit]

    Pass render utility node objects if set to true. Value is false by default. To get all objects that are not render utility nodes then set this flag to true and use the -neg/negateflag to invert the result.

  • renderableObjectSets : ros (bool) [create,query,edit]

    Pass renderable object sets if set to true. Value is false by default. To get all objects that are not renderable object sets then set this flag to true and use the -neg/negateflag to invert the result.

  • shaders : s (bool) [create,query,edit]

    Pass shader objects if set to true. Value is false by default. To get all objects that are not shaders then set this flag to true and use the -neg/negateflag to invert the result.

  • text : t (unicode) [create,query,edit]

    Defines an annotation string to be stored with the filter

  • textures2d : t2d (bool) [create,query,edit]

    Pass 2D texture objects if set to true. Value is false by default. To get all objects that are not 2D textures then set this flag to true and use the -neg/negateflag to invert the result.

  • textures3d : t3d (bool) [create,query,edit]

    Pass 3D texture objects if set to true. Value is false by default. To get all objects that are not 3D textures then set this flag to true and use the -neg/negateflag to invert the result.

  • texturesProcedural : tp (bool) [create,query,edit]

    Pass procedural texture objects if set to true. Value is false by default. To get all objects that are not procedural textures then set this flag to true and use the -neg/negateflag to invert the result. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.itemFilterRender

Previous topic

pymel.core.general.itemFilterAttr

Next topic

pymel.core.general.itemFilterType

Core

Core Modules

Other Modules

This Page