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


struct sds_resbuf *sds_entget (const sds_name entity);

Get information about this object.

Given the name of an object, this function returns a result buffer with information about the object, such as layer, linetype, color, defining points, and so on. Note that the color, linetype, thickness, attributes follow flag, and entity handle are returned only when their value differs from the default value. The result buffer gives the group code as the restype and the value as the resval.

The sds_entget function returns x,y,z coordinates as a single point value in RPOINT and not as separate x, y, and z groups, as with DXF codes.

Before using sds_entget on polyline vertex entities, read the polyline's entity header because width information can be lost when the most-recently processed polyline object is different than the one the vertex belongs to.

The argument entity represents the name of the object whose information you wish to retrieve. If that object is not present in the current drawing, sds_entget returns NULL.

This function returns a linked list of result buffers with the information for one of the following: SDS_RTCAN, SDS_RTERROR, SDS_RTKWORD, SDS_RTNONE, or RTNORM.


sds_name entname1;

sds_point point1;

struct sds_resbuf *entlist;

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


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