CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 6103:
Question
A
Using AutoLISP, you can enter values computed as mathematical expressions - at almost any prompt in AutoCAD, including the fields of dynamic input interface.
E.g. when specifying a line length (direction given by cursor rubberline) you can enter not only a number (distance) but also a LISP function (equation) enclosed in round brackets - e.g.:
(- 264 39) (* 6 7) (/ 22.0 7.0) (+ 1 2 3 4 5)Please note that the LISP notation is different from common arithmetics - first comes the function, then its operands.
ACAD
22.4.2008
11296×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?