A manual page a day... Click here to see the manual table of contents.
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 function name | Description |
---|---|
sds_grclear | Clears all graphics from the drawing window; similar to the LISP ( grclear ) function. |
sds_name_clear | Clears the entity name or selection set. |
sds_name_equal | Verifies whether two entity names or selection sets are equal. |
sds_name_nil | Verifies whether the entity name or selection set has been cleared. |
sds_name_set | Copies one entity name or selection set to another drawing. |
sds_pmtssget | 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. |
sds_point_set | Copies a point from one variable to another. |
sds_progresspercent | Displays the percentage done in a progress bar. |
sds_progressstart | Starts the progress bar. |
sds_progressstop | Ends the progress bar. |
sds_readaliasfile | Loads the PGP file into progeCAD. |
sds_sendmessage | Sends a message to the progeCAD command line. |
sds_swapscreen | 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.