Discussion forum
CAD discussion |
Please abide by the rules of this forum.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Simple Equations In Dynamic Input Field? |
Post Reply |
Author | |
Kev_Boy
Newbie Joined: 21.Apr.2008 Status: Offline Points: 5 |
Topic: Simple Equations In Dynamic Input Field? 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 :) |
|
Vladimir Michl
Moderator Group Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2018 |
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 Systems - arkance-systems.cz - Autodesk reseller |
|
Kev_Boy
Newbie Joined: 21.Apr.2008 Status: Offline Points: 5 |
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 :(
|
|
Vladimir Michl
Moderator Group Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2018 |
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 Systems - arkance-systems.cz - Autodesk reseller |
|
Kev_Boy
Newbie Joined: 21.Apr.2008 Status: Offline Points: 5 |
Posted: 22.Apr.2008 at 11:39 |
Thanks, it's easier to understand written in English. Brackets -> function -> operands... cool!
Edited by Kev_Boy - 22.Apr.2008 at 11:39 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,384 seconds.