How to draw inclined lines entering levels

How to draw inclined lines entering levels

jaimuthu
Advocate Advocate
1,186 Views
9 Replies
Message 1 of 10

How to draw inclined lines entering levels

jaimuthu
Advocate
Advocate

I want if i pick two points p1 and p2 and enter the level value draw the line between points p1 and p2 with i enter i levels here i attached drawing what i need

0 Likes
Accepted solutions (1)
1,187 Views
9 Replies
Replies (9)
Message 2 of 10

Kent1Cooper
Consultant
Consultant

One way is with OBJECT SNAP TRACKING.  >Learn about it.<  Also >here<.  The F11 key toggles it on/off.

Kent Cooper, AIA
0 Likes
Message 3 of 10

jaimuthu
Advocate
Advocate

i want draw section in pick two points on plan view than draw the line with lvl difference .

0 Likes
Message 4 of 10

Kent1Cooper
Consultant
Consultant

@jaimuthu wrote:

i want draw section in pick two points on plan view than draw the line with lvl difference .


So your sample drawing did not represent what you want to do, but your level difference is in the Z direction?

 

Use >COORDINATE FILTERS<:

LINE [or PLINE?] command.

Type .XY [note the preceding period]

It will say "of"

Pick P1 and it will get only the X and Y coordinates from there

It will say "(need Z): "

Give it your elevation for that end [12 in your example].

Repeat the procedure for P2, giving it 12.5 at the end.

Kent Cooper, AIA
0 Likes
Message 5 of 10

jaimuthu
Advocate
Advocate

i have many points i want lisp code for this one i pick two points and enter level of each point drawthe line exampel:

attached in drawing

0 Likes
Message 6 of 10

Sea-Haven
Mentor
Mentor

Google "Draw Longsection autocad lisp" or "Draw cross section autocad lisp". You should be able to do like chainage then elevation and it will draw a proper section including scale factors Horizontal & vertical..

0 Likes
Message 7 of 10

Kent1Cooper
Consultant
Consultant

@jaimuthu wrote:

i have many points i want lisp code for this one i pick two points and enter level of each point drawthe line exampel:

attached in drawing


It's still not clear to me whether your "level" means in the Y direction as in your first drawing, or the Z direction.  And if "attached in drawing" here means you meant to attach another drawing, it didn't attach.  [You cannot attach things in a reply to an email notification, but you must come to the website.]  If it still refers to the first one, have you tried the Osnap Tracking suggestion?

Kent Cooper, AIA
0 Likes
Message 8 of 10

jaimuthu
Advocate
Advocate

HERE I ATTACHED NEW DRAWING  WHAT I WANT 

0 Likes
Message 9 of 10

Kent1Cooper
Consultant
Consultant
Accepted solution

If you're doing it in plan view and your section view is just the tilted-over illustration of the result that would be up at the elevations in the plan, you can do that with Coordinate Filters as already suggested.   [Red is you, green is AutoCAD prompts]:

 

LINE

.XY

of {pick the red P1}

(need Z): 235

.XY

of {pick the red P2 or the yellow P1 [same XY]}

(need Z): 235

.XY

of {pick again the yellow P1 or the red P2 [same XY]}

(need Z): 225

.XY

of {pick the yellow P2 or the green P1 [same XY]}

(need Z): 225

.XY

of {pick again the green P1 or the yellow P2 [same XY]}

(need Z): 235

.XY

of {pick the green P2}

(need Z): 235

{Enter}

 

If you're drawing it into the Z direction like that when in XY plan view, you can't use PLINE [which can only be flat in the current drawing plane] but must use LINE [which can draw into the third dimension], or, if you think it better, 3DPOLY.

 

If you actually want to draw it in already-tilted-over section view, so the levels are Y-direction differences rather than Z-direction, then seriously, learn about Object Snap Tracking [Message 2].

Kent Cooper, AIA
0 Likes
Message 10 of 10

Sea-Haven
Mentor
Mentor

Reset the line work to match the RL Z value.

Add a dummy line to inside of the kerb at 0.00001 away but at next height pavement level. Do same other side, drag a line square over and get all 6 lines or more then can work out all the widths and height changes. 

 

Just a comment your top of kerb height label is in the wrong spot, when referring to a kerb the height is always at the rear not middle, you imply a slope of 10mm if flat top yes can be labelled anywhere, spent to many years doing road design.

 

You can make in a lisp with some predefined kerb values so pick outside line points and kerb rl linework is adjusted to suit. 

 

SeaHaven_0-1724996902566.png

Thinking more would use the blocks with correct kerb Rl and offsets. To make section. They are all blocks. Add a block "Crown"

 

0 Likes