PDA

View Full Version : source myscript.mel


Ludlow
08-10-2007, 11:42 PM
Ancient SoftImage user, new to MAYA learning MEL. Unless I am mistaken, new MEL scripts, written during a MAYA session, cannot be sourced until you exit and restart MAYA. Am I missing something? I can load the new scripts, but not simply "source myfile.mel". Is there a way to reload the paths etc. from within the session?

GennadiyKorol
08-10-2007, 11:59 PM
Try the rehash command :)

Ludlow
08-11-2007, 12:04 AM
Try the rehash command :)

Thanks Henry - I'm not in the studio right now, so tomorrow I will look around for what "rehash" is. As you can imagine, after 12 yrs in Soft, learning a new 3d app is somewhat like forcing my brain through a hamburger grinder ... hmmmm hamburger

Ludlow
08-11-2007, 12:11 AM
OKAY Henry, found it in another post

rehash; source

p.s. Ever since I started learning MEL my cat has been looking at me in a strange way.

GennadiyKorol
08-11-2007, 05:51 PM
Haha, have mercy on your cat ;-) Feed her, care for her, MEL is just a scripting language... after all... *cough.

CGTalk Moderation
08-11-2007, 05:51 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.