Print Page | Close Window

Simple Equations In Dynamic Input Field?

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=663
Printed Date: 22.Apr.2026 at 12:54


Topic: Simple Equations In Dynamic Input Field?
Posted By: Kev_Boy
Subject: Simple Equations In Dynamic Input Field?
Date Posted: 21.Apr.2008 at 10:21

Hello all, this is my first post on these forums and I'm a fairly new user of AutoCAD.

I've been using the dynamic input field(s) often but have often felt the urge to input some simple mathicmatical equations (264-39 for example when extending a line) but the program won't take it.

It has worked on very rare occasions but I have no real clue how. Is there any way to ensure this works to make AutoCAD know it's supposed to handle the input as an equation instead of a sole value?

Thanks In Advance :)




Replies:
Posted By: Vladimir Michl
Date Posted: 21.Apr.2008 at 10:38
You can directly use integer division ("/"). For other expressions you can use the AutoLISP notation - e.g.:
(- 264 39)
(* 6 7)
(/ 22.0 7.0)
(+ 1 2 3 4 5)
 


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Kev_Boy
Date Posted: 21.Apr.2008 at 13:12
It does appear to work, but I wonder why it will recognise a division but nothing else? Doing it with the AutoLISP notations is quite cumbersome :(


Posted By: Vladimir Michl
Date Posted: 21.Apr.2008 at 15:32

The data entry doesn't support expressions - the division only comes from the fraction data notation.

But LISP expressions are quite easy - all must be in round brackets, first comes the function, then its operands.


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Kev_Boy
Date Posted: 22.Apr.2008 at 11:39
Thanks, it's easier to understand written in English. Brackets -> function -> operands... cool! Clap



Print Page | Close Window