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

Synopsis

deformerEvaluator([active=boolean], [allowDownloadRejections=boolean], [allowDownloads=boolean], [asNodeName=boolean], [asText=boolean], [deformerChain=boolean], [deformers=boolean], [dumpInfo=boolean], [dumpOutliner=boolean], [gpuBlockPolicy=string], [isOpenCLValid=boolean], [limitMinimumVerts=boolean], [list=boolean], [members=boolean], [meshes=boolean], [message=boolean], [minimumVerts=int], [nodeInfo=boolean], [nodeStatus=boolean], [omitPassthroughs=boolean], [outlinerHash=boolean], [partition=boolean], [purge=boolean], [reuseMode=[string, string]], [verbose=boolean])

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

deformerEvaluator is NOT undoable, queryable, and NOT editable.

Print debug information about deformer evaluator status. In query mode the debug information is returned as a string[], otherwise the information is displayed in the script editor.

Return value

string[]the debug information when query mode is used.

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

Keywords

OpenCL, debug

Flags

active, allowDownloadRejections, allowDownloads, asNodeName, asText, deformerChain, deformers, dumpInfo, dumpOutliner, gpuBlockPolicy, isOpenCLValid, limitMinimumVerts, list, members, meshes, message, minimumVerts, nodeInfo, nodeStatus, omitPassthroughs, outlinerHash, partition, purge, reuseMode, verbose
Long name (short name) Argument types Properties
active(act) boolean createquery
Modifier to specify that instead of the current selection all active nodes on the GPU should be queried.
allowDownloadRejections(adr) boolean createquery
Specifies whether potentially rejecting parts of the graph that depend on GPU downloads is allowed.
allowDownloads(adl) boolean createquery
Specifies whether downloads from GPU to CPU are allowed.
asNodeName(nm) boolean createquery
Modifier to specify that when a certain node attribute is queried it should return the name of the node instead. This is useful when querying multiple nodes at a time and the results need to be lined up with the node names.
asText(txt) boolean createquery
Modifier to specify that when the node state is queried the state should be returned as text instead of a numeric code
deformerChain(dch) boolean createquery
Query the state of the nodes in the deformation chain of the specified meshes.
deformers(d) boolean createquery
Return a list of all currently registered GPU deformers.
dumpInfo(di) boolean createquery
List information about all supported deformation chains as JSON.
dumpOutliner(dol) boolean createquery
List information about all supported nodes as a python object.
gpuBlockPolicy(gbp) string createquery
Specifies the gpu blocking policy for a node. Currently, we support the following blocking modes: "off" "on" "group" "upstream" "upstreamExcl" "upstreamMesh" "downstream" "downstreamExcl" "groupDownload" Default is "off" which means the node causes no blocking of the GPU.
isOpenCLValid(clv) boolean createquery
Specifies whether OpenCL is valid/initialized.
limitMinimumVerts(lmv) boolean createquery
Specifies whether the limit on the minimum vert count of the geometry is used or not. The system configuration determines a certain minimum size for geometries to be allowed on GPU. When this flag is on this limit is obeyed. When this flag is off this limit is ignored. This is only used for debugging purposes and is not saved to the file or any preferences.
list(ls) boolean createquery
Return a list of nodes that are currently active on the GPU.
members(mbr) boolean createquery
Return the names of the nodes that are in the same cluster as the specified nodes.
meshes(m) boolean createquery
Modifier to specify that only meshes need to be queried.
message(msg) boolean createquery
Return the messages associated with the specified nodes.
minimumVerts(mnv) int createquery
Set the minimum vert count under which the geometry will not be allowed on the GPU (unless in a network with qualifying geometries). This is only used for debugging purposes and is not saved to the file or any preferences.
nodeInfo(ni) boolean createquery
List all the information gathered during partitioning about the selected nodes
nodeStatus(ns) boolean createquery
Return the state of the node on the GPU. When queried it will return a numeric code unless the asText flag is used as well.
omitPassthroughs(opt) boolean createquery
Whether opassthrough nodes like groupParts nodes should be ommitted from the dumped info or not
outlinerHash(olh) boolean createquery
Return the unique hash value for the current outliner state.
partition(prt) boolean createquery
Flag to force a repartition (for debug purposes only)
purge(prg) boolean createquery
Purge the data of any unused gpu nodes
reuseMode(ru) [string, string] createquery
Specifies how the GPU nodes can be reused when repartitioning. A mode has to be specified for each of the three node types (deformer and displayMesh). A mode for a node type is one of the following:
  • Mode "never" means they will never be reused
  • Mode "immediate" means that nodes will remain in memory during repartitioning but the ones that are not in use immediatley after that will be purged
  • Mode "always" means that all nodes will remain in memory during and after repartitioning for later reuse
verbose(v) boolean createquery
Print more verbose information of other flags.

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


# Set the reuse mode for deformers and sinks
cmds.deformerEvaluator(ru=("always", "never"))

# List all registered GPU deformers.
cmds.deformerEvaluator( deformers=True )

# List all nodes that are on the GPU
cmds.deformerEvaluator( ls=True )

# List all meshes that are on the GPU
cmds.deformerEvaluator( ls=True, m=True )

# List information about selected nodes
cmds.deformerEvaluator( )

# List information about selected meshes
cmds.deformerEvaluator( m=True )

# List deformation chain information about selected meshes
cmds.deformerEvaluator( dch=True )

# List all the deformation chains of all meshes that are active on the GPU
cmds.deformerEvaluator( dch=True, act=True )

# List the names of the nodes that are in the same cluster(s) as the specified nodes.
cmds.deformerEvaluator( mbr=True )

# List the messages associated with the selected nodes.
cmds.deformerEvaluator( msg=True )

# Return all active clusters in JSON format.
cmds.deformerEvaluator(query=True, dumpInfo=True, opt=True);