set_variable_value
Set the value of a variable for the current element. If the variable has not yet been created, then a variable is created in memory with the specified name and type corresponding to the type of the variable used to set the value.
Call:
ac_request_special("element_user_data","set_variable_value",string varname, void &varvalue);
Here:
varname - the name of the variable to which you want to set a value;
varvalue - a variable of any type, whose value will be assigned to the specified element variable.