Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maya wont let me execute any script!!!

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
hitecom8172
2650 Views, 4 Replies

Maya wont let me execute any script!!!

hitecom8172
Enthusiast
Enthusiast

Hello,

I am trying to execute a mel script but i cant the moment i execute a script nothing shows up in my scene.

https://www.highend3d.com/maya/script/v-ray-tuner-for-maya-for-maya

I am trying to execute this but nothing happens when i execute. Pls help me ASAP.

0 Likes

Maya wont let me execute any script!!!

Hello,

I am trying to execute a mel script but i cant the moment i execute a script nothing shows up in my scene.

https://www.highend3d.com/maya/script/v-ray-tuner-for-maya-for-maya

I am trying to execute this but nothing happens when i execute. Pls help me ASAP.

4 REPLIES 4
Message 2 of 5
sean.heasley
in reply to: hitecom8172

sean.heasley
Alumni
Alumni

Hi @hitecom8172 

 

This script is very old so it may be having compatibility issues.

 

That said, did you paste the file into the proper scripts folder? Also, when you run the code is it giving any errors? If so what errors are showing?

 

 

 

Hi @hitecom8172 

 

This script is very old so it may be having compatibility issues.

 

That said, did you paste the file into the proper scripts folder? Also, when you run the code is it giving any errors? If so what errors are showing?

 

 

 

Message 3 of 5
sean.heasley
in reply to: sean.heasley

sean.heasley
Alumni
Alumni
Accepted solution

Hi @hitecom8172 

 

I just tried this on 2019 and had no issues.

 

Make sure to paste the script and the python file into the scripts folder usually found at Documents\maya\2019\prefs\scripts

 

Once in Maya, open the script editor and run the name of the script which is:
vraytuner

 

If one or more of these posts helped answer your question, please click Accept as Solution on the posts that helped you so others in the community can find them easily.

 

 

 

Kudos are greatly appreciated. Everyone likes a thumbs up!

 

 

Hi @hitecom8172 

 

I just tried this on 2019 and had no issues.

 

Make sure to paste the script and the python file into the scripts folder usually found at Documents\maya\2019\prefs\scripts

 

Once in Maya, open the script editor and run the name of the script which is:
vraytuner

 

If one or more of these posts helped answer your question, please click Accept as Solution on the posts that helped you so others in the community can find them easily.

 

 

 

Kudos are greatly appreciated. Everyone likes a thumbs up!

 

 

Message 4 of 5
hitecom8172
in reply to: sean.heasley

hitecom8172
Enthusiast
Enthusiast

Hi there,

 

I tried doing what you said and placed the script in the scripts folder but nothing happened.

// Warning: Line 7793.35 : Redeclaration of variable "$myDC" shadows previous declaration at line 7450. Previous value will be overwritten by explicit initializer.

nothing shows up maya 2018.5 i don't know what's wrong here.

 

0 Likes

Hi there,

 

I tried doing what you said and placed the script in the scripts folder but nothing happened.

// Warning: Line 7793.35 : Redeclaration of variable "$myDC" shadows previous declaration at line 7450. Previous value will be overwritten by explicit initializer.

nothing shows up maya 2018.5 i don't know what's wrong here.

 

Message 5 of 5
hitecom8172
in reply to: hitecom8172

hitecom8172
Enthusiast
Enthusiast

Oh god i am such a huge idiot!!!!!!

This is  what I was doing wrong :-

 

1. not place the scripts in the scripts folder.

2. Open the script editor and try executing the open script

 

All i had to do to fix this was :

Open a new mel tab and type the name of the script.

 

How can i be so freaking dumb!!!!!

Thank you sean for helping me recollect on how to do such a simple thing.

Oh god i am such a huge idiot!!!!!!

This is  what I was doing wrong :-

 

1. not place the scripts in the scripts folder.

2. Open the script editor and try executing the open script

 

All i had to do to fix this was :

Open a new mel tab and type the name of the script.

 

How can i be so freaking dumb!!!!!

Thank you sean for helping me recollect on how to do such a simple thing.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report