We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

Reserve elements as a set and name the set. (Teamwork)

bharat_hs_nct
Contributor

Hello All,

 

I've read some fo the Teamwork functionalities like reserve and release for one of the project requirements. The requirement is to list the expected elements which belong to their respective reserve set(like Workset in Revit).

 

Revit has a feature called Workset where you can assign a number of elements to workset and others to another workset. So we are finding if the element belongs to its assigned set. 

 

There is Reservation Results window but it only shows all the elements reserved for the user, not any set or group. (refer: Reservation Results (Teamwork) | User Guide Page | Graphisoft Help Center)

 

So I wanted to check in ArchiCAD if we can reserve a set of elements and name the set. (also number of sets)

 

Note:

1. Do not have a license to test the Teamwork features

1. This is not a feature wish/request

4 REPLIES 4
Akos Somorjai
Graphisoft
Graphisoft

Hello,

 

You can reserve a set of elements with `ACAPI_Teamwork_ReserveElements()`, but not a named set. This function accepts a list of element GUIDs.

You can also try to add a name via the ACAPI_AddOnObject_ set of functions, but then you have to keep that in sync with the actual list of elements yyou reserved in the previous step. Also, you'll have to create your own interface for that.

 

Best, Akos

Hello Akos Somorjai, 

 

Thanks for replying.

1. But I was also asking in ArchiCAD application when I reserve a set of elements, can I name the set?

2. Separate the reservation of elements into separate sets and name the sets?

 

Not through API. API approach will be later. 


@bharat_hs_nct wrote:

Hello Akos Somorjai, 

 

Thanks for replying.

1. But I was also asking in ArchiCAD application when I reserve a set of elements, can I name the set?

2. Separate the reservation of elements into separate sets and name the sets?

 

Not through API. API approach will be later. 


Then you should ask that question in the main Teamwork forum rather than here in the API forum.

 

https://community.graphisoft.com/t5/Teamwork-BIMcloud/bd-p/forum-teamwork

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thanks for the reply Barry Kelly, 

 

Let me explain my approach for the add-in function

1. Reserve elements for a user in a set and name the set in ArchiCAD UI window

2. Read that reserved element set information for the current user through API

3. Display the results of reserved set to user information in a table

 

I've asked the question for the first step. I'll ask the question in Teamwork forum.