cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeJaeYoung
Virtuoso

So what does polygon mean?

 

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.

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com

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!