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

progeCAD Help

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

Further Links:

Download progeCAD
Register progeCAD

Learning

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

Resources

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

sds_grvecs

int sds_grvecs (const struct sds_resbuf *vlist, sds_matrix mat);


Draw vectors on the screen.


This function draws one or more vectors on the screen, unlike the sds_grdraw, which draws a single vector. Vectors can be displayed in any of the standard colors and can be highlighted or displayed normally.

The argument vlist represents a list of result buffers that specify the vectors. The vectors are clipped as required. The vlist consists of point pairs and a color. RTPOINT specifies a pair of 2D x,y-coordinates; or RT3DPOINT specifies a pair of 3D x,y,z-coordinates.

RTSHORT specifies the color of the vector:

Color Meaning
-1 Vector is highlighted.
0 -255 Standard colors.
256 Vector is drawn in XOR ink.

NOTE When vectors are drawn in XOR ink and one XOR-colored vector overdraws another vector, it is drawn in a complimentary color. When an XOR-color vector overdraws itself, it becomes invisible.

The argument mat is a 4 x 4 matrix that transforms the vectors before they are displayed.

This function returns RTERROR or RTNONE.

Programming Overview of SDS (Solutions Development System)

sds_grdraw

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+.