cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Miha Nahtigal
Expert

Get element's ID

Hi everyone.

I am looking for a API function to get element's (object's, slab's,...) ID - the field in the "ID and properties" section of elements palette. Can not find it in the documentation.

BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.
1 Solution

Accepted Solutions
kovacsv
Booster

It can be accessed with the ACAPI_Database function using the APIDb_GetElementInfoStringID id: https://archicadapi.graphisoft.com/documentation/apidb_getelementinfostringid

Go to post

4 Replies 4
kovacsv
Booster

It can be accessed with the ACAPI_Database function using the APIDb_GetElementInfoStringID id: https://archicadapi.graphisoft.com/documentation/apidb_getelementinfostringid

Miha Nahtigal
Expert

Thank you for your prompt and accurate answer. 

BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.
LeeJaeYoung
Virtuoso

I am trying to put an id while creating a beam.
I think it will be easier to understand if there is a code.
Which code in the example can I understand?

AC27 on window 11
LeeJaeYoung
Virtuoso

err = ACAPI_Database(APIDb_ChangeElementInfoStringID, &element.header.guid, &na);

 

스크린샷 2023-10-06 131651.png

ACAPI_Database not found in archicad 27 api
There is also no content in ACAPinc.h.
What should I study?

 

And I don't have apidevkit.chm, where should I search for it?

AC27 on window 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!