List resources matching certain properties.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
nameFilter (nf) | unicode | ||
|
|||
saveAs (s) | unicode, unicode | ||
Saves a copy of the resource (first parameter) as a separate file (second parameter). Flag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.resourceManager
Example:
import pymel.core as pm
# List all resources starting with an "a"
pm.resourceManager(nameFilter="a*")
# Result: [u'absolute.png', u'activeDeselectedAnimLayer.png', u'activeSelectedAnimLayer.png', u'addProxy.png', u'addTimeWarp.png', u'ai.png', u'aimConstraint.png', u'align.png', u'alignCurve.png', u'alignDist.png', u'alignMax.png', u'alignMid.png', u'alignMin.png', u'alignObjects.png', u'alignOnDist.png', u'alignOnMax.png', u'alignOnMid.png', u'alignOnMin.png', u'alignOnStack.png', u'alignStack.png', u'alignSurface.png', u'alignTool.png', u'alignUMax.png', u'alignUMin.png', u'alignVMax.png', u'alignVMin.png', u'angleDim.png', u'animateSnapshot.png', u'animateSweep.png', u'animPrefsWndIcon.png', u'animTurntable.png', u'annotation.png', u'appendCache.png', u'arcLengthDim.png', u'aselect.png', u'attachCurves.png', u'attachWithoutMoving.png', u'attributes.png', u'autoKeyframeOff.png', u'autoKeyframeOn.png', u'autoload.png', u'azimuthElevation.png'] #