Making a dynamic stretchable array block with a per-section maximum length

Making a dynamic stretchable array block with a per-section maximum length

Anonymous
Not applicable
948 Views
2 Replies
Message 1 of 3

Making a dynamic stretchable array block with a per-section maximum length

Anonymous
Not applicable

Hello!

 

Recently I have been diving into the world of dynamic blocks and finding them very useful. 

In this specific case, I am trying to make it easier to place a pipeline that automatically adds sections of pipe as the length increases. I am trying to limit each section to the real-world maximum length of that type of pipe, let's say 12 meters.

 

I have a dynamic block that can be stretched in either direction to reach a maximum size of 12 meters, or a minimum of 80 cm. What I want is that after I stretch my block for those 12 meters, it adds another block that is only as long as the length I have stretched to. I.e. if I stretch to a total of 16 meters, I want it to make one full length of pipe of 12 meters, and then one length of pipe of only 4 meters connected to it at the end.

 

After toying with the Array function of dynamic blocks, I definitely feel like this should be possible, but I am having a hard time finding a way to have it repeat the individual stretchable block entirely, rather than just adding full 12m pipes when I reach 12m, 24m, 36m, etc.

 

I have added the block I am working with as a .dwg. Any help towards my goal would be greatly appreciated!

0 Likes
949 Views
2 Replies
Replies (2)
Message 2 of 3

qnologi
Advisor
Advisor
0 Likes
Message 3 of 3

Anonymous
Not applicable

Yes, I've seen this. However, the video in that post describes a block that expands and repeats a pattern on it, which is not what I am looking for. I am looking for my block to repeat in parts that don't stretch past 12 meters individually. Subtle but important difference.

0 Likes