Making a dynamic stretchable array block with a per-section maximum length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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!