Inhalt

Index

POLY2

POLY2 creates an open or closed polygon with n nodes.

poly2

Syntax

POLY2 n, frame_fill, x1, y1, ... xn, yn

Parameters

n (integer, ³ 2): number of nodes

frame_fill (integer): defines type of contour and/or fill, j1 + 2*j2 + 4*j3+512*j9 + 1024*j10

j1: contour only, 0=invisible, 1=visible
j2: fill only, 0=invisible, 1=visible
j3: polygon open/closed, 0=do not close polygon, 1=close polygon
j9: remove all existing polygons inside
j10: remove all existing polygons outside

x(n) (decimal): X coordinate of node n

y(n) (decimal): Y coordinate of node n

Remarks

To display a fill, you have to define the fill beforehand, e.g. with the FILL attribute.

Usable since script version 1.1 (Allplan 2012-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy