Dynamic Block double lookup rotation

Dynamic Block double lookup rotation

Anonymous
Not applicable
1,324 Views
7 Replies
Message 1 of 8

Dynamic Block double lookup rotation

Anonymous
Not applicable

Hello,

 

I am looking to have a block where a rotation angle is set to rotate in increments of 1 for all 360 degrees.  I also am looking to have a double lookup table that will rotate another piece of geometry the same amount.  I found a sample that is similar to my request:

 

https://forums.autodesk.com/t5/dynamic-blocks/rotating-two-objects-in-a-dynamic-block-relative-angle...

 

The major difference between this and my problem is that the two geometries are on different visibility states and they do not share the same rotation point.

 

I attached the file.

 

Thanks

0 Likes
Accepted solutions (2)
1,325 Views
7 Replies
Replies (7)
Message 2 of 8

Libbya
Mentor
Mentor
Accepted solution

No need for a double lookup or the increment.  If the rotation direction and amount is the same, then it is easy to accomplish with an infinite rotation.  In the screencast I make a third visibility state.  That is not a necessary step and is just added for clarity in the screencast.

 

 

Message 3 of 8

Anonymous
Not applicable

That is exactly what I am trying to do.  Thank you so much!!!

 

Can a similar thing be done with the stretch?  I also need to have the two width stretches match and the 2 height stretches match as well and I am not sure I 100% understood the method you used but rather was good at following the video.

 

Thanks

0 Likes
Message 4 of 8

Libbya
Mentor
Mentor
Accepted solution

The same can be done with stretches.  Your block is a bit of a pain to work with due to all of the separate pieces.  I'll show the method using lines to represent the various components.  The concept is the same as the rotations except that instead of changing the rotation actions to independent and moving their base points, for the stretches, you need to appropriately alter the angle offset of the various additional stretch actions.  See screencast.

 

 

0 Likes
Message 5 of 8

Anonymous
Not applicable

Once again huge thanks.  It works great however now my rotation is getting messed up.  I think it is being caused by the independent base point on the rotation action.  I am not sure how to get that to move.  I am currently trying to add the action to my stretch selections but I wanted to post this now for the matter of time.

 

 

0 Likes
Message 6 of 8

Anonymous
Not applicable

 

 Adding the Action to the selection did work and now it works like a charm.  Thanks for all of the help Smiley Happy

 

0 Likes
Message 7 of 8

Libbya
Mentor
Mentor

Indeed, you need to add the independent rotate actions to the selection sets of the stretch actions.  I was just working on a screencast to show that but I'll forego the process.  I'm glad you got it sorted and glad to have helped.  

Message 8 of 8

jtm2020hyo
Collaborator
Collaborator

@Libbya wrote:

No need for a double lookup or the increment.  If the rotation direction and amount is the same, then it is easy to accomplish with an infinite rotation.  In the screencast I make a third visibility state.  That is not a necessary step and is just added for clarity in the screencast.

 

 


can you share your dynamic block? I have a similar problem and I need your example.

0 Likes