November 27, 2019
by Ákos Somorjai
modified at February 2, 2022

Notarizing add-ons for macOS Catalina

When you download anything on macOS from the internet, the download mechanism adds extra info to the downloaded file (called the quarantine flag; you can check for it with ls -lA@ [you_add-on].bundle). This informs the operating the system that the downloaded file may contain malicious code, and so the operating system…


June 6, 2018
by Ákos Somorjai

Working in Visual Studio 2017

ARCHICAD 21 and 22 both use the Visual Studio 2015 compiler for building add-on projects. With the appearance of Visual Studio 2017 you’ll need to do a few extra hops to be able to build your add-ons. Start the Visual Studio Installer Under Desktop Development with C++ install the VC++…


February 3, 2017
by Ákos Somorjai
modified at May 19, 2017

Hello, world!

Here comes every programmer’s favourite example: “Hello, world!” – API style! GSErrCode Do_CreateHelloWord (void) { const char hwText[] = { “Hello, API world!” }; const size_t hwLen = strlen (hwText) + 1; return ACAPI_CallUndoableCommand (hwText, [&] () -> GSErrCode { API_Element element; API_ElementMemo memo; GSErrCode err = NoError; BNClear (element);…


December 6, 2016
by Ákos Somorjai
modified at January 20, 2017

API documentation and DG_​Test sample code update

Changes in documentation: Old webpage links redirected to this site Mail address updated New APIAny_EnableVisualOverrideID documentation Minor visual changes   We have also uploaded new DG_Test example code (macOS, Windows), it shows you how to use: Split buttons Set tab item color in lists   Enjoy!