Text oreantation in dynamic block

Text oreantation in dynamic block

Anonymous
Not applicable
448 Views
2 Replies
Message 1 of 3

Text oreantation in dynamic block

Anonymous
Not applicable

I have created a group of blocks for notes with leaders. We often have to rotate the blocks to get them to fit in spaces available. Now an issue I have run into is that we often need the leader on the other side. (eg. leader comes out of left side of the block, need on right.) Now I can add the functionality to flip the leader. But I am looking to keep the usage of the block as simple as possible. We can only have the text at a rotation of 0 & 90.

 

So after all that explanation of that I'm doing. Here is what I am looking for. I want to set the text so that the text will display as normal for rotations of 0-90 degrees, but if you rotate beyond it will flip the text as o keep the bottom of the text orientated toward the bottom, bottom/right of the drawing.

 

If that makes sense, is there a way to do this?

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

Libbya
Mentor
Mentor
Accepted solution

Yes, you can make the text flip based on its rotation angle.  Add a gripless rotation to the text, add a double-lookup (search on how to make one), add the main rotation (the one with a grip) as an input property for one table of the double-lookup, fill in the appropriate table values for the degrees where you would like it flipped one way and the degrees where you would like it flipped the other way.   On the other lookup table, add the gripless rotation as input and add the 180 and 0 degree values for the appropriate rows.  See the attached file.  You can adjust the flip angles to whatever degree orientation you would like.

Message 3 of 3

Anonymous
Not applicable

Thank you very much. That was exactly what I was looking for. And also thank you for the attached example, that helps a lot. 

0 Likes