
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.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Author |
Topic Search Topic Options
|
Cuty
Newbie
Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
|
Topic: help!!!!1 Posted: 09.Jul.2010 at 12:44 |
People, I need help... I hope somebody can answer me..
I am using AutoCAD 2007 verson and I do not know how to mesure the hozizontal distance between two points if these points have height.
The standard command DIST does not give me the horizontal distance in that case..
I hope somebody can answer me...!!!!
|
Cuty
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 09.Jul.2010 at 18:01 |
You can use the distance command, but exclude the z value when you select the points. Do this with a filter (type ".xy" when prompted for point), or with "osnapz" variable setting (not sure available in 2007)
|
 |
Cuty
Newbie
Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
|
Posted: 09.Jul.2010 at 23:31 |
First I want to apologize for not been clear enough, because in my work I need to be fast.Surely it does not take a lot of time to measure only one distance , but when you have a 30 - 40 it takes a lot of time.
The problem is I can not exclude the Z value because I need the height of the points, otherwise I would already done it.
Is there maybe a command that will automatically give you horizontal distance (maybe in AutoCAD 2008 version)???
|
Cuty
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 09.Jul.2010 at 23:43 |
I apolologize in not being more clear in my response :)
By "excluding z" I was referring to filtering out the z value while using the "distance" command. Not changing the points in any way. Re-read my suggestions and see if they make more sense.
1. Set OSNAPZ to 1, then run the distance command, it will give you the x-y distance.
2. Use the ".xy" filter when selecting points in the distance command, supply "0" as the z values, it will give you the x-y distance.
if you do this a lot you could make a button macro or a lisp routine.
|
 |
Cuty
Newbie
Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
|
Posted: 10.Jul.2010 at 13:30 |
Truly ti makes more sense now. The thing is in that I now just that basic stuff about AutoCAD, so I have know idea what lisps or macrons are.
Would it be difficult to write a lisp of that assignment???
|
Cuty
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 10.Jul.2010 at 20:07 |
The macro & lisp code is straightforward. What's more difficult is describing how to make a button to assign the macro to, andr how to load a lisp routine.
Macro code: ^C^C_distance;.xy;0;\.xy;0;\
(not sure the semicolon (enter) and backslash (pause) syntax is quite right
Lisp code;
(defun c:dx () (command "_distance" ".xy" "0" pause ".xy" "0" pause) (princ) )
To load the lisp code, you could copy and paste the 4 above lines to the command line. Then run it by typing "dx".
|
 |
Cuty
Newbie
Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
|
Posted: 12.Jul.2010 at 08:27 |
I do not understand.. the lisp code you gave mi.. how does it work.. I copyed it into the comand line and it doesnt worh????
|
Cuty
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 12.Jul.2010 at 09:08 |
Did you type "dx" after copying (loading) it? See i said explaining running the lisp was more involved; it was 3 steps: copy; paste, type "dx" :)
|
 |
Zupmicher
Newbie
Joined: 12.Jul.2010
Location: Chile
Using: Autocad 2011
Status: Offline
Points: 8
|
Posted: 12.Jul.2010 at 19:48 |
only to offset and help commands
|
 |
Cuty
Newbie
Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
|
Posted: 13.Jul.2010 at 10:35 |
Yes, I did as you sead, I copied it and then tiped "dx"
after that that in the command line appered this text:
Command: .xy Unknown command "XY". Press F1 for help.
Command: 0 Unknown command "0". Press F1 for help.
?????
|
Cuty
|
 |