grdraw


(grdraw  fromPoint  toPoint  aciColorIdx  [ highlight ] )

This function draws a line from fromPoint to toPoint using aciColorIdx color, optionally with highlighting effect.

Arguments

fromPoint  start point of the line, 2d/3d point list, relative to current UCS

toPoint  end point of the line, 2d/3d point list, relative to current UCS

aciColorIdx  integer, ACI color index (0...255); -1 specifies XOR effect, which undraws the line

highlight  (optional) integer; non-0 = draw using highlighting effect; if not specified or 0, drawn as solid line

Return

always NIL

Example

(grdraw  '(1 1 0) '(5 5 0) 2 1)  draws a yellow line with highlighting effect

Remarks

see (grarc) and (grfill) functions (specific for BricsCAD)



©  Bricsys NV. All rights reserved.