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

Is it not possible to create line dimensions, etc. in the worksheet using the API?

LeeJaeYoung
Virtuoso

스크린샷 2023-10-20 172936.png

Is it not possible to create line dimensions, etc. in the worksheet using the API?

The lines studied with the element_test code are not created in the worksheet.
How can I create one?

AC27 on window 11
1 REPLY 1

Hi!

 

My guess is, that you first have to switch to the correct database with the API.
Check out ACAPI_Database_ChangeCurrentDatabase (AC27).

 

Also if you want to have the menu item available over a worksheet window, you'll need to use the ^EW control code as documented here:

https://graphisoft.github.io/archicad-api-devkit/md__common_doxygen_files_2_articles_2_required___re...