Rotate action with XY Array

Rotate action with XY Array

TomHia
Advocate Advocate
706 Views
9 Replies
Message 1 of 10

Rotate action with XY Array

TomHia
Advocate
Advocate

Hi,

 

AC 2021. I've attached a block which works mostly fine except for one thing. 

 

What's wrong?

Adding "Rotate" parameter/action in order to add a handle for full block rotation causes the "Array" action to fail.

 

What I want my block to do?

It's supposed to:

a) Stretch the outer rectangle two-way.

b) Move the text with 0.5 coefficient two-way (maintain center).

c) Array the inner rectangle with the specified values.

d) Rotate the whole block using the "Rotate" action while allowing it to array afterwards.

 

I think the XY parameter can't be rotated which causes the strange behaviour.

Does anyone have an idea how to achieve this seemingly simple yet elusive behaviour I want?

 

Thanks in advance!

0 Likes
707 Views
9 Replies
Replies (9)
Message 2 of 10

h_s_walker
Mentor
Mentor

Don't use an xy parameter for the array

Put in another two linear parameters. One for the horizontal array and one for the vertical array and chain those to the stretches. Linear parameters can be rotated.

Howard Walker
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


Left Handed and Proud

0 Likes
Message 3 of 10

TomHia
Advocate
Advocate

Hi,  

thanks for the tip but it won't work since you can have only one array action per geometry. I need the array to act in two directions independently and form both a "vector" and an "array".

 

This is the result I'm getting when applying chained distance parameters. Depending on the setup the pseudo-array just ends up alongside different side of the stretched rectangle.

photo.PNG

0 Likes
Message 4 of 10

h_s_walker
Mentor
Mentor

Can you post your latest attempt as a drawing

Howard Walker
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


Left Handed and Proud

0 Likes
Message 5 of 10

TomHia
Advocate
Advocate

Of course!

 

Attached below. Mind that I had to draw a second identical "inner" rectangle for it to work, cause as I mentioned before - you can't associate a second array action to the same geometry.

0 Likes
Message 6 of 10

h_s_walker
Mentor
Mentor

Unfortunately I can't see an easy way around it. However, if you use the alignment parameter the block will rotate to whatever line you "attach" it to and you will still be able to use the xy array

Howard Walker
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


Left Handed and Proud

0 Likes
Message 7 of 10

TomHia
Advocate
Advocate

Thanks, I'll explore it tomorrow.

 

One would think this sort of use case is prolific and should be doable...

0 Likes
Message 8 of 10

TomHia
Advocate
Advocate

I just got what you meant by the latest suggestion. It's the same as if I just rotated the block with a command instead of the handle. Doesn't really cut it, I'm better off with the command.

 

Thank you for the attempts and taking a look into the case!

 

Other ideas and suggestions are still very much welcome in the thread.

0 Likes
Message 9 of 10

h_s_walker
Mentor
Mentor

The only other way it will "work" is if you do the array first and then rotate, but be aware if you try the array again it will go back to being orthogonal

Howard Walker
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


Left Handed and Proud

0 Likes
Message 10 of 10

TomHia
Advocate
Advocate

@h_s_walker Exactly. I've tested it beforehand and come to the same realisation 🙂 Far from ideal.

0 Likes