Inhalt

Index

I_LINE

I_LINE generates a line 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_LINE x1, y1, x2, y2 [, id]

Parameters

x1, y1 (integer): X resp. Y coordinate of the starting point.

x2, y2 (integer): X resp. Y coordinate of the ending point.

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.

Remarks

For more information see I_CANVAS.

Usable since script version 2.0 (Allplan 2014-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy