Array Along Polyline

Array Along Polyline

Anonymous
Not applicable
7,093 Views
6 Replies
Message 1 of 7

Array Along Polyline

Anonymous
Not applicable

I am trying to apply a block along a polyline between 2 points.

 

I have used the ARRAYPATH command which works great along an entire line, however, I would like to just apply it between two points on this line.

 

Ideal automation:

I click a start and end point along a polyline and my block is automatically inserted similar to the ARRAYPATH command (fills entire line, aligns blocks tangent to polyline, etc.)

 

Is there a way to make a block like this? I experimented with trying to create a linetype which would repeat a block but this did not work. I need something easy to automate since I need to apply it sporadically over several miles of polyline.

 

See the attached screenshot and let me know if I can give any more information which will help to answer this question.

 

Thank you for your help!

0 Likes
Accepted solutions (1)
7,094 Views
6 Replies
Replies (6)
Message 2 of 7

doni49
Mentor
Mentor
Accepted solution

Does this come close enough to what you're looking for?

 

AcadRocksLT.png

 

The test dwg file is attached along with the linetype and required shx/shp files.



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

Message 3 of 7

Anonymous
Not applicable

Thank you very much Doni49 that works great. In the past when I attempted to make a linetype using a shp file it has not worked for me. I looks like I need to do more research on that subject.

 

Thank you for your help!

0 Likes
Message 4 of 7

Anonymous
Not applicable

On further inspection, this works for the example I provided but it may be too complex a process for future applications. was the .shp file created by hand or is there a process/software which can create this from linework in a drawing?

 

I need to be able to create several others like this which are complex (one will have more rows of rocks, one will be logs instead of rocks, some will have different hatching in the rocks, etc.). Essentially looking for the process of creating linetypes from blocks or a way to better automate the process of repeating a block along a line/arc.

 

I have attached another screen shot of the logs.

 

Thank you.

0 Likes
Message 5 of 7

Pointdump
Consultant
Consultant

Sean,

 

Here's another way:
http://www.cadapult-software.com/creating-linetypes-with-measure-and-divide/

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoC...

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2027
0 Likes
Message 6 of 7

doni49
Mentor
Mentor
I created a shape consisting of three ellipses side by side (but staggered a little bit). I did this using the MKSHAPE command. There was never a block involved.

Then I made a linetype consisting of an extremely short dash then the shape. The dash is so much shorter than the shape that it pretty much disappears.


Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

0 Likes
Message 7 of 7

Pointdump
Consultant
Consultant

Sean,

 

"...the ARRAYPATH command which works great along an entire line, however, I would like to just apply it between two points on this line."

 

Sorry, I didn't read your post carefully. All I can think of is to copy another Polyline over the original and trim the copy (at those two points) before using ARRAYPATH.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2027
0 Likes