Go to: Synopsis. Return value. Keywords. Flags. Python examples.
dbfootprint([allObjects=boolean], [outputFile=string], [type=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
dbfootprint is NOT undoable, queryable, and NOT editable.
This command lets you explore the memory usage of specific parts of the
scene. Query the 'type' flag to see what all of the different types are,
and query a specific type to get a description of what information it will
provide.
All output is in JSON format so that it can easily be processed and formatted
to highlight areas of interest.
string | JSON data representing the memory usage of the requested objects |
string[] | List of types for which footprint measurements can be made (Query with no flags) |
string | Description of what a particular type will measure (Query with a 'type' flag) |
In query mode, return type is based on queried flag.
dbtrace, dbpeek
allObjects, outputFile, type
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.
|
import maya.cmds as cmds
cmds.dbfootprint( query=True )
# Result: ['nodes'] #