dimension road

dimension road

yakird6JKSJ
Participant Participant
819 Views
15 Replies
Message 1 of 16

dimension road

yakird6JKSJ
Participant
Participant

I want to create lisp command that i draw polyline or define point on the road section so that it gives me measurements between all the elements of the road, for example a sidewalk, a divider, etc.

0 Likes
820 Views
15 Replies
Replies (15)
Message 2 of 16

diagodose2009
Collaborator
Collaborator

Exist solution , but you need too personally , none other need your.lisp?
Perhaps is obsolute for general programmer, because you steal time of other/s person.

0 Likes
Message 3 of 16

Moshe-A
Mentor
Mentor

@yakird6JKSJ  hi,

 

While you wait for a lisp, think of this: if you draw the road section from one pline (as a profile) and run QDIM command, this will give you exactly what you want.

 

Moshe

 

0 Likes
Message 4 of 16

yakird6JKSJ
Participant
Participant
qdim work only on horizon ucs ' so when i have diffrent road path qdim not really help me in that case
0 Likes
Message 5 of 16

Moshe-A
Mentor
Mentor

@yakird6JKSJ ,

 

qdim also works parallel to the current ucs

 

 

0 Likes
Message 6 of 16

hosneyalaa
Advisor
Advisor

Can you attached example drawing

0 Likes
Message 7 of 16

john.uhden
Mentor
Mentor

@yakird6JKSJ ,

If a stretch of your alignment is straight, then you can set your UCS to New;OBject and use QDIM across the entire section.

John F. Uhden

0 Likes
Message 8 of 16

Sea-Haven
Mentor
Mentor

I have this somewhere drag over multiple lines in plan and it shows all the dims. Like others to make sure post a dwg showing what you want. 

 

Try attached without a dwg to check not sure.

0 Likes
Message 9 of 16

yakird6JKSJ
Participant
Participant

i add example of road that i want dimension' ofc it is not really important the location just that it can work

 

0 Likes
Message 10 of 16

yakird6JKSJ
Participant
Participant

road path is change ' so in that case i need define ucs every time i want dimension

0 Likes
Message 11 of 16

Kent1Cooper
Consultant
Consultant

Do you mean the red Dimensions, or the white ones?  I see lots of red ones that dimension to nowhere:

Kent1Cooper_0-1724754894503.png

so what's really going on?

Kent Cooper, AIA
0 Likes
Message 12 of 16

yakird6JKSJ
Participant
Participant

i mean that i want put polyline like the screenshot ' and it automate make dimension btw elemnets

11111.PNG

0 Likes
Message 13 of 16

Kent1Cooper
Consultant
Consultant

@yakird6JKSJ wrote:

road path is change ' so in that case i need define ucs every time i want dimension


If I understand that correctly, I don't think you need to set a UCS.  DIMALIGNED could do it without that.  But as you say, the path changes, and the elements you want to dimension between are not always parallel, but vary in their distance from each other depending on where you dimension them, and even in what direction the dimensioning is aligned.

 

Is the idea that the User would be asked, for example, to draw a Line across a location, and the routine would dimension the series of its intersections with the road elements?  That could have different results even in the same location, depending on the exact angle of the Line, and I'm not sure there can be a criterion for that.  For example, here:

Kent1Cooper_2-1724761805907.png

the red Line was drawn from the right, PERpendicular to the left pink edge, but the green Line from the left, PERpendicular to the right yellow edge.  In that case the difference may not always be apparent if rounded to the nearest 1/10 of a meter, but I imagine there would be places where it would make a difference.  Would it just be up to the User to draw the Line in a meaningful location and at a meaningful angle?

 

Or do you have in mind some other means of defining a location for dimensions?  You mention a Polyline -- should it be in separate segments between each road element, so its direction can change with each?

 

You may want to FLATTEN the drawing.  Viewed from the side:

Kent1Cooper_0-1724761183916.png

those elevation difference could cause trouble with trying to dimension to intersections that don't intersect.

Kent Cooper, AIA
0 Likes
Message 14 of 16

john.uhden
Mentor
Mentor

@Kent1Cooper ,

I would think he should confine his dimensioning to only those stretches of the road that are straight and their elements parallel, IOW typical sections.

That way the process could be automated by his picking the centerline at a desired point and providing the desired section width via getdist.  We would derive the angle of the centerline, adjust the UCS, and swipe a QDIM at right angles to it.

John F. Uhden

0 Likes
Message 15 of 16

yakird6JKSJ
Participant
Participant

i think it is not really matter the line he draw because it should get result of dimension' anyway in that case i more accurare road to red line cause that how should be messaure

0 Likes
Message 16 of 16

Sea-Haven
Mentor
Mentor

I agree with John pick a control line then get perpendicular offsets to that line of crossing objects. Need @yakird6JKSJ to confirm. Pick control pt, pick outside left, outside right, find crossing points and dimension.

SeaHaven_0-1724802080176.png

 

 

 

 

0 Likes