Change Color attribute of single Nodes without attrui?


    Nov 17 2012 | 4:02 am
    Hello,
    I started working on an interactive project including the Node object. My question is how to change the color of a single node with an attribute message. For Example to trigger node 1 to be colored red or green?
    It's easy to do with attrui in Max 6 or in the inspector but I need it to be triggered interactively.
    Would be glad if someone can help me out!

    • Nov 17 2012 | 4:27 am
      that's really basic.... you can change attributes of a object always with sending messages to the object.... just look into the reference of any object to see what messages it does accept...
    • Nov 17 2012 | 7:59 am
      thanks tobias! yes I knew that, but I missed what values it needs for the color, because I never stumbled on it before.
      But how can I change the color of the individual nodes? It doesn't work for me in the patcher you attached?
    • Nov 17 2012 | 5:33 pm
      See the nodes help file, the colors tab.
    • Nov 17 2012 | 6:38 pm
      yes, still my problem is when connecting the swatch->attrui->nodes I can select node or candy color and see the color change in attrui but in the node object nothing changes?
    • Nov 17 2012 | 6:41 pm
      just figured out that it works as soon as i change the size of the node object.. is there any way to apply the changes directly??
      edit: things like bg color change directly? is this a bug?
    • Nov 17 2012 | 8:52 pm
      There's indeed a bug with nodes here. Sorry for the inconvenience, changing the color of a node doesn't refresh the nodes object properly. This has been fixed for the next incremental.
    • Nov 17 2012 | 10:40 pm
      thanks emmanuel! you know how long it will take till the next incremental?
    • Nov 21 2012 | 11:30 pm
      You'll find an updated version on the incremental page.