I just figured it out - the following works and for some reason has not made it into the docs for Maya 2009. What I meant to say I was looking for earlier was an equivalent command for "source();".
reload(myPythonScript) Chris Lizard Lounge Graphics, LTD. Wellington, NZ http://lizardlounge.com VHF: ZL4CDM Int'l: +644-977-5400 / +642-174-8770 NZ local: 04-977-5400 / 021-748-770 John Riddle wrote: > I think this is kinda what you're looking for: > > http://workingtheory/hal/projects/addshot/?uid=44 > > On Wed, Jan 21, 2009 at 5:58 PM, Chris Mills <[email protected] > <mailto:[email protected]>> wrote: > > > Is there a command that does the same thing as rehash for MEL. but > instead for Python? I have the sinking feeling that restarting Maya > all the time may be the only way around this. > > Regards, > Chris > > Lizard Lounge Graphics, LTD. > Wellington, NZ > http://lizardlounge.com > > > > > --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
