Create an element in the project based on the current values ​​from an object of type ac_element.

Call:

int ires = acrequest("create_element_on_project",int iElemDescr);


Here:

iElemDescr - object descriptor that contains data for the element being created in the project.

ires - 0 is returned on successful creation.