Notifications
Clear all

[Closed] some maxscript question

I’m very new to maxscript, and I got some questions bothered me several days. Plz help:)

[ul]
[li]How to add my utility to the max script utility panel ?[/li][li]Is there a way to hide a rollout window without use the destroydialog ? I’m making a activex mediaplayer inside max, when I close the dialog I don’t want it to stop playing.[/li][/ul][font=verdana][/font]
[font=verdana]yet, I still have another silly question: why should I learn maxscript well? Does it help my animation skills much if I master this piece? I’m still a student yet, don’t know what industry guys do with it.:buttrock: [/font]

4 Replies

Utilities in the MAXScript Utility panel are sort of obsolete (they were the only way to create tools in MAX 2.x) now you have MacroScripts, I would suggest looking into them, too.

Read the topics: “Scripted Utilities for New Users” and see also the “Locating Information in this Help File”>“Creating MAXScript Tools – Topics Index”>“Scripted Utilities” which provides links to all relevant topics.

As for why learning it, I have the theory that everyone using Max without knowing at least the basics of MAXScript is just “scratching the surface of the software with the mouse cursor”
You don’t have to learn it well, hell, even I don’t know it well! It is just making life easier when you know how to do something that takes an hour of mouse clicking in 10 seconds…

thanks ,bobo, your advice helps much

Osamu, I think this example from the help files show pretty clearly why it’s good to know maxScript.

$*.material = undefined

This _single line of code can instantly take away all the materials for all the objects of a scene with several thousand of objects. Can you imagine doing that by hand? Clicking them all one at a time. Very painful!

But there are many more smal things that are useful. As soon as you find yourself doing something many times, then it may be worth considering maxScript.
Lets say that you often grow a few vertices and then weld them. Well why keep pressing all those buttons over and over again if you can do it with one click?

And then of course you can do tools that do things that are nearly impossible to do in any other way, and that is where the fun begins

/Andreas

anyone for the 2 question? I mean I’m write a max music player using activex. when I close the tool bar I don’t want to stop playing. Is there anyway? the releaseOnClose:false seems to be promissing, I’m not sure. didin’t work 🙁