Tuesday, November 19, 2013

Setting an Image's Visibility to Off in a Family

I am revamping several of our engineer's stamps for Revit 2014 and didn't want to go through the old process of converting their signature from an image to CAD and then importing to Revit. So I decided to just use the images and went to set the Visibility to a parameter and found it wasn't available (I already knew this from way back, but forgot about it).

Image in Family with no Parameter for Visibility

















Looking over the small list of parameters, it hit me. Why not make the Width and Height equal to 0 when I don't want to see the signature, thus setting it to not visible.

So I setup 3 parameters called Show Signature, Sig_W, and Sig_H. I then linked the Image's Width to Sig_W and Height to Sig_H. Lastly I created a formula for Sig_W and Sig_H to adjust the image size off of the parameter Show Signature's value.

New Parameters and Formulas


















Linking the Width and Height to the New Parameters

No comments:

Post a Comment