Dynamic block, chained actions, stretch with array

Dynamic block, chained actions, stretch with array

kalle_koortS9ED9
Explorer Explorer
298 Views
2 Replies
Message 1 of 3

Dynamic block, chained actions, stretch with array

kalle_koortS9ED9
Explorer
Explorer

Hello, 

I have a problem with chained action in dynamic block.  In attached file there are 2 dynamic blocks. Block test behaving as required, when width increases then stripes added accordingly. In block test3, there is problem, when stretching width, then rightmost vertical line is streched along and also adds lines. I cant find any logic there.

0 Likes
Accepted solutions (2)
299 Views
2 Replies
Replies (2)
Message 2 of 3

Libbya
Mentor
Mentor
Accepted solution

This is a classic example of the 'Base Point Bug" which is caused by an action acting directly on a base point parameter (in this case it is the Stretch1 action).  To fix it, add a chained point/move on top of the base point parameter,  Add the base point parameter to the new move action's selection set.  Remove the base point parameter from the prior stretch action.  Add the new point parameter to the stretch action's selection set.  That 'insulates' the base point from the stretch action.  The ONLY action that should act on the base point is the move that is associated with the chained point parameter.  If you want to add any other actions that will affect the base point position, do not add the base point to those actions' selection sets.  Add the chained point parameter instead.

Message 3 of 3

Libbya
Mentor
Mentor
Accepted solution

I would add that I don't see any reason for the Loius parameter to be chained.  Chaining parameters when it is not necessary only causes problems (especially if there is a base point parameter in the block).

 

See screencast for the step-by-step of fixing the base point bug.

 

https://screencast.autodesk.com/Embed/Timeline/a61169dd-3a32-4a6a-a2ff-ba8965258102