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

Resolved! Get object parameter (GDL variable) with Autotext

I've been struggling with this issue for a while, but because it seems simple, I thought I might just have missed some simple solution. But here goes:I GDL script custom objects from scratch and want to label them with the autotext function. In schem...

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

How to close window?

GS::ErrCode err;err = ACAPI_Automate(APIDo_CloseID,nullptr);As result I have - error code APIERR_REFUSEDCMDHelp me please!)

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

Resolved! Creating a new Element for a Library Object

Hi guys,With your help I imported this library object from an .lcf file which has classification Building Element Proxy:I have to create an element for it and I want to ask the following:1. Do I have to use ACAPI_Element_Create or some API_​LibPart f...

Anonymous by Not applicable
  • 3367 Views
  • 17 replies
  • 0 likes

Modifying External Drawing Links

I'm struggling a little with the API + documentation regarding drawing links. The customer has some external drawing links that they wish to change the link on, but I can't see how this might be possible in the API.I can see 'APIDb_GetDrawingLinkID' ...

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

Developer License

Hi there,If I purchase the 1 year Developer License of Archicad, what exactly do I get? This type of license is not mentioned in where licensing is explained, but is mentioned on the pages related to Graphisoft API.Thanks

Anonymous by Not applicable
  • 1396 Views
  • 1 replies
  • 0 likes

Resolved! Moving Dimension text thru API disables 'Always Readable'?

Hello everyone,What I'm trying to do is to move the dimension text (force it to the center) if its automatic position is outside. I've successfully done it, but I noticed that when I move it thru API, 'Always Readable' is disabled. I tried moving the...

Save as IFC using API

I am developing an API to export to IFC file.I understand that I can use the function: [ACAPI_Automate(APIDo_SaveID, &fsp, &pars_ifc);] and set the file type to APIFType_IfcFile.However, I am having difficulty in selecting another translator instead ...

Hoa Tu by Newcomer
  • 631 Views
  • 1 replies
  • 1 likes

Resolved! How to add and apply an .lcf file?

Hi guys and Happy New Year Does anybody know how can I add and "Reload & Apply" an .lcf file?I looked through all API functions and did not find any. In the Library Manager I saw that the default Archicad Library 22 has a corresponding file Archicad ...

Anonymous by Not applicable
  • 2319 Views
  • 14 replies
  • 0 likes

how to create curtainWall accessory?

void Do_CurtainWall_createAccessory(void) { API_Element element, mask; API_LibPart libPart; API_Guid guid, guid1,guid2; API_ElemTypeID typeID; GSErrCode err; BNZeroMemory(&element, sizeof(API_Element)); if (!ClickAnElem("Click a Curtain Wall to Modif...

vanxis by Participant
  • 887 Views
  • 4 replies
  • 0 likes