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


int sds_entsel (const char *prompt, sds_name entity, sds_point point);

Select the object right here. . . *click*.

This function displays a prompt, then pauses for the user to select an object. The function returns the object selected and the point on the object where the user selected it.

The argument *prompt represents the text to prompt the user to select an object. When NULL, the program uses the default prompt, "Select Entity." The argument entity represents the name of the selected object. The argument point represents the point by which the object was selected.

This function returns RTCAN (when the user has canceled the request), RTERROR (when this function has failed), RTKWORD (when a call to sds_initget was made previously), or RTNORM, when this function succeeds.


  • This function ignores the current object snap setting.
  • If the user selects a complex object, such as a block or polyline, this function returns the nearest block (or polyline) header. If you want the nearest attribute or polyline vertex, use function sds_nentselp instead.


sds_name entity1;

sds_point point1;

sds_entsel("\nPick an object: ",entity1,point1);

sds_redraw(NULL,4); Un-highlights everything.

sds_redraw(entity1,3); Highlights selection.

sds_printf("\nSelection point: (%f, %f, %f.) ",point1[0],point1[1],point1[2]);

Programming Overview of SDS (Solutions Development System)


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