Scripting Max? Possible?

Feb 15, 2008 at 4:23am

Scripting Max? Possible?

I was wondering if there was a way to script Max. Like having a script that would go through your patch, delete all your number boxes, except ones somehow specified in a list or something, take all the inputs, and connect them to the outputs that the boxes went off into. I would think that an ascii file might be able to use perl or python to do this, but is there some sort of scripting capabilities in Max? some magical javascript maybe?

this would be great to be able to make even more global tools.

Possible? Am I dreaming? Will 5 have anything close to this?
If you’re familiar, I mean something like Discreet Logic Maya’s MEL language.

#35828
Feb 15, 2008 at 5:10am

Not sure if that’s what you were hoping for, but have a look at MAX Tutorials 46 and 47…

#122625
Feb 15, 2008 at 8:09pm

Pretty close. I didn’t see it in the tutorials, but is there a way to store a list of what’s selected when editing a patch? I thought it would be cool to be able to run a script on selected objects.

The way Maya works, everything created is named automatically. So you never have any objects without a name, which makes scripting pretty easily done.

Is there a setting or something in Max that creates names for objects upon object creation? Other than opening the dialog and naming the object.

The tutorials help, but not quite what I was thinking.

#122626
Feb 15, 2008 at 9:21pm

Autopattr @autoname 1 ?
Cheers
Roger

> Is there a setting or something in Max that creates names for objects upon
> object creation? Other than opening the dialog and naming the object.
>

#122627
Feb 15, 2008 at 10:51pm

I think that’s what I was looking for.
Thanks!

#122628
Feb 18, 2008 at 3:45pm

Roger Carruthers schrieb:
> Autopattr @autoname 1 ?
> Cheers
> Roger
>
>> Is there a setting or something in Max that creates names for objects upon
>> object creation? Other than opening the dialog and naming the object.

Plus scripting with javascript should give you anything imaginable…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#122629

You must be logged in to reply to this topic.