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

Help regarding python script -> change ID of elements

Dear community, I have (I imagine) a very simple issue that I am trying to resolve in python. I am trying to select for example all walls which have composite structure type, and then change id of each wall to the name of the composite which is assig...

Petar by Booster
  • 794 Views
  • 4 replies
  • 0 likes

PolyOperation using Dictionaries

Hi, I'm trying to figure out how PolyOperation works with DICT......but anytime I try my result is always empty or an error... Does anyone know how this works?where can I find a small example? Many thanks in advance!

Test for Story Visibility

How do I find out if a story is checked as visible or not? STORY_INFO will tell me the number, name, elevation, and height to next...but not ON/OFF status.

Bruce by Enthusiast
  • 265 Views
  • 3 replies
  • 0 likes

User defined GDL Polygon with editing midpoints

Hello all,I've been working on a GDL file for floor which is done as an user defined polygon polygon. When one midpoint moves, a new segment is created, as well as new mid-points (as editable hotspot), like image attached.Could someone, please, give ...

Resolved! GDL Trigonometry question

Hi,I have a label where i move the marker around freely through hotspots (xins and yins).I don't understand how to code the line to stop at the perimeter of the circle. If I knew how ATAN works I could do this but i get an error when trying to use AT...

gdl atan.jpg

Resolved! Request changes Array format

I have a 2D Parameter array in object A which is formatted as Array [m][n] but in object B when I use REQUEST I end up with Array [1][m x n] in the imported array and dim1 & dim2 values. Any suggestions why this is happening before I transfer the val...

Get the layout name

How do I get the layout name? I can't find a request command, or a global variable, or an AC_ variable. I know how to do a TEXT2 0, 0, "", but I can't extract this to run a STRSTR command. _layoutName = "" doesn't work.

Bruce by Enthusiast
  • 656 Views
  • 11 replies
  • 0 likes

Resolved! Can I use Textblock within a for next?

I have an array that I need to output but I need to be able to control the width of each line it outputs. I understand that you cannot have a duplicated textblock name but is there a way around this? I can almost achieve what I need with a basic text...

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

Resolved! Custom menu with only 3 of 4 sub-menus

Archicad 24.6004 USA FULLVisual Studio 2017 I am creating a custom menu that has four sub-menu choices. I made the attached .pdf to help check my work and reveal the problem. Turns out that it only explains my problem. I am only getting three of the ...