-
Notifications
You must be signed in to change notification settings - Fork 9
Maya
hannes edited this page Feb 16, 2023
·
7 revisions
Use the default filenames of the icons, same as shelf icon. e.g. polySphere.png
To view all default icons, you can use Maya Icons 1.1.0 NOT TESTED
import maya.cmds as cmds
print(cmds.resourceManager(nameFilter="polysphere*"))
# ['polySphere.png', 'polySphere.svg', 'polySphereProj.png', 'polySphereProjLarge.png']
Add your icons to the maya env, TODO instructions. Use the name of your icon.
you can pass custom attributes in the kwargs attribute of the config see autodesk maya docs for all attributes
label: my_label
command: print("hi")
kwargs:
allowOptionBoxes: 1
tearOff: 0
for developers, see DEV-Maya
Applications
Dev Docs
Other