Notifications
Clear all

[Closed] Command panel button and it's functions

There are many things in Max I simply cannot find a relevant function for in the online MAXScript Reference material. The MAXScript listener is fine for stuff like tool calls, but when clicking buttons in say the command panel, you get nothing. For example, right now I want to make a macro so I can keybind the Command Panel > Hierchy > Adjust Pivot > Affect Pivot Only -mode, or whatever you call it.

So two questions:
What is the name of the function that is called when the user enters this mode to adjust the pivot?
When the listener doesn’t echo anything useful, and I can’t find relevant information in the reference material, what is the next step for finding out what functions are being called in Max when something occurs? I want advice so that I don’t have to show up here with a not-so-interesting thread for all my MAXScript problems ^^

1 Reply

It takes time to learn how to use the maxscript help file. I had the same problems long time ago.

  • open Maxscript help file
  • search for PIVOT
  • go to Align Pivot and Reset Transform Methods
  • search for “Affect Pivot Only”

Or you can search in maxscript help file for “Affect Pivot Only”. Then you have to read each topic lsited to find what you want.