Notifications
Clear all
[Closed] Getting the folder of the script file
Nov 02, 2010 8:43 pm
Is there a way to get the folder in which my .MS script file is stored?
I remember having used such a function once, but I cannot find anything about it now.
2 Replies
1 Reply
Look under “MAXScript Source Filename Access” in the Help. There are several functions for querying the path, the offset and line where they are being called from.
In addition, you can use showSource <fn>
to navigate to the file where a given function was defined in.
Nov 02, 2010 8:43 pm
Thanks, that’s exactly what I was looking for!
(Sorry I didn’t reply any earlier, I tried your solution then and totally forgot to reply…)