I would like to query the GPU cache under ‘Show>GPU cache’, right above the viewport
I use this script:
import maya.cmds as cmds
print cmds.modelEditor(‘modelPanel4’, query = True, pluginObjects = True)
but it return only ‘None’
I would like to query the GPU cache under ‘Show>GPU cache’, right above the viewport
I use this script:
import maya.cmds as cmds
print cmds.modelEditor(‘modelPanel4’, query = True, pluginObjects = True)
but it return only ‘None’
I see two issues:
2)the pluginObjects flag takes two arguments: [string, bool]
so the end result would be something like:
pm.modelEditor(‘modelPanel5’, edit=True, pluginObjects=[‘’, True])
the docs suggest the return value should be the string name of the editor.
This topic was automatically closed after 90 days. New replies are no longer allowed.