Mtext justification while rotating to read correctly

Mtext justification while rotating to read correctly

susanK39XP
Contributor Contributor
260 Views
9 Replies
Message 1 of 10

Mtext justification while rotating to read correctly

susanK39XP
Contributor
Contributor

I have been trying to make the mtext in this block stay justified when it is left of center to read correctly and also move to the left of the base point as the text string shortens or grows so its never past the origin of the arrow line when it is on the left. I have looked at many posts but still have not found the solution that works.

Any help would be appreciated.

0 Likes
Accepted solutions (1)
261 Views
9 Replies
Replies (9)
Message 2 of 10

h_s_walker
Mentor
Mentor

Unfortunately the only way I can think of doing it is to actually move the mtext itself as there is no way to link the length of the text to the length of the arrow

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

susanK39XP
Contributor
Contributor

Hi Howard,

can you help with the rotation staying justified to the left when text is rotated between 91-269 degrees? I am pretty sure it can be done a couple different ways.

 

Thanks in advance.

0 Likes
Message 4 of 10

h_s_walker
Mentor
Mentor

@susanK39XP Is this the sort of thing you were wanting?

See the attached 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

susanK39XP
Contributor
Contributor

Howard,

 

Is it possible to move the mtext along the line when it is left of 90 degrees without the arrow line moving with it??

0 Likes
Message 6 of 10

h_s_walker
Mentor
Mentor

@susanK39XP 

This is the best I can come up with

 

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

susanK39XP
Contributor
Contributor

Thanks Howard,

Can you tell me what the action Stretch Angle .5 does for the block? I think it somehow affects the mtext position when it is to the left of 90. If you could explain the steps to how the objects are affected by that stretch it would help my learning curve I think. It seems the stretch .5 action is associated with the line position and how the mtext locates itself as it rotates. What I am asking is the logic behind the steps that happens with this action. Not sure I am explaining it very well. I am trying to learn the use of look up tables and how they relate to the objects they affect.

For the most part it does work with the exception of moving mtext with line. I am playing around with the mtext 270 position, so it reads correctly, and it is helping me to work through the look up tables and how they work.

 

Thanks for all your help, I am Left handed and Proud as well!

0 Likes
Message 8 of 10

h_s_walker
Mentor
Mentor

The Stretch Angle .5 is to keep the grip of Angle1 in the middle of Distance1 if you select it you will see it has a distance multiplier of 0.5

The mtext is only moved and rotated by a double lookup parameter. Look to the left of the block and you will see LOOKUP and below it LOOKUP1 and LOOKUP2. That's a double lookup and depending on what angle Angle1 is it rotates and moves the mtext accordingly

If you are not familiar with double lookups there is a pinned topic about them at the beginning of this forum

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 9 of 10

susanK39XP
Contributor
Contributor
Accepted solution

Thanks Howard,

appreciate all your help.

Message 10 of 10

h_s_walker
Mentor
Mentor

@susanK39XP If you look at the block I have added a rotation parameter which rotates the mtext.

The double lookup checks the rotation value of Angle1 (lookup1). It then passes this value to the other lookup (lookup2) and changes the angle of angle2 (if needed). This then rotates the text.

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