Got a minute? We appreciate your feedback:

Graphisoft Learn survey
Archicad C++ API
About Archicad add-on development using the C++ API.

Forum Posts

New Developer Hub Migration Completed

[UPDATE] Hi all, thank you for your patience. We are happy to announce that the migration of the Developer Hub has been completed. The Developer Forum is officially retired. To get a quick overview of the new Developer Hub, kindly check out this arti...

GSModeler element to API_element

Hi All,I have the GSModeler elements of a model, and I would like to get parameters from it. (material, volume, etc..). Could you please share a piece of code how can I get this through the API?Thanks: Andor

Anonymous
Anonymous
  • 2550 Views
  • 4 replies
  • 0 likes

drawing scale [SOLVED]

I am trying to add drawing using the API. I am able to do so but the scale of the drawing done with the API is not the same as manually doing it (drag-drop). (See attached image file.)The first image (above) is done manually while the second image (b...

create layout [SOLVED]

I am trying to create a new layout using ACAPI_Environment(APIEnv_NewNavigatorViewID). Here is my initial item data: API_NavigatorItem navi_item; BNZeroMemory(&navi_item, sizeof(API_NavigatorItem)); navi_item.mapId = API_LayoutMap; navi_item.db.datab...

Help! How to create a external sql connection? [Solved]

Hi all, im still new to ArchiCAD API so would like to ask for some help, a thank you in advance! Currently we trying to select data from our online MySQL server for our addon, was looking into odbc connection but sadly we can't find much information ...

Anonymous
Anonymous
  • 3189 Views
  • 4 replies
  • 0 likes

Can't use Add-on compiled with API 17 on ArchiCAD17

Hello all ! I have a very strange error with ArchiCAD 17 :In the "Extension Manager", on my add-on i have this message error : "This version of this add-on is old for this version ArchiCAD" I don't understand because I compil the add-on with API 17My...

Anonymous
Anonymous
  • 5113 Views
  • 6 replies
  • 0 likes

API realnumbers.h error

Hi All,I get an error:1>c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): error C2220: warning treated as error - no 'object' file generated1>c:\program files (x86)\graphisoft\api development kit...

Anonymous
Anonymous
  • 3512 Views
  • 5 replies
  • 0 likes

Button color

Hi,stuck with the API again I'm trying to make a simple colored button. It can also be a static text on a colored background.I tried:DG::Button - no method SetBackgroundColorDG::CenterText - also no method SetBackgroundColorDG::UserItem with DG::Cent...

Anonymous
Anonymous
  • 1187 Views
  • 0 replies
  • 0 likes

Problems trying to compile plug-in on Mac

I have developed a plug-in on Windows for ArchiCAD 16 and it works fine. Now I'd like to create a Mac version of the same and I'm having lots of problems.My Mac is running OSX 10.7.4 and I'm using XCode 4.6.3. I've also installed the API SDK for Arch...

Anonymous
Anonymous
  • 3035 Views
  • 4 replies
  • 0 likes

Get the names of layouts at Cyrillic

Hi!I try to receive names of layouts at Cyrillic (Russian & Ukrainian symbols), but when i output names to "Session Reporter", I receive garbage like @825B. Look attachment for more information.1 - Layouts names at "Navigator - Layout Book"2 - Output...

Anonymous
Anonymous
  • 2123 Views
  • 2 replies
  • 0 likes

Identifier of navigator - project plan

Hello All ! Are there a function that return an identifier in what plans we are in ArchiCAD ??An example : We are in a view cuts, I want the identifier of the view...If someone understands my reasoning, Help me !Thanks

Anonymous
Anonymous
  • 5377 Views
  • 7 replies
  • 0 likes