I have created a shelf icon using `shelfbutton` and I am adding a drop down menu which is created using the `popupMenu` and `menuItem`. Good news is that, everything is working as I expected it to be.
This is not a biggie but when I tried to incorporate the command `image (-i)` flag for menuItem, it seems that the image is not loading at all. shelfButton -enableCommandRepeat 0 -enable 1 -width 34 -height 34 -label "Quick Access" -image "quick_access.png" -style "iconOnly" -marginWidth 1 -marginHeight 1 -sourceType "python" popupMenu -b 1; menuItem -stp "python" -i "/user_data/model_picker.png" -l "Model Picker" -c "import model_picker; model_picker.main()"; For the image path, I did try using `"model_picker.png"` and making sure that the image is in the icons folders. Also no errors are thrown when I run it, and so I am not sure if my images does gets called, or perhaps there are something that I have did wrongly. Any ideas? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/872cf334-2480-48bb-a97a-aa1c3e42ac9c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.