ini
sharing files between 3dsMax and Motionbuilder
by eks on Oct.28, 2013, under 3ds Max, ini, maxscript, MotionBuilder, pipeline, python, xml
Here’s a small tip on where to quickly put files (ini or xml for example) that you can easily fetch from both Max:
systemTools.getEnvVariable("LOCALAPPDATA")
And Motionbuilder:
import os os.getenv('LOCALAPPDATA')
Both will return “C:\Users\USER\AppData\Local”. And if you ever wondered what’s the difference between /AppData/Local and AppData/Roaming this might shed some light on it: http://superuser.com/questions/150012/what-is-the-difference-between-local-and-roaming-folders