Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

"max" function in MXS?

"max" function in MXS?

Anonymous
Not applicable
873 Views
3 Replies
Message 1 of 4

"max" function in MXS?

Anonymous
Not applicable
Does anybody know how to use the "max" math function in MXS. When I type e.g. max(4,2) in the expression controller, it does what it´s supposed to, returns "4". But in a script controller or a custom script it yields a syntaxerror message.
0 Likes
Accepted solutions (1)
874 Views
3 Replies
Replies (3)
Message 2 of 4

Swordslayer
Advisor
Advisor
Accepted solution
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hey, that´s it! Thank you very much. :-))) I´m still wondering why i cannot find any clue on the help page with the "amax" as search phrase.
0 Likes
Message 4 of 4

Swordslayer
Advisor
Advisor

Though you can search (and find) pages with amax using the online help system (filtering by Developer's Documentation and MAXScript language checkboxes), it's easier to use the offline chm maxscript reference (download link).