I_POLY
generates a polyline within the drawing area defined by a preceding I_CANVAS
command; therefore, it may be used only in conjunction with I_CANVAS
.
For this the current settings defined by I_COLOR
and I_PEN
are used.
Syntax
I_POLY
n, id, x1, y1, x2, y2, ... xn, yn
Parameters
n
(integer, ³ 2): number of points.
id
(integer): unique identifier; at a click on the object, the global variable GLOB_UI_BUTTON_ID
is set to the ID specified in the parameter id
.
xi
, yi
(integer): X resp. Y coordinate of the polyline nodes 1
... n
.
Remarks
For more information see I_CANVAS
.
Usable since script version 2.0 (Allplan 2014-1).
(C) ALLPLAN GmbH |
Privacy policy |