Simple Attribute Move in Dynamic Block

Simple Attribute Move in Dynamic Block

Anonymous
Not applicable
1,404 Views
7 Replies
Message 1 of 8

Simple Attribute Move in Dynamic Block

Anonymous
Not applicable

I can't for the life of me figure out how to move an attribute when i select a different visibility state in a dynamic block. So far I've gathered I can add a point and then add an action, but i do not know how to make this work and have it happen when i select a different visibility state. Can someone provide me with step by step instructions? I can include a block, but that won't help me with the instructions.

0 Likes
1,405 Views
7 Replies
Replies (7)
Message 2 of 8

R_Tweed
Advisor
Advisor

It would be good to see the block as It could be something simple. Either have an alternate attribute or you might just need to make sure that your action is working across all visibility states.

0 Likes
Message 3 of 8

Anonymous
Not applicable

Test Block uploaded. I included the same attribute name on each vis state so you can see the new location that it should be at. I just really want to understand the process so i can create more.

0 Likes
Message 4 of 8

R_Tweed
Advisor
Advisor

It looks like you want to enter 2 values 1 time and have them repeat or autofill and move based on visibilty states. I did something similar in the attached dwg.  If you open the inserted block into your block editor and open the parameters manager you will see that I have made a  few user parameters. Double click on each attribute definition and you will see they are using fields to reference the user parameters.  Once those are setup you can assign each separate attribute definition to a visibility state.   The block also has a move and rotate action applied to the north arrow.

0 Likes
Message 5 of 8

R_Tweed
Advisor
Advisor

It looks like you want to enter 2 values 1 time and have them repeat or autofill and move based on visibilty states. I did something similar in the attached dwg.  If you open the inserted block into your block editor and open the parameters manager you will see that I have made a  few user parameters. Double click on each attribute definition and you will see they are using fields to reference the user parameters.  Once those are setup you can assign each separate attribute definition to a visibility state.   The block also has a move and rotate action applied to the north arrow.

0 Likes
Message 6 of 8

Anonymous
Not applicable

I'll try to clarify, as the one sent did not work. I only want one set of attributes, attr1 and attr2 to appear. They will show no matter what the visibility state is. If i select the second visibility state, the attributes will adjust to the location that i have the attributes in the 2nd visibility state. if i select the third visibility state, the attributes will adjust to the location that i have the attributes in the 3rd visibility state. Again, i do not want 3 separate sets of attr1 and attr2 attributes, if that was the misunderstanding, i'm sorry. 

 

When i change visibility states on the block you sent, nothing shows up on the 2nd vis state. Also, the attributes stay in the same location as the 1st vis state when i select the 3rd vis state.

0 Likes
Message 7 of 8

R_Tweed
Advisor
Advisor

I understand. I think the multiple copies of the same attribute is the problem. In order to get past that you will need multiple different attribute definitions that will reference back to two user defined variables.  In this example you can edit the custom user parameter and all the attributes will update to match that value. I've added an all visibility state as well so you can see them.

 

Annotation 2020-03-04 163146.png

0 Likes
Message 8 of 8

s.borello
Advisor
Advisor

There is a dynamic block forum... you may get more attention over there.  Go on youtube and find some videos... there are a few that will show you what you need to do. 

0 Likes