BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

So what does polygon mean?

LeeJaeYoung
Virtuoso

 

API_Polygon | ARCHICAD API (graphisoft.com)

  • the first coordinate of the array is not used; must be initialized to (0.0, 0.0) for polygons, and to (-1.0, 0.0) for polylines,

Q1. I'm curious what the polygons here mean.
At first I thought you meant a closed polyline.
However, even if initialized to -1.0,0, the polyline was closed.
So what does polygon mean?

AC27 on window 11
1 REPLY 1

The open polyline online works if you are creating a API_PolyLineType Element.
Other element types with polygon information can only have closed polygons.

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website: Archi-XT.com
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!