Distance between a multiple points on autocad2020?

Distance between a multiple points on autocad2020?

Anonymous
Not applicable
8,616 Views
21 Replies
Message 1 of 22

Distance between a multiple points on autocad2020?

Anonymous
Not applicable

Please anyone of you can help me to know how to mesure a distance between a multiple points?

Thank you, 

Regards. 

0 Likes
8,617 Views
21 Replies
Replies (21)
Message 2 of 22

pendean
Community Legend
Community Legend
DIST command not an option?
Message 3 of 22

injineri
Advocate
Advocate

In DIST command there is [multiple points] option and with that you can measure distance between multiple points

Message 4 of 22

Moshe-A
Mentor
Mentor

@Anonymous  hi,

 

use DIST command to measure between 2 points and 'copy' that process multiple times?!

 

moshe

 

Message 5 of 22

Anonymous
Not applicable

thank you for your reply but DIST do not work anymore between two points! i am using autocad 2020 and i want to know the distance between different points of my polyline which is not straight. 

 

0 Likes
Message 6 of 22

pendean
Community Legend
Community Legend
Why doesn't DIST work? How does it not work? DIST measures between two points, they do not need to be in a straight line, do you just need to turn off ORTHO or SNAP?

LIST command will tell you the length of each PLINE segment if that is what you need.

Message 7 of 22

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... DIST do not work anymore between two points! .... i want to know the distance between different points of my polyline which is not straight.


 

Are you talking about arc  segments, and wanting to know the length along the curve?  That can be calculated with some code, or if there is no Polyline width  involved, you could EXPLODE the Polyline, look at the length of a resulting Arc [or any segment] in the Properties palette or a LIST command, and re-JOIN the Polyline back together.

 

If this is not  about arc segments, what happens  when you use the DIST command?

Kent Cooper, AIA
Message 8 of 22

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> DIST do not work anymore between two points!

Sorry, can't agree to that. Command _DIST does wirk between 2 AutoCAD points, as long as you are using the correct object snap.

 

>> i want to know the distance between different points

>> of my polyline which is not straight

Well, that sounds totally different to your first post, there was no message about a polyline-length between 2 points on the polyline.

What would I do without having a tool: copy the polyline, run command _BREAK on both points you like to have as start- and endpoint for measuring, then select this new polyline and use either property window or command _LIST to get it's length.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 9 of 22

RobDraw
Mentor
Mentor

@Anonymous wrote:

thank you for your reply but DIST do not work anymore between two points! 

 


 

That is the definition of distance. How can it not work?

 

Can you please describe exactly what you are doing?


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 10 of 22

Anonymous
Not applicable

It is not an arc unfortunatelly! when i use DIST I select for example a ligne and it gives me "the lenght (read only) "of it. 

0 Likes
Message 11 of 22

Anonymous
Not applicable

Hi,

Actually, I want to mesure the lenght of my hydralic piping. 

0 Likes
Message 12 of 22

RobDraw
Mentor
Mentor

@Anonymous wrote:

It is not an arc unfortunatelly! when i use DIST I select for example a ligne and it gives me "the lenght (read only) "of it. 


 

Something is wrong here. The command prompt after initiating the DIST command is "Specify first point".


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 13 of 22

Anonymous
Not applicable

Yes something wrong! I have just have Autocad 2020. I use to use this command with Autocad 2018 and it works. 

0 Likes
Message 14 of 22

RobDraw
Mentor
Mentor

I don't have 2020 yet but I would be surprised if this has changed.

 

Is there any chance you are confusing this with the new Quick Distance feature?


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 15 of 22

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

It is not an arc unfortunatelly! when i use DIST I select for example a ligne and it gives me "the lenght (read only) "of it. 


I don't understand.  The DIST command does not ask you to select objects.  It does this kind of thing:

Command: DIST
Specify first point: {I picked a point}
Specify second point or [Multiple points]: {I picked another point}
Distance = 0'-2 95/256",  Angle in XY Plane = 288d26'5.82",  Angle from XY Plane = 0d0'0.00"
Delta X = 0'-0 3/4",  Delta Y = -0'-2 1/4",   Delta Z = 0'-0"

 

[That's in Acad2019, so maybe 2020 is a little different.]  If that's not what you are asked for, run the command, press F2, and copy the command-line contents and paste them into a reply.

 

A listing of VLA properties would include the (RO) read-only indicator on the length of a Line.  Maybe QuickProperties about a Line in 2020 also does, but not in 2019.  How are you really getting that?

Kent Cooper, AIA
Message 16 of 22

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

....i want to know the distance between different points of my polyline which is not straight. 


 

Going back to that....  Maybe you need something like this:

(vl-load-com)
(defun C:DPO ; = Distance between Points on Object
  (/ ent p1 p2)
  (setq
    ent (car (entsel "\nSelect object: "))
    p1 (getpoint "\nFirst point on object: ")
    p2 (getpoint "\nSecond point on object: ")
  ); setq
  (prompt
    (strcat
      "\nDistance along object between those two points = "
      (rtos ; in current Units mode/precision settings
        (abs
          (-
            (vlax-curve-getDistAtPoint ent (vlax-curve-getClosestPointTo ent p1))
            (vlax-curve-getDistAtPoint ent (vlax-curve-getClosestPointTo ent p2))
          ); -
        ); abs
      ); rtos
    ); strcat
  ); prompt
  (princ)
); defun

You select an object, and select any two locations along it, and it tells you the distance along that object between those two locations.  It works on any kind of object with linearity [Line, Arc, Circle, Polyline, Ellipse, Spline, Ray, Xline].

 

It asks for the points to measure between separately  from selection of the object.  It could be altered to use the point at which you first select the object  for the first point of the measured distance, if that would suit your workflow better.

 

It's in very simplest terms, and does not check that you picked an object that it can measure along [i.e. not a thing without linearity such as Text or a Block], nor that the two points you pick are actually on it.  But it could be enhanced to check for those things.

 

Kent Cooper, AIA
Message 17 of 22

rkmcswain
Mentor
Mentor
@Kent1Cooper wrote

That's in Acad2019, so maybe 2020 is a little different.

No, it's the same in 2020.

 

Command: ._DIST
Specify first point:
Specify second point or [Multiple points]:
Distance = 8.8152,  Angle in XY Plane = 25,  Angle from XY Plane = 0
Delta X = 8.0166,  Delta Y = 3.6662,   Delta Z = 0.0000

 

We could save everyone a boatload of time if @Anonymous would make a screencast and *show* us exactly what is not working in 2020 that used to work in 2018. 

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 18 of 22

pendean
Community Legend
Community Legend
The command is DIST
Only four letters.

You are typing DISTANCE
8-letters
That is a read only variable that reports your last DIST command result (read only too).

Look up both in HELP @Anonymous that is a good place to learn commands and functions that can be potentially confusing.
0 Likes
Message 19 of 22

rkmcswain
Mentor
Mentor
pendean wrote:
You are typing DISTANCE
8-letters

Where did you come up with that at? Am I missing some posts in this thread?

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 20 of 22

Kent1Cooper
Consultant
Consultant

@rkmcswain wrote:
pendean wrote:
You are typing DISTANCE

Where did you come up with that at? ....


I had the same question.  I assume he's inferring it from Message 10, because when you type DISTANCE, its report on the System Variable value includes the "(read only)" part mentioned there.  But the OP mentions using DIST [4 characters only] there, which is why I said I didn't understand in Message 15.  So, @Anonymous, what command or System Variable name are you really using?

Kent Cooper, AIA
0 Likes