Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

What is the root directory for relative path?

What is the root directory for relative path?

Anonymous
Not applicable
1,441 Views
1 Reply
Message 1 of 2

What is the root directory for relative path?

Anonymous
Not applicable

If I use the relative path rather than the absolute path in the scripts in 3dmax, what is the default path?

There is an example below, where should i put this file?

QQ截图20190422114115.png

0 Likes
1,442 Views
1 Reply
Reply (1)
Message 2 of 2

drew_avis
Autodesk
Autodesk

It looks like by default it will read/write to the current directory, which is the current running script's path (unless the script does something to change that).  You can get the max root with getdir #maxroot.  See this topic for getting various system paths.


Hope that helps,

Drew



Drew Avis
Content Experience Designer
0 Likes