cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

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

yahavsa
Contributor

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
1 REPLY 1

Hi Yahavsa,

I haven't tried it myself, but I took a look if it's possible at all.
There is a list of API_DimElem entries in the memo of dimension elements. (See API_Element_GetMemo docs)

Each API_DimElem has a API_NoteType member. There you can change some text which I think might be the place where you can change the dimensions text.


Let us know if that's successful in case you try it! 🙂
Bernd

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website: Archi-XT.com