Hello all,
First off, I want to say thank you to all the developers for answering questions here because they have helped me quite a bit without me having to start a thread. Also, a thank you the users who ask great questions and create a lot of content for this board. Although it took a little effort in the beginning to get started, I'm quite happy with the progress I've made on a project I've been working on. Most of the time, just when I think I'm stumped, I get the right clues from this board, or I read enough documentation to get me through.
But this time, I think I need ask for advice.
I've created an add on that is intended to work with Archicad v19 and v22. I use the`APIDo_ReloadLibrariesID` function that is available for me in DevKit v22 - but I can't use it in DevKit v19 because it isn't available. Is there a way to use other available API functions in DevKit v19 to achieve the same process?
I've tried to use this order of operations or similar:
1. APIEnv_GetLibrariesID
2. APIEnv_ResetLibrariesID
3. APIDo_LoadLibrariesID or APIEnv_SetLibrariesID or APIEnv_AddLibrariesID
I've tried various implementations but I can't seem to recreate the same result - In general, it seems these functions don't detect changes in the library folder contents and updates with those changes like it would when I use the`APIDo_ReloadLibrariesID` function in DevKit 22.
Another way of phrasing my question is "Can I write code to achieve the same result when I launch Archicad v19, open the Library Manager, and select `Reload Libraries and Apply all the Changes`?"