Should be the melGlobals object. It works like a dict So this should work
import pymel.core as pm pm.melGlobals['$gShelfTopLevel'] # Result: 'MayaWindow|toolBar2|MainShelfLayout|formLayout14|ShelfLayout' # On Wednesday, October 21, 2015 at 12:51:33 PM UTC-5, todd....@gmail.com wrote: > > does pyMel store/add the maya global vars anyplace? > globals like $gShelfForm or $gShelfTopLevel, etc > > -- > Todd Widup > Creature TD / Technical Artist > to...@toddwidup.com <javascript:> > todd....@gmail.com <javascript:> > www.toddwidup.com > -- 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/b7d728a6-24d2-409f-8042-98f53a1ce442%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.