Dynamic Block with Attributes.

Dynamic Block with Attributes.

Bratz2
Collaborator Collaborator
724 Views
11 Replies
Message 1 of 12

Dynamic Block with Attributes.

Bratz2
Collaborator
Collaborator

I'm trying to create a dynamic block that contains attributable information for each of the visibility states. these attributes will pull information from the Custom sheet properties. The issue I'm having is when switching the visibility state to another state, the attribute information from the previous visibility state still shows up, what am I doing wrong?

 

0 Likes
725 Views
11 Replies
Replies (11)
Message 2 of 12

GeeHaa
Collaborator
Collaborator

Can you post the block and did you lock your attributes?

0 Likes
Message 3 of 12

timothy_crouse
Collaborator
Collaborator

1.  You should use a different attribute for each visstate

2.  Select the attributes not required to be shown in each of the particular visstates and set the object visability to off

 

That's pretty much it.

 

Rember you have to use different attribute names for each visstate.

Also be sure to run attsync on the block

 

 

0 Likes
Message 4 of 12

h_s_walker
Mentor
Mentor

In addition to what @timothy_crouse has said you need to make sure that each attribute has it's own individual tag.

eg you should not have two attributes with the tag "VISSTATE_1"

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 12

Bratz2
Collaborator
Collaborator

Thanks guys. They each have their own unique name. So, I can select the between the two states. and I got the attributes to show based on the two views. However, I'm having an issue that if I don't select the attribute in a "lock position" that portion of the dtnamic blocks now tells me there are no attribute definitions. I'm trying to make sure the values have the ability for multiple lines, and I don't want their position locked because the user may need to move them accordingly (like regular text). but every time I change it to multiple lines and again, turn off the "lock position" for text it's like the attribute no longer exists.

 

0 Likes
Message 6 of 12

Bratz2
Collaborator
Collaborator

The attribute positions were locked at one time, but once I turn the lock position off, and change the attribute to multiple lines, the dynamic black says there are no defined attributes.

0 Likes
Message 7 of 12

h_s_walker
Mentor
Mentor

@Bratz2 Can you post the block as has already been asked?

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 8 of 12

fkp7057
Advocate
Advocate

Use "ATTSYNC" Attribute sync command. after changing Visibility.

0 Likes
Message 9 of 12

Bratz2
Collaborator
Collaborator

Here's one of them. I have two others that do the same thing so if I can get this one sorted out fixing the other two "should be" pretty easy to fix 🙂

0 Likes
Message 10 of 12

Bratz2
Collaborator
Collaborator

That was already done, as was battman to place them all in the correct order. There's something up between the "lock position" being selected and not selected. Locking the position of the attribute, it acts as it should. NOT locking the position of the attribute, is when it breaks. I'd like to be able to move the position of the text if need be.

0 Likes
Message 11 of 12

Bratz2
Collaborator
Collaborator

If the "lock position" has to be on, I could overwrite it with a parameter (point) , with an action (move) attached it. And, that may be the answer. I was just hoping this would be a "simple" dynamic block to create. 

0 Likes
Message 12 of 12

fkp7057
Advocate
Advocate

I'm Sorry I am not able to understand your exact problem. Could you please provide more details ?
As I can see in your block there are attributes which has assigned two different visibility state, and Field.
But I didn't notice any issue.

0 Likes