progeCAD Professional manual The low-cost alternative to AutoCAD


Do you want to try progeCAD Professional?
Download the trial: you can try the product, without any limit, for 30 days!

A manual page a day... Click here to see the manual table of contents.

Customizing progeCAD - Programming progeCAD - Using ADS applications

Understanding ADS compatibility

The primary difference between ADS and SDS is that all SDS functions have an sds_ prefix, and ADS functions have a variety of prefixes, such as ads_, acad_, and acrx_. The exception is dialog-related SDS functions, which have a dlg_ prefix. progeCAD accepts either prefix. Other differences include the additional SDS functions listed in the following table.

SDS functions with no ADS equivalent

SDS function name



Clears all graphics from the drawing window; similar to the LISP ( grclear ) function.


Clears the entity name or selection set.


Verifies whether two entity names or selection sets are equal.


Verifies whether the entity name or selection set has been cleared.


Copies one entity name or selection set to another drawing.


Similar to the ads_ssget function, but allows you to display a prompt appropriate for the specific command, rather than the generic "Select object" prompt.


Copies a point from one variable to another.


Displays the percentage done in a progress bar.


Starts the progress bar.


Ends the progress bar.


Loads the PGP file into progeCAD.


Sends a message to the progeCAD command line.


Flips the off-screen device context to the display.

Some ADS functions are not supported in SDS, including: ads__msize, ads_ssgetx, ads_ssnamex, ads_tablet, ads_ssGetKwordCallbackPtr, ads_ssGetOtherCallbackPtr, and adsw_acadDocWnd.

For more information
  • Read the online documentation for SDS functions.
  • See the \progeCAD ...\Api\Sds folder, which contains the SDS include, header, and library files.
See the \progeCAD ...\Api\Dcl folder, which contains the core DCL files.