Getting Object Attributes

Aug 21, 2011 at 5:00am

Getting Object Attributes


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 at 6:44am

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 at 12:06pm

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 8, 2011 at 5:27pm

Hey thanks guys, I actually figured it out with some javascript I found on another forum here. Thanks!

Dec 19, 2013 at 7:48am

Thanks for sharing the code cycling84!

Dec 19, 2013 at 9:41am

#deleted due to error#

Jan 10, 2014 at 9:12am

The getattr obj lets you query object attributes. Its also available in javascript.


You must be logged in to reply to this topic.