View Full Version : MEL & 2dfile question
To reload the texture file I'm currently working on, I use a MEL command to open the 2dfile node in the attribute editor and then I hit the reload texture button. Is there a way in MEL to reload the texture as well?
Thanks
|
|
empleh
10-28-2002, 07:31 PM
When you go to press the reload button open the script editor and turn on "Script->echo all commands". Now reload the texture and you can pick through the commands to see which ones maya executes to reload the textures.
When I did it I got the command:
AEfileTextureReloadCmd file10.fileTextureName;
which you can probably work with to get the desired effect.
good luck. How much mel do you know?
ww
Thanks empleh!
Not much MEL yet. I've been through all the data types and control and what not, but I'm still going through the commands with a long way to go!
empleh
10-28-2002, 09:52 PM
If you can't get it to do what you want post again and I'll see if I can help.
good luck
CGTalk Moderation
01-13-2006, 08:01 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.