Dynamic block "visibility" with "attdef" error

Dynamic block "visibility" with "attdef" error

Anonymous
Not applicable
512 Views
1 Reply
Message 1 of 2

Dynamic block "visibility" with "attdef" error

Anonymous
Not applicable

I have multiple Block/ object with atttribute defination, i use block dynamic block, visibility to combine to make multiple option, but finally, it only change the normal opject but attdef object keep the same.

Other way, block 2 times, block (attdef object, normal object), then block 1 more time for visibility block, then i cant change the value of attdef.

Help me for that issue.

0 Likes
513 Views
1 Reply
Reply (1)
Message 2 of 2

Libbya
Mentor
Mentor

You've done both of the two most common mistakes when using attributes in dynamic blocks.  First, each attribute must have its own unique tag.  You have multiple attributes with the same tag (e.g. MATCHLINE).  Second, in order for the attributes to work properly with dynamic parameters/actions, each must have the property locked = YES.  

 

Here's how I would do it.  No visibility states, just flip and rotate.