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

MEP Connection won't actually connect

I've been trying for a couple hours to make a working GDL connection but for some reason, i can't get it to work. I does actually stretch, show the pink hotspot but no matter what I do, i cant get it to "connect" to a pipe, like native objects will d...

Anchor Point for door/objects

HiI am looking to change all the door objects on the plan to have a centre anchor point.Where can I find this property and is it possible to change in AC22?RegardsBianca#staysafe

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

Specifying own translator when publishing layouts

Hey,Is it possible to specify, from code, a translator to be used when publishing DWG layouts?I use this method "ACAPI_Automate(APIDo_PublishID, &pars, &selected)" in my add-on to export DWG layouts, but I would like to export the layouts with a tran...

Python Implimentation in 24

FYI:For those of us who enthusiastically participated in the initial python beta in Archicad and were then “locked out” of the actual implementation beta in 24, I would like to hear an update of where we are going?I ask this because Graphisoft has pu...

Creating Hole In Slab

Hello,i'm trying to use ACAPI_Element_ChangeMemo in order to create a hole in my slab. for some reason, i always get a APIERR_BAPARS error for some reason.i tried using the hole creation example in the Element_Test, but it showed the same error. here...

Anonymous by Not applicable
  • 1321 Views
  • 5 replies
  • 0 likes

LNK4204 error - can’t debug

Hello,On Mac I was able to debug flawlessly On windows I’m getting lnk4204- says that API_c.pdb is missing and that it’s linking as if no debug info.Even if I’m changing project settings to create API_c.pdb instead of myprojectname.pdb, it still can’...

Anonymous by Not applicable
  • 2698 Views
  • 19 replies
  • 0 likes

Resolved! Int to short??

Hello guys,I’m struggling this stupid problem for a few hours now.I need to convert int to short.When I’m doing it with static_cast or just as (short)varName, the solution goes crazy and I’m getting 35 errors (In classes with no connection to my code...

Anonymous by Not applicable
  • 18373 Views
  • 7 replies
  • 0 likes

Using ACAPI_Command_ExternalCall problem

Hi everyone,i have recently needed to do a specific task in another instance of AC, in a way that won't prevent me from using the program (that is, asynchronous).To do so, i implemented the ACAPI_Command_ExternalCall function. it works almost perfect...

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