Works.... Your a star!
-Dave On Nov 25, 6:04 pm, Ofer Koren <[email protected]> wrote: > you can force it to re-source by deleting the form layout it creates: > > mel: > > deleteUI "AttrEd<*PluginNodeName*>FormLayout" > > python > > maya.cmds.deleteUI("AttrEd%sFormLayout" % pluginNodeName) > > - Oferwww.mrbroken.com > > On Wed, Nov 25, 2009 at 9:51 AM, thirstydevil <[email protected]>wrote: > > > I'm editing a template for a custom hardware shader. So far the only > > way I can get Maya to recognise a change to the template is to restart > > maya. Sourcing the template doesn't work. I'm wondering if maya is > > caching the template at boot or the 1st time the template is executed? > > > I've tried editing a Maya default template for the phong node. Just > > adding a print "Foo", same problem there as well. > > The 1st time I create a phong node. "Foo" is printed. There after, > > no editing of the AE template is recognised and "Foo" is no longer > > printed. > > > Is this correct? Or am I doing something wrong? > > > -Dave > > > -- > >http://groups.google.com/group/python_inside_maya > > -- http://groups.google.com/group/python_inside_maya
