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

Forum Posts

How to deal with string array parameters?

Hey everyone, i am trying to wrap my head arround how to handle string arrays in memo params. Example: UInt32 totalParams = BMGetHandleSize((GSConstHandle)memo.params) / sizeof(API_AddParType); for (int i=0; i conditions = {"param1" ,"param2"}; if (c...

Anonymous by Not applicable
  • 801 Views
  • 3 replies
  • 0 likes

Resolved! Type conversion GS::Unistring to GS::uchar_t[]

Hey everyone, i need to set a GDL param value from my addon and i struggle to define my new value with the correct type. UInt32 totalParams = BMGetHandleSize((GSConstHandle)memo.params) / sizeof(API_AddParType); for (int i=0; i

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

PYTHON API

The download link seems to be broken (W10 and macOS) isn't it ? https://beta.graphisoft.com/#/products/home?product=Python%20API%20for%20ARCHICAD%2022

Update layouts / drawings?

Hello, I want to update my layouts by code. Tried checking rebuildcurrentdatabase but didn’t get anything. How can I make the “update” action to be called by code? Thanks!

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

Resolved! How to get Sun Guid?

Hi. I'm trying to figure out how do I get the guid of the sun ( if this is even possible ? ). All that I've found is API_SunInfo which is not helpful for me, the 2nd approach is returning empty GS::Array. Thanks for your assistance. API_SunInfo sunIn...

Anonymous by Not applicable
  • 1295 Views
  • 4 replies
  • 0 likes