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

Streamline your workflows and master BIM coordination! Program starts April 28!

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Archicad 28 API zone creation error

larsr
Participant

Hello,

Can someone please verify why zone creation using the C++ API does not work as before? I can't create zones anymore in Archicad 28. I have tried the SDK example (Element_Test), but it does not work. The zone can't be created, and the error code is "APIERR_BADPARS".

My code is working in previous AC versions, but now it does not. 

Can anyone post the correct SDK sample for creating a zone using the AC28 C++ API?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft

Hi, I've tried the example code (Element_Test), It does work when running the following menus, could you check it again?

(I'm using AC28.1.0 (4001), API28.2000)

HTH.

LChen_0-1743990839362.png

 

View solution in original post

2 REPLIES 2
larsr
Participant

Just to make this question back on top.

Can anyone help? Is there a Graphisoft developer available to assist?

Solution
LChen
Graphisoft

Hi, I've tried the example code (Element_Test), It does work when running the following menus, could you check it again?

(I'm using AC28.1.0 (4001), API28.2000)

HTH.

LChen_0-1743990839362.png