How to run a script? (yes I'm asking that)
Hello, im new at maxscript. Ive read the help (not complete, of course) and searched google, and to my suirprise, i cant find the way to run (or execute, or apply) a script I wrote.
Let me be clear: I open Notepad, type the code, change the extension to .ms, open max, click on maxscript, click on run script, load the script, and nothing happens. Where's the secret button to make it actually run?
Regards,
Mariolillo
Comments
may be display script here
may be display script here will you ?
If you run it via Run script,
If you run it via Run script, it should be okay so it probably has to do with some error/mistake in the script itself. Check the maxscript listener (F11) after running the script if it doesn't say something like that.
Anyway, for experiments with code it's better and more flexible to just write them directly in max (click the New script menu item) as you don't have to save them to see them work, you've got the color syntax highlighting and a whole lot more than notepad can offer. Then you'd be executing it via CTRL+E.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
ctrl+e or under tool
ctrl+e
or under tool evaluate.
John Martini
Digital Artist
http://www.JokerMartini.com (new site)