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

[SOLVED] Automatically starting add-on(notification handler)

Hi Is it possible to start add-on automatically?I want to use some events (APINotify_New, APINotify_Open, APINotify_Close).I've added GSErrCode __ACENV_CALL Initialize (void) { ... GSErrCode err = ACAPI_Notify_CatchProjectEvent (API_AllProjectNotific...

Anonymous
Anonymous
  • 2058 Views
  • 2 replies
  • 0 likes

How to create new texture material

API_Attribute attrib; API_RGBColor rgbC; short ltypeIndex; GSErrCode err; BNZeroMemory (&attrib, sizeof (API_Attribute)); BNZeroMemory (&rgbC, sizeof (API_RGBColor)); attrib.header.typeID = API_MaterialID; rgbC.f_red = 1.0; rgbC.f_green = 0.0; rgbC.f...

Anonymous
Anonymous
  • 1624 Views
  • 0 replies
  • 0 likes

[SOLVED] How to get the Reserved status of an Attribute

Hi - how can I cn the Reserve/Lock status of an Attribute (a Surface in particular). The following code only seems to work for Elements, not Attributes. API_LockableStatus lockableStatus = ACAPI_TeamworkControl_GetLockableStatus (attrib.header.guid);...

Anonymous
Anonymous
  • 2881 Views
  • 5 replies
  • 0 likes

[SOLVED] Guid array

for (GS::Array::ConstIterator it = elements.Enumerate (); it != NULL; ++it) { BNZeroMemory (&element, sizeof (API_Element)); element.header.guid = *it; I have specified witch guid to get. And i need to store them in array. I guess i'm doing something...

Anonymous
Anonymous
  • 1697 Views
  • 1 replies
  • 0 likes

[SOLVED] ACAPI_KeepInMemory problem

HiI have a dialog which inherits from DG::Palette class.Here is my dialog's header class class IssuesDialog : public DG::Palette, public DG::ButtonItemObserver, public DG::ListViewObserver { private: DG::LeftText m_textViewGuid; DG::LeftText m_textVi...

Anonymous
Anonymous
  • 2962 Views
  • 6 replies
  • 0 likes

Get Camera FOV from a Rendering addin

Hi How can I get the camera Field Of View from a rendering addin pls? I use the following code to get the camera position and target - but cannot find a way to get the FOV. GSModeler::Vertex targetPoint = camera->GetTargetPoint (); GSModeler::Vertex ...

Anonymous
Anonymous
  • 6093 Views
  • 9 replies
  • 0 likes

[SOLVED] How to find element by IFC Guid

HiMy goal is to find element by IFC GuidI have no choice to find by TagID because I'm getting IfcGUID from webAPI and I have to search by IFC GUID.Is there any way to do that ?Thanks in advance!

ifcguid.png
Anonymous
Anonymous
  • 3366 Views
  • 2 replies
  • 0 likes