Adding a set starting distance to a dynamic block with array action

Adding a set starting distance to a dynamic block with array action

alxnds5
Enthusiast Enthusiast
2,577 Views
6 Replies
Message 1 of 7

Adding a set starting distance to a dynamic block with array action

alxnds5
Enthusiast
Enthusiast

Hello. I have a dynamic block that includes a stretch array action but I'm wondering if the starting point could be half of the column distance. I'm unsure if there is a parameter to apply or an manual input that can be prompted to do this. Below is an image to better show what I need.

t.PNG

 
0 Likes
2,578 Views
6 Replies
Replies (6)
Message 2 of 7

Libbya
Mentor
Mentor

Yes, you can set the starting distance.  Use a gripless chained linear parameter for the array.  Stretch the chained linear parameter with your main parameter that shows its grip.  The first new arrayed object always appears when the associated parameter value is 2X the column offset.  Set the as-drawn length of the gripless chained linear parameter accordingly.  

 

Post the block if you want further assistance.  

0 Likes
Message 3 of 7

alxnds5
Enthusiast
Enthusiast

Hi Libbya, thank you for responding. I'm not quite sure how to do that type of parameter. I've attached the sample block, if you can show me with a screenshot or video that would be great.

0 Likes
Message 4 of 7

Libbya
Mentor
Mentor

The file you posted showed an error when I opened it.  I ran a recover and it showed 124 errors found/fixed with one object erased.  It seemed to work after that.

 

The following screencast shows what I was talking about for setting up the array.

 

 

 

0 Likes
Message 5 of 7

alxnds5
Enthusiast
Enthusiast

I'm not exactly sure how that takes care of what I'm trying to set up. I have the array stretch action already set up but I need that first length (from first end to the first pentagon) to be adjusted depending on the column spacing of the pentagons. Not sure if I'm missing it in the video but I don't see that. 

0 Likes
Message 6 of 7

Libbya
Mentor
Mentor

Your initial description said nothing about dynamically altering the column spacing.  That is not possible using the dynamic array action as I posted in the video.  It's possible with constraints to dynamically alter the standard array using formulas based on the values of dimensional constraints but I find working with constraints to be both frustrating and tedious.  Perhaps @j.palmeL29YX  (who seems to like constraints a lot more than I do) would be willing to comment.  Otherwise, it was posted in this recent thread:

 https://forums.autodesk.com/t5/dynamic-blocks-forum/object-in-dynamic-block-should-be-stretch-equall...

0 Likes
Message 7 of 7

j.palmeL29YX
Mentor
Mentor

@alxnds5 wrote:

I'm not exactly sure how that takes care of what I'm trying to set up.


 

And what are you trying to set up? Would you please explain more detailed what you want to get?

 

Jürgen Palme
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