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

Forum Posts

AC18 DevKits are available

Hi fellow developers, The ArchiCAD 18 API development kits are available in the download area. Don't forget to read the New Features Guide Good luck, Ákos

Help using ACAPI_Element_Change to change Door's "info"

I'm needing help to change the element.door.openingBase.info of all doors. I've been able to use this API function to change a Wall's info but for some reason no luck with Doors API_Element element, mask; Int32 nElem; GSErrCode err; char newID[256]; ...

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

Custom Toolbox panel

Greetings, Is there a way for you to add a custom panel in the toolbox? I already know how to create a new custom element (via ACAPI_Register_Subtype as seen below), but the thing is you need to add it via Work Environment after loading the add-on. (...

Erenford by Newcomer
  • 1597 Views
  • 2 replies
  • 0 likes

Roof creation

Hi All, Do you have any sample code how to create a roof from a set of points on a single plane? Thanks, Andor

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

Matlab Engine from Add on

Hey, I would like to call the Matlab Engine, but when I call Engine *ep; ep = engOpen(NULL); then I succeed to compile, but the Add-on doesn't load anymore. (I use an example provided by Matlab) I have the required libs in the solution explorer, and ...

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

Get element's extended data

You can get the element's default data by ACAPI_Element_GetDefaults and its default extended data by ACAPI_Element_GetDefaultsExt. You can change the element's default data by ACAPI_Element_ChangeDefaults and its default extended data by ACAPI_Elemen...

[???BUG???] API_DetailType->pos

Whenever I create a detail using ACAPI_Element_CreateExt() function, the detail marker will be put on (0,0). So I have to call ACAPI_Element_Change() function just to re-position the detail marker. It is fine when I use ACAPI_Element_Create() functio...

Using std::string on Mac platforms

Has anyone out there had any luck getting any of the API Example programs to compile under XCODE 5 using std:string ?? I have been able to compile the examples with no problem in their existing state. However, if I try to use a C++ std::string, the c...

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