How to set value of parameter of a live object ( for example), in C?

    Feb 06 2010 | 4:53 pm
    I want to set values of the following parameters we can see in the maxpat: saved_attribute_attributes" : { "valueof" : { "parameter_shortname" : "[1]", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "[5]", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, ...
    I want to change their value from a C function. First, I create te object (works fine), then I want to set these attributes, but I'm not able to do it.
    Which function from SDK should I use? Thanks for help

    • Feb 06 2010 | 9:47 pm
      You shouldn' t change those dynamically. Live needs to know the state of them in order to display automation/presets properly.
    • Feb 08 2010 | 12:20 pm
      Hi, I don't want to change them, I want to create a object from my own external, in C. I want to create the patch containing such objects from a C program. I'm doing it, except that I don't know how to handle saved_attribute_attributes, so the created object miss all the parameters inside this.
    • Feb 08 2010 | 1:09 pm
      Sorry, this isn't supported at the moment, for your own protection. You shouldn't be changing these parameters dynamically, as EJ said, as you will cause very bad stuff to happen in Live. Can you give me a good argument why you would even need to display them?