Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Extend sample lines until surface border/polyline

Anonymous

Extend sample lines until surface border/polyline

Anonymous
Not applicable

HI.

Civil3D 2021.

Windows 10.

 

I have created some sample lines on an alignment with the "Pick points on screen" method.

 

Image1.PNG

Is there a way to extend them to the surface border shown (in red)?

 

I tried:

-Editing them to use the "By range of stations..." method that allows extension until an alignment, but I can only use that method at creation moment. I could just delete the sample lines and create them again with this method, but I'd have to specify the distances between stations. I can't do that, because I have to create them by clicking them at certain intersections in the drawing.

-Convert the surface border to 3d/2d polyline and extend the sample line with the grip, using the snaps. I don't know why, but the tool doesn't snap to the intersection.

 

Any suggestions? 

Thanks in advance. 

0 Likes
Reply
Accepted solutions (1)
1,444 Views
8 Replies
Replies (8)

Jeew-m
Mentor
Mentor

Hi,

you can extend all sample lines to the maximum swath width at once. Is it OK for you?.



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







0 Likes

Anonymous
Not applicable

In that case, some sample lines would be larger than the surface and part of the section views would be blank:

Image2.PNG

So, that wouldn't work (unless there's an automatic way that the section views adapt to show only the intersections with surfaces and not the blank parts).

0 Likes

m_kingdon
Advisor
Advisor

I don't think this is possible.  Sample lines are usually the same size so multiple section views can be arranged for plan production.

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes

jmayo-EE
Mentor
Mentor
Accepted solution

This is what I would do.

Extract the surface boundary.

Explode the sample lines, explode again and copy these lines to the clipboard with a base point of 0,0

Undo twice to get the sample lines back if you need them.

Paste the lines from the clipboard into your file and extend to the surface boundary

Select one of the lines, right-click and Select Similar to select all the lines.

Use Join to make them plines.

Create new sample lines from objects.

 

Sounds like a better job for Dynamo if you need to do this often.

John Mayo

EESignature

0 Likes

Joe-Bouza
Mentor
Mentor

By the looks of your screen capture , grip edit should take a few minutes.

 

it is too bad you missed the left and right offset distance while your were picking 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Anonymous
Not applicable

I gave up and just manually extended the sample lines using the grips, until near the border.

I marked your post as solution because I think that would work, though with a lot of work. XD

Thanks to all

0 Likes

TerryDotson
Mentor
Mentor

This has been added to DotSoft's C3DTools as SampleLine Extend, simply pick an alignment and specify an option of surface (pick one), objects (pick multiple) or enter absolute, increment, or percent (scale).

0 Likes

Jeew-m
Mentor
Mentor

This reply is late. But It should work.

Extract surface boundary.

Create a corridor with two simple generic link subassemblies. Add custom frequency lines to the corridor where you need the sample lines. (See Video)

They should target the surface boundary. We are dealing with point codes here. Then extract the point codes from the corridor. (See video)

Then use the offset point report to get a report of the extracted points. (See video)

It will contain station and offset of the points at the surface boundary. 

Filter the stations you need to add the sample line and delete others.

 

Then go to create sample lines. Create sample lines at desired stations with the desired offset. (See video)

 

 

 



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







0 Likes