Archicad C++ API
About Archicad add-on development using the C++ API.
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to get more 3D faces?

Hi,I can only get the outer surface when I use 3D Manager fuction to get the geometry information of a column or wall.For example, when I create a rectangle column with veneer, I want to get the geometry information of the core only to get the polygo...

leilei by Enthusiast
  • 1557 Views
  • 0 replies
  • 0 kudos

Resolved! Cannot build Element_Test Add-On from Examples (AC 22 Windows)

Hello!When trying to build the example Element_Test (MDID_APICD_ElementManager) with Ctrl+Shift+B I get several errors by Visual Studio coming from an xlocale file (see attachment). I do not have this problem with building any other of the Example ad...

Anonymous by Not applicable
  • 3316 Views
  • 3 replies
  • 0 kudos

Resolved! Detail Marker: "Copy construction elements only" variable

Greetings, any ideas on what variable corresponds the "Copy construction elements only" on detail marker settings? It doesn't seem to be in the API_DetailType structure.What I'm trying to do is set / unset it on element creation. For now though it ju...

Erenford by Enthusiast
  • 2466 Views
  • 3 replies
  • 1 kudos

Resolved! Curtain wall coordinates

Hello Archicad forum,What would be the easiest way to get the corner position coordinates of a curtain wall. For a normal wall I use begC and endC and the width to determine the 4 corner coordinates of a vertical wall. However, I could not determine ...

Anonymous by Not applicable
  • 2837 Views
  • 4 replies
  • 0 kudos

Resolved! Instances/BaseElems

Hello. I want to ask if there is any way to check if an element/body is an instance of another in Archicad 22's API. I have tried many things such as checking Guids of the various components, comparing indexes of polygons. But after much testing, it ...

Anonymous by Not applicable
  • 2973 Views
  • 7 replies
  • 0 kudos

Resolved! Does not work ACAPI_Element_Change, API_ZoneID, poz.

Hello, I can not change the position of the zone stamp.The function itself is executed without errors, but the stamp does not move. The documentation indicated will change. For the experiment, changing the name of the zone and everything works with i...

Anonymous by Not applicable
  • 2436 Views
  • 3 replies
  • 0 kudos

Locked Element

I'm investigating the locking system. As far as I know, there are 4 different ways to make elements unable to modify in AC:- Edit/Lock- Layer Lock- Teamwork Lock- Being a member of hotlinkI found a detailed example of Teamwork lock here but what abou...

Anonymous by Not applicable
  • 2369 Views
  • 3 replies
  • 0 kudos

Looking for API function definition

Hi guys,How can I find, if possible, the definition of ACAPI_Property_CreatePropertyDefinition? I modified Element_Test example to have a menu command to open a text file and import the settings but I got a crash in this function

Anonymous by Not applicable
  • 2949 Views
  • 6 replies
  • 0 kudos

Resolved! Archicad Dll_Test example crash

Hi,I compiled the Dll_Test example in Archicad.When I start Archicad, it crashes every time in CheckEnvironment.How can I test this example?

leilei by Enthusiast
  • 1869 Views
  • 3 replies
  • 0 kudos