CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 10934
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedSimple Equations In Dynamic Input Field?

 Post Reply Post Reply
Author
Kev_Boy View Drop Down
Newbie
Newbie


Joined: 21.Apr.2008
Status: Offline
Points: 5
Direct Link To This Post 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 :)

Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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
Back to Top
Kev_Boy View Drop Down
Newbie
Newbie


Joined: 21.Apr.2008
Status: Offline
Points: 5
Direct Link To This Post 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 :(
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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
Back to Top
Kev_Boy View Drop Down
Newbie
Newbie


Joined: 21.Apr.2008
Status: Offline
Points: 5
Direct Link To This Post Posted: 22.Apr.2008 at 11:39
Thanks, it's easier to understand written in English. Brackets -> function -> operands... cool! Clap

Edited by Kev_Boy - 22.Apr.2008 at 11:39
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,398 seconds.