Archicad C++ API
About Archicad add-on development using the C++ API.

Project ID Info incorrect for new template project.

Anonymous
Not applicable
When I open AC 13 using a template and then, with no changes made to the file, issue
err = ACAPI_Environment(APIEnv_ProjectID, &projectInfo, NULL);
from my menu handler. The return value is NoError, but projectInfo.untitled is false and projectInfo.location = the template location.
I expected projectInfo.untitled to be true as per the documentation for an unsaved file.

How can I determine if the file has been saved at least once?
How can I determine if there are any unsaved changes?

Thanks for your help.
0 REPLIES 0