Archicad 28 C++ API
Loading...
Searching...
No Matches
API_PolyLineType Struct Reference

Represents a 2D polyline. More...

#include <APIdefs_Elements.h>

Public Attributes

API_Elem_Head head
 General element header.
 
API_ExtendedPenType linePen
 (Overridden) pen color attribute index.
 
API_AttributeIndex ltypeInd
 Line type index.
 
bool roomSeparator
 Room separator line.
 
short determination
 Line category:
 
API_ArrowData arrowData
 Arrow data for the line ends.
 
double penWeight
 Pen weight for the line (can override the weight in linePen, otherwise set it to API_DefPenWeigth : use default weight of the pen).
 
API_Polygon poly
 The polygon of the polyline.
 
short drawSegmentMode
 Determine the draw segment mode of the polyline. 0 means draw segments one-by-one, 1 means draw segments continuously.
 

Detailed Description

Represents a 2D polyline.

Member Data Documentation

◆ determination

API_PolyLineType::determination

Line category:

Category Meaning
APILine_DetOrigin Default line category. Lines in the Drafting line category are not affected by the Line
Weight and Section Fill settings chosen in Display Options.
APILine_DetInnerLine A skin separator line
separates skins of composite structures. Lines in the Skin Separator category will be either hidden or shown
depending on the Cut Fill type chosen in Display Options. Also, lines in the Skin Separator category can be
optionally placed onto their own layer during DXF/DWG conversion functions.
APILine_DetContourLine Lines in
the Cut line category will be affected if you have chosen the 'Bold Cut Line' setting in the Line Weight menu
of Display Options.