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...

What is CGAmbiguity and GS::CGError?

I am getting the following exceptions: First-chance exception at <64-bit hex value> in ArchiCAD.exe: Microsoft C++ exception: CGAmbiguity at memory location <32-bit hex value>.. and First-chance exception at <64-bit hex value> in ArchiCAD.exe: Micros...

Detect physical file verses file in a library

Hi, I am using file.Open (IO::File::ReadMode) to determine if a texture file exists on disk. However it appears to return NoError when a file which is embedded inside a .pla is specified. Is there some way to determine if the file is an actual file, ...

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

[MISSING FEATURE] Adding Arcs to an existing curtain wall

Hello. I'm trying to add arcs to an already created curtain wall. However the function doesn't add the arcs. The ACAPI_Element_Change(...) returns NoError. Any ideas of what I might be doing wrong? Also I would like to know if the curtain wall has a ...

Anonymous by Not applicable
  • 2117 Views
  • 3 replies
  • 0 likes

Get side

Could it be possible on-click get information on witch side clicked? Maybe using SectionInfo structure ? I was trying to use Neig for this. But it worked only for corners for sides all sides return same value.

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

Object placing box

Could it be possible to make "box" showing area where object will be placed, for example like slab, beam, roof or any other object who have "box" showing area where object will be placed?

Anonymous by Not applicable
  • 2027 Views
  • 2 replies
  • 0 likes

Color control

Hi I need a DG control that allows the user to select a rgb color. Not a palleted user color control but a color for selecting any color variation. I can not find anything suitable in the existing controls. What solutions did you use for selecting co...

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

Roof trim, Coord

Hi, How could i get object edge/coord after Roof triming ? I was using API_Box3D extent3D.zMax for object. This doesn't work with Roof trim. Even more because of sided roof object is higher than in other side. Couldn't found approach to this yet. Any...

Anonymous by Not applicable
  • 2348 Views
  • 4 replies
  • 0 likes

[SOLVED] Floor issue

ACAPI_Element_GetElemList (API_ObjectID, &elements, APIFilt_OnActFloor); for (GS::Array::ConstIterator it = elements.Enumerate (); it != NULL; ++it) { BNZeroMemory (&element, sizeof (API_Element)); element.header.guid = *it; GSErrCode err; err = ACAP...

Anonymous by Not applicable
  • 2104 Views
  • 4 replies
  • 0 likes

[SOLVED] Debug Monitor

Hi, how can I view the debug messages printed by DBPrintf. I need to get debug messages for testing, currently playing aroung with DG_Test. The documentation mentions something about a Debug Monitor but I could not locate such an application in Suppo...

Anonymous by Not applicable
  • 2841 Views
  • 3 replies
  • 0 likes