Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
What I want to do is search through a drawing and if I find a block that has an invisible attribute, perform a function. However, attref.Visible (shown below) does not seem to be working. How can I tell if an attribute is invisible or not?
(say it has been hidden by the AEHIDEATTRIB command).
AttributeReference attref = (AttributeReference)transaction.GetObject(attId, OpenMode.ForRead);
if (attref.Visible == false)
{
//Do Stuff
}
Thanks,
Solved! Go to Solution.