Getting Object Attributes

    Aug 21 2011 | 5:00 am
    I have been trying to get the attributes of an object WITHOUT the help of the inspector. Is there any way to do this? I know in max 4 they use to have the object "thisobject" but not in max 5. I'm using max 5, please let me know how to obtain the attributes of an object if possible. Thanks!

    • Aug 21 2011 | 6:44 am
      For Jitter objects, send the message 'getattributes' in the left inlet, and a list of the attributes will come out the right outlet. For all Max objects, click (and hold) on the left inlet, and the attributes show up in a popup menu; release the mouse over the attribute you want, and it will be placed in a message box and connected to the left inlet, ready for use.
    • Aug 21 2011 | 12:06 pm
      I wrote a javascript that parses the text of the reference page for a given object and spits out the accepted messages and attributes so you can use them in your patch, I'm not on my regular computer right now but if it could be useful let me know and I'll share it here.
    • Sep 08 2011 | 5:27 pm
      Hey thanks guys, I actually figured it out with some javascript I found on another forum here. Thanks!
    • Dec 19 2013 | 3:48 pm
      Thanks for sharing the code cycling84!
    • Dec 19 2013 | 5:41 pm
      #deleted due to error#
    • Jan 10 2014 | 5:12 pm
      The getattr obj lets you query object attributes. Its also available in javascript.