POLY2
creates an open or closed polygon with n nodes.
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=visiblej2
: fill only, 0=invisible, 1=visiblej3
: polygon open/closed, 0=do not close polygon, 1=close polygonj9
: remove all existing polygons insidej10
: 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.
Examples for usage of frame_fill
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |