How to make a new attribute visible in all visibility states?

How to make a new attribute visible in all visibility states?

Djordje.Spasic
Participant Participant
140 Views
3 Replies
Message 1 of 4

How to make a new attribute visible in all visibility states?

Djordje.Spasic
Participant
Participant

Dear Autocad Experts,

I have create a dynamic block. It has 3 attributes.
Then I made 4 visibility states by using the "Leave visibility of existing object unchanged in new state" option.
This enabled all attributes from the first visility state to be visible in all other visibility states:

DjordjeSpasic_0-1756546120238.png

 

 

 

Now, I would like to add one more attribute.
However, I don't know how to make it visible in all other visibility states.

I tried copy-pasting the Attribute Definition into all visibility states. But this resulted in attribute being visible, only in the last Visibility state I copy-pasted it to.

How can I add a new attribute, and make it visible in all Visibility states?

 

Attached is the dynamic block.

 

I would be very grateful, for any kind of help.
Thank you in advance.

0 Likes
Accepted solutions (1)
141 Views
3 Replies
Replies (3)
Message 2 of 4

vladimir_michl
Advisor
Advisor
Accepted solution

In the Block Editor drawing area, select the attribute or other objects that you want to make visible in all visibility states. Right-click in the drawing area and click Object Visibility > Show For All States.

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz

 

Message 3 of 4

Libbya
Mentor
Mentor

What  says is correct, but adding more information might be helpful.

 

Along with the right-click visibility options, there are also some useful tools on the visibility panel of the block editor tab of the ribbon when in block editor.  Those include opening the visibility states dialog, making items visible for a given state, making them invisible for a given state, changing the display so that you can see all objects without changing their visibility for a given state., and changing the current visibility state that is displayed in block editor.  

 

ALL attributes MUST have a unique tag.  If you copy an existing attribute and do not edit its tag in order to be unique, then it will not correctly respect dynamic parameters/actions, including visibility states.

 

ALL attributes MUST have their 'lock position' property set to 'yes'.  I an attribute's 'lock position' property is not set to 'yes', then it will not correctly respect dynamic parameters/actions, including visibility states.

 

If you have made made changes to attribute properties (or added attributes) then in order for those changes to show for existing insertions in model space, you need to run the ATTSYNC command.  

Message 4 of 4

Djordje.Spasic
Participant
Participant

Hello @vladimir_michl and @Libbya ,

Thank you very much for the help.
Libbya, thank you also for the detailed insight and helpful advices! This is very useful!

0 Likes