cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LVirone Greisch
Booster

Is there an "Idle" Event raising when API methods are safe to be executed?

Hello,

 

I wonder if there is an "Idle" Event raising when API methods are safe to be executed?

 

My goal is to execute API methods when external Event (external to Archicad application) occur, without user input. I need to determine when it is safe to execute these methods to prevent Archicad to crash.

 

I've found this post but I don't find anything in the API documentation : https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/td-p/...

 

I've also found ponctual events but nothing telling me permanently when the API context is safe : ACAPI_ProjectOperation_CatchProjectEvent

 

Thanks

Virone Lorenzo
1 Solution

Accepted Solutions
Oleg
Expert

Maybe it helps


See the ACAPI_AddOnAddOnCommunication_CallFromEventLoop function

and ACAPI_AddOnAddOnCommunication_Test example

Go to post

1 Reply 1
Oleg
Expert

Maybe it helps


See the ACAPI_AddOnAddOnCommunication_CallFromEventLoop function

and ACAPI_AddOnAddOnCommunication_Test example

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!