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

How to use ChangeDefaultsExt to MyDoor Object

I would like to ChangeDefaults Door and Window(Change Object). Ex. - I have 2 door object [MyDoor1.gsm , MyDoor2.gsm]. - And "MyDoor1" is Defaults object then i would like change to "MyDoor2" object.

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

[SOLVED] Changing a Modal Dialog size

Hi I have a modal dialog defined in a GRC file with a fixed width/height. This dialog has been unchanged for 12 months, however now I need to add 5 fields to it - so the height needs to be increased. But when I increase the height in the GRC file it ...

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

[SOLVED] Is there a way to make a loading progress bar

Hi I would like to know is there a way to make a loading progress bar by AC API. I'm getting information from web service and somethimes it's take 10 second or more so I want to show loading process. If there is not a solution by AC API then is it ri...

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

Texture as Mask

Not sure if this would be the correct placement of this thread, but seen the question asked before in here. I am a designer of code128 barcode in vb.net.I have a texture intended as a mask. The texture type is GL_R32F (32 bit float) and the data insi...

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

[SOLVED] IMPORTANT! delete[] operator doesn't work

Hi Why AC crashs when I call delete[] operator My code separately works correctly Please give me an advise. Here is my add-on code typedef void(*get_building_info) (const char *user_id, const char * token, Building *buildings[]); LPCWSTR dllName = he...

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

[SOLVED] Issue related with Picture displaying

I show an image programmatically in my Dialog picture Problem is that picture result is a black frame Here is my code resource file 'GDLG' 32500 Modal 0 0 425 330 "Settings" { /* [ 1] */ Picture 19 12 64 64 400 ClientEdge /* user picture */ } 'DLGH' ...

picture_issue.png
Anonymous by Not applicable
  • 1814 Views
  • 2 replies
  • 0 likes

[SOLVED] How to interact to TabControl(NormalTab) controls

Hi I have a NormalTab control in my dialog. There is a TextEdit control in NormalTab. First I want to know to how I should declare the controls of the NormalTab and second get the TextEdit data in TestSettingsPageObserver class. Here is my code. reso...

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

APIElementEventHandlerProc bug?

I am doing an add-on where I will get the area of the zone when it was modified. I used the element event handler and handled the following events: APINotifyElement_Change APINotifyElement_Edit APINotifyElement_Undo_Modified APINotifyElement_Redo_Mod...

Resolved! [SOLVED] Parameters

Could i get parameters using ACAPI_Element_Select. F.e. get parameters from selected object and use these parameters for other object. I need hight, width, lenght, and position, probably sym_pos, or is there other way to get position? I hope this mak...

Anonymous by Not applicable
  • 3597 Views
  • 13 replies
  • 0 likes