Specify location of points relative to a reference line

Specify location of points relative to a reference line

Anonymous
Not applicable
440 Views
3 Replies
Message 1 of 4

Specify location of points relative to a reference line

Anonymous
Not applicable

Hi,

 

I have a line (3d) with defined chainage (km relative to a reference location). There are a list of fixed objects around the line, wherein the X-Y-Z coordinates of the objects are given. The line and the objects have the same origin and same coordinate system. I need to extract the location of the objects relative to the line, that is, the relative chainage and the distance to the line. Anyone knows how to extract the list of relative locations for those objects?

 

Thanks in advance!

 

ps. Attached is an example of a line with some objects around it. The objects are plot out based on their coordinates. Now I need to find the km-info of these points relative to the line and the distance to the line (NB. the line can containe lots of curves, just imaging a country road).

0 Likes
441 Views
3 Replies
Replies (3)
Message 2 of 4

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

do you have Civil 3D as product, because there you have tools to do this.

With plain AutoCAD you'll need additional work (like write your own tool or create dynamic blocks that can help, but not do everything automatically).

 

- alfred -

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

(not an Autodesk consultant)
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks!

 

No, I don't have Civil 3D. I can do it manually for each of the object, but it doesn't sound fun if there are many objects. So there is a tool in Civil 3D that one can extract these info automatically? Maybe I can get it if it is the only visible solution.

0 Likes
Message 4 of 4

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> So there is a tool in Civil 3D that one can extract these info automatically?

Civil 3D has alignments and can label objects with "station at alignment" and "distance from alignment". So yes, this function does exist, but I guess that can be done with a tool (LISP, VBA, ..) similar with less costs.

 

- alfred -

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

(not an Autodesk consultant)