Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

starting a script evry time a file is opened?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
156 Views, 1 Reply

starting a script evry time a file is opened?

Hi,
I would like to write a script that runs everytime a new file is opened what is the easiest way to do this?

cheers
Mike
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Add a post-file open callback.

callbacks.addScript #filePostOpen fileName:"C:\\scripts\\whatever.ms"


If you also want it to fire when the user does File/New or Reset, also register it for #systemPostNew and #systemPostReset

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report