2013-08-1412:40 PM - last edited on 2023-08-0203:19 PM by Doreena Deng
Can the Notification Manager be used before a user request for the API is called?
I would like to install ACAPI_Notify_CatchProjectEvent prior to the user calling any functions in the API. I have tried adding it to the Initialise function however it only starts catching events once I have called the API from its menu.
After ArchiCAD started (and called your add-on's CheckEnvironment and RegisterInterface functions), your add-on will be unloaded from the memory.
It won't work until the user try to use it, and at that point it will be loaded to the memory again and the Initialize function will be called.
So unfortunately it's not possible as far as I know.
I will try to figure out a workaround for that, but I can't promise anything now.