text justification with flip action

text justification with flip action

cvanriper
Enthusiast Enthusiast
2,846 Views
4 Replies
Message 1 of 5

text justification with flip action

cvanriper
Enthusiast
Enthusiast

I feel I am so close to some answers, but I have a dynamic block that I am having 4 issues with.

 

1. It has an attribute for text and I would like the justification to change from middle right to middle left when I use the flip action.

2.  I need the justification point to stay where it is in relation to the end of the line.

3. When I play with it , the vertical stretch grip does not allow me to stretch straight up or down, only at an angle.

4. I'd like to place the grips along the locations the actions occur and move with them when they are moved.

 

How can this be achieved?

 

Any help would be great.

0 Likes
2,847 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

1.  If an attribute is flipped, the justification of the attribute will also flip if you run the ATTSYNC command on one of the iterations of the block.  If you want to avoid the need to use the ATTSYNC command, then you can create two attributes with different justifications.  Then create a third attribute with the property Invisible=yes.  Use fields in the two visible attributes to reference the value of the invisible one.  Create a visibility state for each of the attributes to be visible.  Use a double lookup to switch the visibility state when the flip action is used.  

 

2.  I assumed so.  The answer in 1 takes that into account.

 

3.  That is an issue with your stretch action's window and the items in the selection set.  If you just want the thick polyline to stretch then the window should surround only the end you want stretched and you should not include the thin horizontal line in the selection set.

 

4.  Your grip placements do not seem intuitive for the actions they represent.  I'll work on a screencast to show how I would clean that up.  

Message 3 of 5

rday
Participant
Participant

This is exactly what I want to do, can you direct me to a site that would explain a double lookup that switches visibility state?

0 Likes
Message 4 of 5

SMMJRC90
Contributor
Contributor
Is there a way to have a block automatically sync when a flip parameter is activated?
0 Likes
Message 5 of 5

Libbya
Mentor
Mentor

No.  Not other than what I already described as an automatic solution.

0 Likes