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

For-To-Next is ignoring subroutine object

Hello, I have set a subroutine with a custom 3d object which it shows as it should in 3D, the problem starts when I use a For_To_Next operation, the 3D object disappears totally.If I use a more simple object the For_To_next works. Calling the subrout...

jc4d_0-1653395718163.png jc4d_1-1653395798689.png jc4d_2-1653395881269.png
jc4d by Advocate
  • 468 Views
  • 8 replies
  • 0 likes

Resolved! pen stuck

Archicad 24. Does anybody knows about some global settings or smth like this that controls behavour/pen represantion? Till now all my objects were working ok and they still do. But I got pln file from architect and only for that file I have issue wit...

get element index

I want to use the "API_Elem_Head" to get the "API_ElemInfo3D" with the function "ACAPI_Element_Get3DInfo()".However, the "API_ElemInfo3D" i get has a zero value both of "fElemIdx" and "lElemIdx". Here's my code:GSErrCode __ACENV_CALL d5c_sync::Elemen...

How To Get Control Address By Modless Dialog

I make Modeless Dialog By DGModelessInit() Function.I use UserControl (257 0x0005 == TextPopup Control).Sample Source Modeless Class definistion #define popupid 5 UC::TextPopup* popup; Modeless Class in constructor popup (GetReference (), popupId), B...

Kouichi by Participant
  • 138 Views
  • 0 replies
  • 0 likes

replace window with door

I'd like to replace an element that actually is a window by a door, by changing the used library part.For replacing library parts window with window or door with door it works perfectly.But is it possible to change an element from window to door?My a...

How To Hook And Cancel When Delete Element

Please Teach me. How To Hook And Cancel When Delete Element. I catch DELETE Handler static GSErrCode __ACENV_CALL ElementEventHandler(const API_NotifyElementType *elemType) { GSErrCode err = NoError; switch (elemType->notifID) { case APINotifyElement...

Kouichi by Participant
  • 129 Views
  • 0 replies
  • 0 likes