- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, hello,
I'm currently working on some python tools for Maya 2022 on Linux and I'd like to import my .py files from a custom directory on my system. So after reading through Maya's help page on build environments I added those Environment Variables to my Maya.env for Maya 2022.
So I expected "MAYA_SCRIPT_PATH" to include a custom path to load scripts from this location when just typing import [script name] in Maya's script editor.v Later I found out about "USER_SCRIPT_PATH" as well. But I still don't know the difference.
But sadly it doesn't work even though I'm able to see the paths correctly added when I execute
<getenv MAYA_SCRIPT_PATH> as MEL command
So again my goal is to just type <import [script name]> into the python script editor and Maya should know about any additional folders to search for scripts and load it.
Would definitely appreciate some help with this.
So thanks for reading through and have a great day 🙂
Solved! Go to Solution.