License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

Using ACAPI_Command_ExternalCall problem

Anonymous
Not applicable
Hi everyone,
i have recently needed to do a specific task in another instance of AC, in a way that won't prevent me from using the program (that is, asynchronous).
To do so, i implemented the ACAPI_Command_ExternalCall function. it works almost perfect - i get what i need from the second instance of AC.
The problem is -- i can't use this function more than once. the function in my code works the second time, but after using the ACAPI_Command_ExternalCall -- nothing happens...
the only way to resolve it is to unload and reload my add-on, or to close the program.

Since i thought i was doing something wrong, i tried looking at the Communication_Manager Example. The example has a similar function, called Do_CallExternalSaveAsDWG, which is also based on ACAPI_Command_ExternalCall . when i used the function inside the example - the same thing happened as with my function. i couldn't get it to work more than once.

Does anyone have any idea why does this happen? Am i doing something wrong?

thanks a lot!!
Ido
0 REPLIES 0