Getting Object Attributes
Hello,
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!
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.
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.
Hey thanks guys, I actually figured it out with some javascript I found on another forum here. Thanks!
Thanks for sharing the code cycling84!
#deleted due to error#
The getattr obj lets you query object attributes. Its also available in javascript.