Set the value of the change in the project information.

Handling:

int iret = ac_request("autotext","set", string svarname, string svarvalue);


Example.

Write a new value to the variable "Object Address" from the information about the project.


string svaluename = "Object address";
string newvalue;
snewvalue = "Moscow, Shabolovka, 37";
int iret = ac_request("autotext","set", svarname, snewvalue);
if(iret == 0)
{
   cout << "Address changed successfully";
}
else
{
   cout << "Failed to write the address. Perhaps the variable " << svaluename << " has not been created in the project";
}