Environment System Script 1.0.7 for Maya (maya script)

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

Q/A

help

Date:12/11/2015
Submitted by:heyingjie heyingjie
When i run script,something wrong happend.(# Error: IOError: 2 #)

Replies to this question:

  • laser wilson

    laser wilson said almost 10 years ago:

    I have the same issue, in Maya 2015, but the older script works fine in 2015. Can we get a response on this one? I don't know if I still have the older script file (pre-2016).
  • Luma91

    Luma91 said almost 10 years ago:

    IOError indicates a file path issue (i.e. file not found, or no permissions to read the file). From what I can see, this is probably being caused by the \ slashes. python and scripting in general uses backslashes as a string escape. always use forward slashes. so a correct version of that same path would be something like: execfile("C:/users/yingjie/Documents/Maya/2012-x64/Scripts/envSystem/envSystem.py")

Post a reply:

Sign in