Suppress Text Annotations on Drawing

Suppress Text Annotations on Drawing

cullen_wilcox
Explorer Explorer
261 Views
1 Reply
Message 1 of 2

Suppress Text Annotations on Drawing

cullen_wilcox
Explorer
Explorer

Hi all,

Still new and learning iLogic. I am struggling to figure out how to use the snippets and find what I need.

My current goal is to turn off certain text annotations based on a user parameter on a drawing. 


What would be the best way to go about this? Also, how would I have been able to find this information on my own in the first place? 

I looked for a post that would answer this but I didn't see anything.

Thank you!


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

WCrihfield
Mentor
Mentor

Hi @cullen_wilcox.  I do not believe it is possible to simply turn off visibility of specific text annotations on your drawing sheet...at least not normally.  This is because none of those objects have any type of setting for suppressing them or turning their visibility off.  When we can not do something manually, we most likely will not be able to do it by code either.

However, an idea does come to mind, but I am not sure if it would be acceptable for your situation or not.  The idea is to place those annotations on a new, custom Layer.  Then, you could turn the visibility of that Layer on or off as needed.  But a Layer has many settings to it, not just visibility, so everything you put on that Layer will have the same appearance/color, Line Type, Line Weight, Scale, and Plot setting.  You would likely have to manually create the custom Layer(s), and manually set specific annotations to specific custom Layers.  Then, you could likely use an iLogic rule to check the value of one or more parameters, then when their values match specified criteria, the visibility of those custom Layers could be changed.  Then that iLogic rule could be placed into the 'Event Triggers' dialog, on the 'This Document' tab, under the 'Any User Parameter Change' event, if needed, to cause that rule to run whenever that event happens.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes