CADDIT CAD CAM CNC Software - download AutoCAD compatible design software progeCAD Alibre T-FLEX and more
CADDIT Website Knowledge Base Search:

progeCAD Help

Welcome to progeCAD
Working with progeCAD
Command Reference
CAD System Variables
Programming progeCAD
Full Index (caution - 400kb)

Further Links:

Download progeCAD
Register progeCAD


T-FLEX PLM tutorial (PDF)
progeCAD IntelliCAD and AutoCAD training 
CATIA 2D 3D design tutorial
Alibre CAD/CAM basic tutorial


Educational CAD Software Solutions
Python scripting for DOS and Windows
Other free software downloads
CADDIT CAD CAM Forum Australia

(grvecs vector-lists [trans])

Draw one or more lines.

This function is like grdraw, except that it draws more than one vector at a time in the current viewport. These are temporary vectors that disappear with any command that refreshes the viewport.

The argument vector-lists represents lists for drawing vectors, complete with from and to points and color. The points must be passed as pairs, in two successive point lists:

'([color] from1 to1

[color] from2 to2



The color portion of the vector list must be within the range of 0-255. If the value is greater than 255, the color becomes XOR ink, which complements anything it draws over. If the color is less than 0, the vector becomes highlighted:

Color Meaning
-1 Highlight ink.
0 - 255 Standard progeCAD colors.
256 XOR ink.


Code Returns Draws
(grvecs '( 2 (1.0 1.0) (3.0 6.0))) nil 2 = Yellow vector.
(grvecs '( 1 (3.0 6.0) (6.5 10.5) nil 1 = Red vector.
4 (0.0 0.0) (3.0 5.0)))   4 = Cyan vector.


(grdraw point1 point2 color [highlight])

(redraw [ename [mode]])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

CADDIT® is a registered trademark in Australia. All Rights Reserved. Comments concerning the content of this site should be addressed to our webmaster. progeCAD is a trademark of ProgeCAD srl. Autodesk® and AutoCAD® are both registered trademarks or trademarks of a third party, and used only for comparison purposes. All other trademarks, trade names or company names referenced herein are used for identification only and are the property of their respective owners. Legal and Terms of Use. Google. Find us on Google+.