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

Accesses the "height of opening" in the dimension's text

Hello,

I'm looking for a way to access the height of opening in text of dimension info and add there some text (in addition to the text that already there).

Adding 3 pictures to show what I mean

Adding Configuration image, and before and after images

Thanks

 

Windows 11, Visual Studio 2019, ArchiCAD 26, C++

 

 


Configuration.pngBefore.pngAfter.png

BIMquants.comBETA - Free Plugin for Quantities and Costs Estimation in Archicad.
1 Solution

Accepted Solutions
Viktor Kovacs
Graphisoft
Graphisoft

On sections there is a special element type called API_SectElemType. This is the section representation of an elem. You can get the original elem guid by accessing the parameters of the section element. Something like this:

API_Element element = {};
element.header.guid = sectionElementGuid;
ACAPI_Element_Get (&element);
APIGuid originalElemGuid = element.sectElem.parentGuid;
// now the originalElemGuid contains the real element guid

 

Go to post

2 Replies 2
Viktor Kovacs
Graphisoft
Graphisoft

On sections there is a special element type called API_SectElemType. This is the section representation of an elem. You can get the original elem guid by accessing the parameters of the section element. Something like this:

API_Element element = {};
element.header.guid = sectionElementGuid;
ACAPI_Element_Get (&element);
APIGuid originalElemGuid = element.sectElem.parentGuid;
// now the originalElemGuid contains the real element guid

 

Miha Nahtigal
Expert

Great. Thank you.

BIMquants.comBETA - Free Plugin for Quantities and Costs Estimation in Archicad.

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!