Show block attributes in Properties panel when visibility state hidden

Show block attributes in Properties panel when visibility state hidden

danBVWEC
Observer Observer
575 Views
7 Replies
Message 1 of 8

Show block attributes in Properties panel when visibility state hidden

danBVWEC
Observer
Observer

Is there a way to have a blocks attributes remain visible in the properties window even when the attributes are set to 'hidden' by their visibility state?

 

I know that ATTDISP can be used to always show (or hide) attributes that have been set to Invisible=true in the attribute properties, but this question is about attributes whose visibility state is hidden, rather than the attribute being set to invisible.

0 Likes
576 Views
7 Replies
Replies (7)
Message 2 of 8

MMcCall402
Mentor
Mentor

What if you kept them visible in all states but scaled them down to be microscopic when you don't want to see them in the drawing, just in the properties.

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 3 of 8

K_Kubat
Advocate
Advocate

Do not switch off the attributes via the visibility status but set the property of the attribute to Invisible = Yes

Screenshot 2025-03-11 073705.pngScreenshot 2025-03-11 073820.png

0 Likes
Message 4 of 8

danBVWEC
Observer
Observer

Hmm, I'll have to have a think about how that would work as there are a lot of elements that need to be hidden for each state.

 

In practice I want users of the block to be able to select one of somewheer around 6 different 'states' for the block.

One state should actually hide everything except a single text attribute, but it woudl be useful in that state to be able to see all of the other attributes in the properties panel.

The other states have that one text attribute visible and a selection of other attributes depending on the selected state.

 

If scaling can be driven by a drop-down in an equivalent way to the way that visibility states can be selected then that might actually help simplify the block anway as some of the variants are to do with the size of some of the attributes as displayed in the block (and the position of those attributes in the block as well, obviously, as other elements scale).

 

I feel that this solution is potentially heading into a lookup tables area, so maybe I need to revisit how to use those properly as I haven't had to use them in soooo long.

 

Thanks.

0 Likes
Message 5 of 8

danBVWEC
Observer
Observer

That's not what I'm looking for, unfortunately, as that is a design time decision.

 

The block has different uses where the user needs to be able to choose what is displayed from that block in the drawing via a drop-down. Setting the attributes as Invisible=Yes in the block editor will permanently hide them (unless ATTDISP=ON), which is not the required functionality.

0 Likes
Message 6 of 8

doni49
Mentor
Mentor

Not like this?  When the Vis State is set to 2, the attribute is not shown but still shows up in the properties.  As soon as I change the Vis State to 1, the attribute is shown.

 

doni49_0-1741889677538.png

 

doni49_1-1741889765748.png

 



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

0 Likes
Message 7 of 8

danBVWEC
Observer
Observer

Hmmm, it's not working that way for me, I'm afraid.

 

When I select Visibility State = 2 the attribute is not shown in the properties pane (and it is not visible in the block itself as expected).

When I select Visibility State = 1, the attribure IS shown in teh properries pane, and it is shown in the block itself.

 

This is exactly the bahavious I have seen with my own blocks, but your screenshots show different.

 

VisState2.png

VisState1.png

 

(I am on AutoCAD LT 2025, but I wouldn't have thought that this is an LT restriction...)  

 

 

0 Likes
Message 8 of 8

h_s_walker
Mentor
Mentor

@danBVWEC Look at the attached drawing. It uses distance parameters to scale the attributes

 

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