Text visibility control with iLogic

Text visibility control with iLogic

kresh.bell
Collaborator Collaborator
309 Views
3 Replies
Message 1 of 4

Text visibility control with iLogic

kresh.bell
Collaborator
Collaborator

Hi,

is it possible create iLogic which will control text visibility?


I want in drawing template add two texts, eg text one is "1", text two is "2". Always is one of them visible.

 

With this or similar button in form I want choice which text I want in my drawing, "1" ili "2"

2023-08-10_19-10-05.jpg

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

Curtis_Waguespack
Consultant
Consultant

Hi @kresh.bell 

 

Put your text on 2 different layers, and then you can turn off those layers based on a True/False parameter

 

ThisDrawing.Document.StylesManager.Layers("Draft").Visible = isDraft
ThisDrawing.Document.StylesManager.Layers("Approved").Visible = Not isDraft

Curtis_Waguespack_2-1691692111001.png

 

 

Curtis_Waguespack_0-1691691948407.png

Curtis_Waguespack_1-1691692025356.png

 

 

EESignature

Message 3 of 4

kresh.bell
Collaborator
Collaborator
Accepted solution

Thanks

0 Likes
Message 4 of 4

kresh.bell
Collaborator
Collaborator

Hi, if I add text to title block, when I change layer, rule change only on open sheet. Is it possible that rule change layers at all sheet?

0 Likes