Read the value of the current element's own variable.

Call:

int err = ac_request_special("element_user_data","get_variable_value",string varname, void &varnametovalue);


Here:

varname - variable name;

varnametovalue - a variable of the corresponding type, where to read the value.

err - upon successful reading of the value - 0.