progeCAD Professional manual The low-cost alternative to AutoCAD

Index



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.

Appendix - Understanding AutoCAD compatibility - Programming progeCAD

Understanding AutoLISP compatibility

progeCAD adds LISP functionality that you will find useful. The following table lists functions that are unique to progeCAD LISP.

Additional progeCAD LISP functions

Unique LISP function

Definition

(log10)

Returns log base 10.

(lpad)

Pads a text string with spaces to the left.

(rpad)

Pads a text string with spaces to the right.

(tan)

Returns the tangent.

(trim)

Trims spaces from a string.

Not all progeCAD LISP functions are completely compatible with AutoLISP functions. The following table identifies progeCAD LISP functions that are partially compatible with AutoLISP functions.

Partially compatible LISP functions

LISP function

 

Description

 

(menucmd)

Supports P0 (cursor menu) and P1 through P16 (the pull-down menus) and M (diesel expressions), but does not support A (aux menus), B (button menus), I (icon menus), M (diesel expressions), S (screen menu), or T (tablet menus).

(osnap)

Supports an additional entity snap, pla, for planview (two-dimensional intersection).

(print1)

Does not support Unicode characters, such as \U+00B0 (the degree symbol) and M+Nxxxx (multibyte Unicode sequences).

(ssget) and (ssadd)

Supports additional selection modes:
CC = Crossing Circle
O = Outside
OC = Outside Circle
OP = Outside Polygon
PO = POint