Rotation with array issue

Rotation with array issue

TomHia
Advocate Advocate
864 Views
4 Replies
Message 1 of 5

Rotation with array issue

TomHia
Advocate
Advocate

Hi,

 

edit: Autocad 2021

Here is a similar problem with solution. But I don't get how it works - why lookup tables are needed and how do "double" lookup tables differ from two separate?

 

I've got a pretty much functional block with one issue - inclusion of the "Distance1" parameter in the rotation selection set causes the array elements to rotate about the wrong point/axis. 

 

What I want to obtain is a block in which the first element is a standalone entity and the other is an array element. Plus I want to be able to rotate the whole thing around a midpoint of the whole set (standalone element + X arrayed elements).

The length of the whole set and the amount of array elements is driven by a single handle (Distance2).

 

I can't get it to work...I'll be grateful for a little help here 🙂

0 Likes
Accepted solutions (1)
865 Views
4 Replies
Replies (4)
Message 2 of 5

MMcCall402
Mentor
Mentor
Accepted solution

Give the attached file a try.   I simplified it to one parameter to do the array and move the rotation point as needed.  I modified the Move action's properties such that its movement distance is 1/2 the distance of the parameter movement.  This will keep the rotation location in the middle.

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 3 of 5

TomHia
Advocate
Advocate

Hi,

 

Thanks for the solution. I honestly feel as if I were retarded...I did exactly that at the beginning and I messed up the numbers which lead to exactly 0.45m wrong array action distance and made me go into chained actions.

 

Nevertheless, it appears chained actions fail to work properly when you nest them. Do you @MMcCall402 happen to know what's up with the double-lookup sets? I've created one but I don't get why and how should they work with the solution provided in the link in my OP.

 

Cheers!

0 Likes
Message 4 of 5

MMcCall402
Mentor
Mentor

In the link the double lookup was used to relate the values of two linear parameters to each other.

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 5 of 5

TomHia
Advocate
Advocate

I've played with all of those a bit. Cool features actually although improvements to chaining actions and their behaviour would come a long way.

 

Thanks once again.

0 Likes