Execute Block Rotation Based on Attribute

Execute Block Rotation Based on Attribute

roger_denisonAW7JP
Explorer Explorer
300 Views
5 Replies
Message 1 of 6

Execute Block Rotation Based on Attribute

roger_denisonAW7JP
Explorer
Explorer

I want to have a dial with specific angle rotations.  I created the block and added the rotation parameters and actions.  The dials turn like I want them.

 

What I'm looking for now is the ability to tie each rotation angle to a value in an attribute.  So the user can enter an index number and the block rotates accordingly.

 

For example, 

Attribute Value     Rotation Angle (already defined in the parameter)

           1                            270

           2                            198

           3                            126

           4                            54

           5                            342

 

The user selects the attribute value and the dial rotates to the correct angle.

 

Any ideas?

0 Likes
Accepted solutions (2)
301 Views
5 Replies
Replies (5)
Message 2 of 6

pendean
Community Legend
Community Legend

@roger_denisonAW7JP Nothing in the program works like that: can you share what you have to date? There might be other options.

0 Likes
Message 3 of 6

Libbya
Mentor
Mentor
Accepted solution

It's a non-starter that has been asked on this forum countless times.  Changes to attributes cannot push changes to parameters.  You can have changes to parameters update attribute values but not the other direction.

Message 4 of 6

roger_denisonAW7JP
Explorer
Explorer

I have also discovered that I can use the Lookup parameter/action to achieve the same thing.

0 Likes
Message 5 of 6

MMcCall402
Mentor
Mentor
Accepted solution

If the attribute values are a set selection of entries you could put together a Block Properties Table to choose the value of the attribute and at the same time choose the correct corresponding value for the rotation parameter.

 

image.png

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

Message 6 of 6

roger_denisonAW7JP
Explorer
Explorer

That's what I ended up doing.  Thanks for the confirmation I was going in the right direction!😁

0 Likes