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

Resolved! PLANE_ status for curve

how to make arc segment for PLANE_ ?It doesn't work - I see nothing in 3D window. What I did wrong?I thought that at least, status codes 1000 and 3000 should work... si=15put 0, 0, 0, siput 0, 0, 2, siput 1, 0, 2, si+900put 2, 0, 2, si+3000put 2, 0, ...

Resolved! Using "Name_of_macro" in a macro

Hello, I am trying to create a link in a macro object that will open up an email with the subject already filled in with the name of the object. The problem I'm having is that the subject of the email is always the name of the macro instead of the ob...

JGoode by Advocate
  • 301 Views
  • 2 replies
  • 0 likes

Constant crash when changing pen attributes AC24

Hello, I'm having a constant crash on my ac24 when I try to change the lines or fills in my custom gdl object. I have reduced to the minimum and still the crash is replicable.Since yesterday I have sent the bug reports because ac force me to, here is...

att.JPG
jc4d by Expert
  • 744 Views
  • 14 replies
  • 0 likes

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 Expert
  • 511 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
  • 142 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...