cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum
GDL coding questions, Python and add-on development using the API Dev Kit.

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

How to get List of Wall guid that relate to selected zone?

How to get Wall Guid that relate to selected zone? In my project, I can get zone quantity and wall part out of it. But , are there any method that I can get guid of the wall around selected zone. This is my code snippet zone function. It's can get th...

ArchiCAD_Zone_Problem1.jpg
Anonymous by Not applicable
  • 7527 Views
  • 5 replies
  • 0 likes

User Controls and UC.h

I have found no documentation on functions declared in UC.h It is very interesting to know what e.g. (UCFunctionTable* ucFt) does. This functions are about user interface controls (such as pen selection or layers list, material list and so on). There...

Anonymous by Not applicable
  • 2005 Views
  • 0 replies
  • 0 likes

X64 Archicad: The selected object is not a All Add-Ons.

I am developing my add-on using window7 , vs 2005 for ArchiCAD 13 , 64bit. When I am opening a new project and compile any add on (even new empty project) with X64 as platform and try to load the add on in ArchiCAD 64 Bit under window 7. It gives: "T...

Anonymous by Not applicable
  • 4287 Views
  • 4 replies
  • 1 likes

'DGModelessInit' : cannot convert parameter 2 in x64 window

I finished compiling and testing a project in 32bit Archicad but when I am compiling the same project with X64 option. I ran into trouble with the dialogue handler. For eg, in the example project "DG_Test" supplied with the APIDevKit . the line: isOK...

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

problem with add-on running in x64 bit ArchiCAD

I compiled my addon that can run in archicad13, 32 bit, pc. I open up a new API project with "include x64 target" option checked and transfer all the script across and compile it again. When I try to load the add on under window 7, archicad13, 64 bit...

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

Problem: "Include X64 targets" with new AddOn in window 7

I am trying to build new add-on using the APIDevKit with Window 7 using Visual Studio 2005 and APIDevKit 13.2517 for ArchiCAD13. When I try to start a new project using the installed template "ArchiCAD Add-On", I am given 3 options, the last one is "...

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

Launch ArchiCAD 13 in Debug Mode from Visual Studio 2005

I am trying to rebuild a project from ArchiCAD 10 to ArchiCAD 13. When I finished converting all the codes and about to launch ArchiCAD in Debug Mode, I got this a window saying: Debugging information for 'ArchiCAD.exe' cannot be found or does not ma...

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

ARCHICAD 12 . how to allocate Memory for [uchar_t*]

I am trying to convert an API from Archicad 9 to Arhicad 12. When I was trying to write some data into a GDL's string parameter. I used to do this: chgParam.uStrValue=BMAllocatePtr(strlen(strValue)+1,ALLOCATE_CLEAR,0); CHCopyC(strValue,chgParam.uStrV...

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

How to use the Geometry::StripPolygon2D()?

I Created a polygon as the example. The Geometry::ValidatePolygon2DData (&polygon) returns NoError; The Geometry::CheckPolygon2DDataIntegrity (polygon) also returns NoError. However when executing Geometry::StripPolygon2D(&cutline1,&cutline2, &polygo...

Anonymous by Not applicable
  • 6336 Views
  • 8 replies
  • 0 likes