Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Distance inquiry

9 REPLIES 9
Reply
Message 1 of 10
balloonsrise
867 Views, 9 Replies

Distance inquiry

When I inquire the distance between two points that are at different elevations using the DI command I only get slope distance and the individual x,y,z distances. So, I have been drawing a line first, then I list that and I get the current UCS distance, which is what I want. Is there another inquiry command that gives the plan distance so I don't have to draw the line first? TIA
Civil 3D 2013
Windows 7 64-bit
Inteel 2.40 GHz 8 GB RAM
Dell T7600
9 REPLIES 9
Message 2 of 10

Try cgslist or another command from the inquiry toolbar.
Message 3 of 10
Anonymous
in reply to: balloonsrise

OSNAP filter xy. you answer 0 and you'll get the 2d length

Joe
Message 4 of 10
balloonsrise
in reply to: balloonsrise

cglist requires I select an object, like a line. The inquiry toolbar doesn't have a selection point to selection point inquiry that gives me plan dimension either. I need a command that returns the plan distance between two points that have different z values. As if they did have the same z-values that is.
Civil 3D 2013
Windows 7 64-bit
Inteel 2.40 GHz 8 GB RAM
Dell T7600
Message 5 of 10
balloonsrise
in reply to: balloonsrise

Joe,
When I type in OSNAP I get the Drafting Settiings dialog box. I don't see an xy filter option in any of the 5 tabs. How do I get to the xy filter toggle?
Civil 3D 2013
Windows 7 64-bit
Inteel 2.40 GHz 8 GB RAM
Dell T7600
Message 6 of 10

Funny, when I read the command line I get an option for [Points], does that not show on yours?

Christopher
Message 7 of 10
Anonymous
in reply to: balloonsrise

I believe that is the same as OSNAPZ in the Modern Civil 3D.

Bill

"Joe Bouza" wrote in message
news:6272470@discussion.autodesk.com...
OSNAP filter xy. you answer 0 and you'll get the 2d length

Joe
Message 8 of 10
dness
in reply to: balloonsrise

;;Purpose: Return 2 dimensional distance from selected points
;;
(defun C:2DDIST (/ PT1 PT2)
(initget 65)
(setq PT1 (getpoint "\nSelect First Point: ")
)
(INITGET 65)
(PRINC "\nSelect Second Point:")
(getdist PT1 "\nDistance between points is: ")
)
Message 9 of 10
Anonymous
in reply to: balloonsrise

Set the OSNAPZ variable to 1. This will make it so that you always snap to 0 as your Z-value.

This will make the command will do what you want it to - and make for neater drawings. HOWEVER you must turn it back to 0 when you want to draw feature lines or other 3D stuff.

Hope this helps,
John
Message 10 of 10
Anonymous
in reply to: balloonsrise



shift right click when picking points. However,
Bill raises an excellent point (no pun intended) if OSNAPZ system variable =1
and current  ELEV system variable =0 you can selct 3d obj without getting
thier elevation values.

 

I'll go with the later.

 

Joe

 


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report