Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Home Story Name in Python

Hello, I noticed that the "Home Story Name" property in the General category is not accessible directly in Python, so I was wondering if there is something that I'm missing here. Could anyone please provide a sample code that extract "General_HomeSto...

Arash by Contributor
  • 312 Views
  • 10 replies
  • 1 likes

Resolved! UI_CUSTOM_POPUP_INFIELD

Hi GDL experts, I have been reading about UI_CUSTOM_POPUP_INFIELD. I can get it to work in the Interface, however I am wondering how I can feed the result back to a parameter. For example: Interface Script:UI_CUSTOM_POPUP_INFIELD "MyParameter", 15, 7...

Resolved! Param-O display is not acting consistent.

It may be my programing, so I am posting screen shots. I am creating parallel bars that maintain a chosen width and spacing that allow the group of bars to stretch and change in number as needed. The Param-O 3D display shows the bars with proper size...

Screen Shot 2021-10-24 at 8.45.14 PM.png Screen Shot 2021-10-24 at 8.43.16 PM.png

How do I get/set profile modifier?

I am using Archicad 23.I want to get the settings from favorites, but I can't get the values of profile modifier.How can I get/set the value of all or a specific profile modifier?Please, help me. Here is the code. GSErrCode favtest() { GSErrCode err ...

arad by Participant
  • 168 Views
  • 2 replies
  • 0 likes

Resolved! Get building material name from ID

Hi everyone! In my GDL object Properties script, I have building material and material information that I would like to translate from Index to Name. For example, I have a building material with index 97 and the name Offices. In my lists, I use the b...

Kaj_AL by Booster
  • 288 Views
  • 2 replies
  • 0 likes

Resolved! "Locking" available dimensions to set points

Hello, I am trying to lock a point to only be set to specific points. Usually I would just use Step in a Values line to define it but the points aren't evenly spaced throughout it all. Here is the script I currently have but I'm having some issues wi...

JGoode by Advocate
  • 341 Views
  • 7 replies
  • 0 likes

Get elements inside drawing cropped view

I am trying to get all elements (specifically wall) from a drawing element. This drawing element is a view of a floor plan. Here is my initial code: // change database BNZeroMemory(&dbInfo, sizeof(API_DatabaseInfo)); dbInfo.typeID = APIWind_DrawingID...

Read-Only Properties

Hello everyone, i'm a student working at an architecture bureau and im experimenting with the Python API and Archicad.Lately we've been trying to set things with the acc.SetPropertyValuesOfElements() method and while doing so we noticed that there ar...

Dayiz by Participant
  • 162 Views
  • 2 replies
  • 0 likes