cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Forum Posts

Using the Development Kit with Visual Studio 2022

Hi everyone, In the last couple of weeks we got several questions regarding Visual Studio 2022 and the API DevKit. If you try to use VS 2022 to build your AddOns, you have to keep in mind a few things. First, Archicad 25 and Archicad 26 is built with...

Slab-like GDL or Param-O object for city planning?

Hi!I'm working on a template for city planning and am currently looking for ways to easily mimic buildings in an early stage. Right now I'm using composite slabs with every story a different material, the materials being whatever functions the buildi...

Kaj_AL by Booster
  • 2427 Views
  • 21 replies
  • 0 likes

Mirror objects boolean in GDL

Hi all,I'm relatively new in GDL and creating scripts. I was looking for how to create a mirror parameter in existing AC library parts through GDL scripting, so the object can be mirrored with a simple click, rather than mirror the geometry manually ...

Anonymous by Not applicable
  • 1242 Views
  • 1 replies
  • 0 likes

How to change the label text box position.

Hello,In a custom add-on i tried to change the all label text box position. To do this task i used ACAPI_Element_GetElemList to get all the Label text box guid. And after collect guids i accessed all related property of every individual Label text bo...

Jahidur by Participant
  • 2252 Views
  • 0 replies
  • 0 likes

How To Get Control Address By DGModelessInit

I make Modeless Dialog MyDialog::Init(){ diagId=DGModelessInit( ACAPI_GetOwnResModule() , ID_DIALOG , ACAPI_GetOwnResModule() , GroupSheetDlgCallBack , (DGUserData)&dlgData , 1); } But I can't change Control Width By DG Commands.So I try Control Addr...

Anonymous by Not applicable
  • 1061 Views
  • 1 replies
  • 0 likes

Resolved! AC25 API Compile Error - ParameterPackTraits.hpp

I'm trying to compile one of the examples of the API (Element_Test) and I'm encountering errors on GSRoot\ParameterPackTraits.hpp. Rebuild started... 1>------ Rebuild All started: Project: Element_Test, Configuration: Debug x64 ------ 1>Compiling the...

READING ERRORS FROM THE ARCHICAD ?.

Hello,In a lot of places in the examples, there are statements like err = function(param).I am trying to get any errors that do occur to show up in the report window. The problem I am having is that ACAPI_WriteReport, CHCopyC, and sprintf all seemt t...

Anonymous by Not applicable
  • 1061 Views
  • 1 replies
  • 0 likes

Grid lines coordinates

Hello all,My goal is to get the coordinates of each grid line, preferably in 3D coordinates. Here is the code I am currently using, but the callback never comes, no error is returned. Perhaps someone knows what is wrong here:GSErrCode __ACENV_CALL Cu...

Outdated version of addon error.

Hi!I created an AddOn and it works fine on the PC at the office and at my home PC.The office PC and my Home PC both have installed the Archicad 24 SDK.When I try to start it on another PC/Laptop on Archicad 24 it give an error in the Addon Manager "O...

Poly2 - Fill & Outline combined

Hi GDL Experts,A simple question, is it possible to write both the fill and the outline in the same code shape syntax? Currently I write two pieces of Syntax, one for the fill and one for the outline: !=== Fill Syntax pen 1 SET FILL "Solid" POLY2_ 5,...