Using ACAPI_Command_ExternalCall problem
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-11
02:14 PM
- last edited on
2021-09-15
12:33 PM
by
Noemi Balogh
2020-04-11
02:14 PM
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
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
Labels:
- Labels:
-
Add-On (C++)
0 REPLIES 0