2025-09-02 02:28 PM
Hello everyone,
we are facing the following issue with our DBD-BIM Plugin in ARCHICAD:
We would like to store project data that is equally available and editable for all users of a Teamwork project, and that exists only once within the project.
Currently, we are using the function ACAPI_AddOnObject_CreateUniqueObject. However, we have found that the data written with this method can only be modified by the user who originally created it. Our requirement is that any user in the Teamwork project should be able to edit this data.
As an alternative, we tested the function ACAPI_AddOnObject_CreateObject. The drawback here is that each user gets their own separate data container, which would result in different users being able to set different construction cost regions in the same project.
Could you please advise us on the best way to store such project data so that it fulfills our requirements?
Thank you very much for your support.
2025-09-16 03:06 AM
Hi, I'd suggest you to check Archicad Project Note function, you can add custom items in project data and share with other members. API can access other data. But I'm not sure whether it's the best way you.
HTH.
2025-10-01 01:27 PM
Hi,
In Teamwork, ACAPI_AddOnObject_CreateUniqueObject() is the way to go, because that object is immediately sent to BIMcloud when created.
The "owner" of the object is coming from the MDID of the add-on, so the only constraint should be that another add-on (with a different MDID) cannot access the data (for privacy purposes). Also, you have to reserve the object before you try to modify it; see the AddOnObject_Manager/Src/AddOnObject_Manager.cpp file in the devkit.
Hope this helps,
Akos