Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We need to set a custom PythonStartup path that is on our project work drives under P4 control. At the moment I am setting it (along with other stuff) using a launch script, something like this:
motionbuilder.exe -verbosePython d:\mobu\start.pyand in start.py is something like:
from pyfbsdk import *
config = FBConfigFile("@Application.txt")
config.Set("Python", "PythonStartup", "d:\\mobu\\start_dir", "Set by start.py")This is grossly oversimplified for clarity, but is there any way to ditch all this and just set this custom PythonStartup path from within a .mod file?
Solved! Go to Solution.