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

RGB fills

Hi!I can create RGB fills by exploding a pdf file which includes colored fills. Sorting them by color seems to be impossible, or am I wrong? Anyway it would be nice to create RGB fills in 2d script in same way as You can define material in 3d script....

Elements vs Lights

Hi. I'm confused about how to treat lights. I use the ModelerAPI.From the model, I can get a list of all elements (walls, stairs, windows, doors, handrails, etc) and get their GUIDs. There is also an element of type LightElement, so that's great.From...

3D-marker, connected marker

Hi guys1. Is there a way to connect a marker with two elements and not only with one? We write on our elements like walls or slabs, but we have to design these elements often with more than one element (underlay and slab). Or is it possible to connec...

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

APIEnv_SetCurrent3DStyleID Error

I have Error This Source in Debug(ArchiCAD 23 API / Windows / Visual Studio 2017 C++/Japanese)//----------------------------------------------Error Message / Code Stoppedハンドルされない例外が0x0007FF8866B4B89(KernalBase.dll)で発生しました(ARCHICAD.exe内);0xC000041D:ユー...

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

Open Source GDL library project

Hi there,After long thinking on this subject I would like to hit the new Open Source GDL programming project on this forum. The idea to involve GDL developers worldwide to start building new, independent, international, non-commercial library for all...

Editable hotspots disappearing

Hi!I noticed the very strange behavior of editable hotspots. Written on ArchiCAD 21 it did behave OK. But later, in ArchiCAD 23 & 24 editable hotspots have disappeared.The reason is that the hotpots existed inside of two IF - ENDIF conditions: IF ......

Change image-file used in the "ui_script" of lib-object?

Hi dear all,how can I get a new image in an existing gsm-object? I want change an image, that is used in the UI-script (it shows some kind of 'quick-start-guide'-graphics).It is only linked by its index (?) : ui_pict 1, 0, pageStartY When I convert t...

Anonymous by Not applicable
  • 745 Views
  • 6 replies
  • 0 likes

Inline Attributes

Is there any way, how to have inline attributes not polluting the project?The manual has a cryptic phrasing (as always), so I can't figure out, what's up with that.

runxel by Virtuoso
  • 677 Views
  • 7 replies
  • 0 likes

Resolved! Fit drawing to Layout(How to change the "bound" in API_DrawingType)

When we place a drawing onto a layout, sometimes the drawing is bigger than the layout so it overlaps.What I am trying to achieve is to resize the drawing to fit into the layout? To achieve this I am trying to chage the ratio ("API_DrawingType.drawin...

Nayan by Booster
  • 704 Views
  • 3 replies
  • 0 likes