ā2020-07-31
04:08 AM
- last edited on
ā2021-09-15
10:30 AM
by
Noemi Balogh
Solved! Go to Solution.
ā2020-08-13 05:29 AM
ā2020-07-31 04:16 AM
ā2020-07-31 05:47 AM
Barry wrote:Is there an API to unload it?
Use the Add-on Manager in Archicad.
This will allow you to load or un-load add-ons without actually removing the files.
Or close Archicad and you should have full control of the actual file.
Barry.
ā2020-07-31 06:00 AM
scandi wrote:
Is there an API to unload it?
ā2020-07-31 06:07 AM
Barry wrote:Thank you! Maybe I haven't explain it clearly: I am writing an addon which should update itself. However, I couldn't find an api to do that. Is there a way to achieve that goal using the given apis?
scandi wrote:
Is there an API to unload it?
Try the Add-on Manager - it is part of Archicad.
add_on_manager_2.jpg
It may depend on the add-on you are trying to stop.
If it can't be done here you have to close Archicad and delete or move the file from the add-on folder manually.
Barry.
ā2020-07-31 07:04 AM
scandi wrote:
Thank you! Maybe I haven't explain it clearly: I am writing an addon which should update itself. However, I couldn't find an api to do that. Is there a way to achieve that goal using the given apis?
ā2020-07-31 10:13 AM
ā2020-07-31 11:15 AM
Ralph wrote:OK. Thank you.
I don't know any way to do this. Given the way Archicad calls the sequence ofCheckEnvironment, RegisterInterfaceand Initializeduring startup, I suspect you wouldn't be able to integrate the update into an active session anyway.
We've written our installer to check if the target version of Archicad is running and ask them to quit first if it is. In the current application structure, I don't think self-updating is possible.
ā2020-08-13 05:29 AM