- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I know this is a really silly problem to have, but MaxScript Listener keeps throwing back "--Runtime error: File not found"
I'm trying to execute python.ExecuteFile "C:\data\test.py"
I'm 100% positive this file exists at this location with this spelling (used copy/paste). This file is pretty simple too... has "import MaxPlus" on the first line and "print 'Hello'" on the next line.
I've run python.Init(), python.Execute "print 'Hello'", and python.ExecuteFile "demoBentCylinder.py" all returning success.
I'm reletively new to Python scripting but and I'm not sure what's going on. I feel kinda stupid asking since it's a pretty straight forward process, but for some reason the last two times I started up I had this trouble. What am I missing here?
For reference I have looked at this page:
http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-Python-API-Documentation/index.html
In the section "Executing Python from MaxScript" it says:
"If you provide a full path using the ExecuteFile command; for example, as follows; 3ds Max looks for the Python file in the path provided."
Solved! Go to Solution.
