Environment System Script 1.0.7 for Maya (maya script)

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

Bugs

Can't run script

Statusclosed
Prioritylow
Date07/15/2015
Submitted by matthelm88 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:

  • Luma91

    Luma91 said over 11 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.
    Report
  • matthelm88

    matthelm88 said over 11 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 :-(
    Report
  • Luma91

    Luma91 said over 11 years ago:

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

    matthelm88 said over 11 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
    Report
  • Luma91

    Luma91 said over 11 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.
    Report
  • matthelm88

    matthelm88 said over 11 years ago:

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

Post a comment:

Sign in