Adverti horiz upsell

Environment System Script 1.0.7 for Maya (maya script)

A simple Environment System script that uses Maya's particles.

License
Button download
4,267 Downloads

Compatibility

  • 2016

Operating Systems

  • Windows

History

Created:07/11/2015
Last Modified:06/17/2017
File Size: 30.8 KB

Keywords

env system

Bugs

Can't run script

Statusclosed
Prioritylow
Date07/15/2015
Submitted bymatthelm88 matthelm88
Maybe I am doing something wrong here but when I past this script in the python tab in maya 2015(I am using my path to the script):

execfile("C:/Users/Username/Documents/Maya/Scripts/envSystem/envSystem.py")

I get this error:

# Error: IOError: file <maya console> line 1: 2 #  

Any help would be highly appreciated

Thanks

Paolo 

Comments on this bug:

  • matthelm88

    matthelm88 said over 9 years ago:

    So I did that and now it crashes maya. Even if I load the script into maya python tab and run it it crashes maya 2015 :-(
  • Luma91

    Luma91 said over 9 years ago:

    You need to run all slashes forward or use double backslashes. Make sure your leading it to the right path where you placed the script file.
  • Luma91

    Luma91 said over 9 years ago:

    Might be a pymel config issue. Try just this: import pymel.core as mel
  • matthelm88

    matthelm88 said over 9 years ago:

    I ran the: import pymel.core in the python tab and it did the same thing when I ran your script... and then crashed maya
  • Luma91

    Luma91 said over 9 years ago:

    So just loading pymel crashes your maya? that sounds like something is wrong with your install of maya. haha. If you can be bothered, you could try clearing your prefs. But I understand if you don't want to.
  • matthelm88

    matthelm88 said over 9 years ago:

    I will look into it, thanks for your help :-)

Post a comment: