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

Synopsis

particleRenderInfo([attrList=int], [attrListAll=boolean], [name=int], [renderTypeCount=boolean])

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

particleRenderInfo is undoable, queryable, and NOT editable.

This action provides information access to the particle render subclasses. These are derived from TdynRenderBase. This action is used primarily by the Attribute Editor to gather information about attributes used for rendering.

Return value

None

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

Flags

attrList, attrListAll, name, renderTypeCount
Long name (short name) Argument types Properties
attrList(al) int query
Return the list of attributes used by this render type.
attrListAll(ala) boolean query
Return a complete list of all render attributes used by the particle object. This also includes the per particle attributes.
name(n) int query
Return the name of the render subclass using the render type.
renderTypeCount(rtc) boolean query
Return the count of registered render classes for particle.

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

#Return the list of all render attributes
cmds.particleRenderInfo(query=True, ala=True)