Backend: cpaint.set_attribute()
cpaint Method Summary
boolean register()
      boolean unregister()
      void start()
      void return_data()
      object add_node()
      void set_data()
      mixed get_data()
      void set_id()
      string get_id()
      void set_attribute()
      string get_attribute()
      void set_name()
      string get_name()
      string get_response_type()
void set_attribute ( string attribute_name, mixed value )
Assigns a new value to an attribute of the basenode.
Class
Parameters
» string namename of the attribute to assign a value to.
    » mixed valuevalue to assign to this attribute. Please note that the value must be scalar.
Return Value
» void
API Tags
» Access: public
Description
This method is a wrapper for cpaint_node.set_attribute() and assigns an attribute value to the basenode of the CPAINT response.




