Base visibility of a drawing dimension on a parts parameter

Base visibility of a drawing dimension on a parts parameter

w.poortinga
Enthusiast Enthusiast
473 Views
2 Replies
Message 1 of 3

Base visibility of a drawing dimension on a parts parameter

w.poortinga
Enthusiast
Enthusiast

Goodmorning,

 

I created a part with several parameters, driven by iLogic.

On the parts drawing I would like to hide a dimension based on a parameter I created in its part (a True/False parameter): true = visible and false = hidden. I can't seem to link to any of the parts parameters when in the drawing environment it seems.

 

I assume this is possible but I can't find how to do it. Would appreciate if anyone could point me in the right direction!

Thanks in advance.

 

EDIT: Alright. Found the paramter under Edit Rule -> x.dwg -> Sheet -> Viewx -> x.ipt -> parameters

So now the only thing I don't know how to do is hide that specific dimension on the drawing. 

 

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

clutsa
Collaborator
Collaborator
Accepted solution

There are many ways you could do this but the easiest off the top of my head would be to put that dimension on a custom layer and do 

ThisDrawing.Document.StylesManager.Layers("CustomLayer").Visible = MyBooleanParameter
If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates

0 Likes
Message 3 of 3

w.poortinga
Enthusiast
Enthusiast

Thanks, that worked great 🙂

0 Likes