Notifications
Clear all

[Closed] Filename of current max file open?

Hey gurus, I’ve been scouring the dictionary for this one (damn, max has a lot of file operations!), but I can’t seem to find a function for grabbing the name of the currently open maxfile. Am I stupid, or is it slightly more obscure than a simple getCurrentFile?

4 Replies

there’s a system global called maxFileName that holds this name.

hOpe this helps,
o

Congratulations!
You just got your own entry in the MAXScript Reference’s FAQ section!

The 7.5 revision of the help will contain a FAQ topic explaining the maxFilePath and maxFileName globals. (Yes, you are not the first one to ask about them this week!)

Yay! Thanks guys. How’s the DVD coming along Bobo?

1 Reply
(@bobo)
Joined: 2 years ago

Posts: 0

It is ready and about to ship!
Watch http://www.cg-academy.net for an announcement
(although I guess Chris will post a message here when it is available).