Image Visibility Parameter

Image Visibility Parameter

Anonymous
Not applicable
17,217 Views
12 Replies
Message 1 of 13

Image Visibility Parameter

Anonymous
Not applicable

I would like to request that images imported into Revit have the ability to be assigned a visibility parameter, such that a consultant logo in the titleblock could be turned on/off.  I have had varied, inexplicable, success with bringing images into CAD and doing this workaround, in order to add a yes/no parameter to the DWG file's visibility.  Sometimes it works; sometimes it doesn't.  Either way it is a waste of time when Revit could offer the ability to assign a yes/no visibility parameter to an image.

0 Likes
Accepted solutions (1)
17,218 Views
12 Replies
Replies (12)
Message 2 of 13

jdiala
Advocate
Advocate
Accepted solution

Here is a sample work around if you are gonna use it on the border.

It would be much simpler if masking region works but it doesn't.

Use a masking region and add a visibility on that masking region

make sure that the sketch under masking region are set to invisible.

Also set the hatch to solid with a white color.

 

Cheers mate!

0 Likes
Message 3 of 13

Anonymous
Not applicable

I had tried a masking region with the solution you described above and it didn't work.  A FILLED region in opaque white however, does work.  Thank you for the response and solution!

 

0 Likes
Message 4 of 13

jdiala
Advocate
Advocate

Yeah, sorry. It was a filled region.

 

--------------------------------------------------------------------------------------------------------

Here is a sample work around if you are gonna use it on the border.

It would be much simpler if masking region works but it doesn't.

Use a filled region and add a visibility on that filled region

make sure that the sketch under filled region are set to invisible.

Also set the hatch to solid with a white color.

0 Likes
Message 5 of 13

Anonymous
Not applicable

There is another way to do this. You can change the dimensions of the Image to "0" for width and length.

 

Images have height and width values. In this case the value is in inches (")

My image in this example is 3" x 4" (H x W)

 

Setup these parameters:

- height (category = dimensions)     formula [= if(Image, 3", 0")

- width (category = dimensions)      formula [= if(Image, 4", 0")

- Image_On (Yes/No, category = visibility)

 

Select the Image you want to "turn off" and re-define or "link" its Instance dimensions to the new parameters created.

 

Now selecting the Image_On toggle will turn the image on or off.

 

 

Message 6 of 13

jwakefieldMM4B2
Participant
Participant

Replying to this to help anyone in 2020 and farther who are having a similar issue.

 

If you are trying to place an image within a Titleblock Family and want to be able to control the visibility of said image follow these steps:

 

1. Create a new "Generic Annotation" Family and Load the image in there.

2. Load that Generic Annotation Family into the Family for your Titleblock.

3. Create an Instance Yes/No Visibility Parameter to control the image you want to hide/unhide.

4. Load into your project.

 

The repercussion of this method are that you cannot resize the image on the fly within the Titleblock. You will have to open the Family of said image and manually change the dimensions of the image to be the size you want within the Titleblock.

Message 7 of 13

mishaylab
Explorer
Explorer

Thank you for this helpful tip for Revit 2020! However, it appears once the image is imported as a Generic Annotation, there's no way to have a transparent background. Is there a way around this and still have it toggle on/off. (This image is the signature over the stamp so it needs to have a transparent background.) 

0 Likes
Message 8 of 13

jwakefieldMM4B2
Participant
Participant

That I don't know. We try to fool proof our stamp/sig on the Titleblock because there should never be a situation where you have a seal with no signature and vice versa. We have a digital linework copy of a signed seal with editable date area that we turn on/off. When we put something for reference only it shows the F.R.O. / N.F.C. text going through a blank circle.

 

I would suggest photoshopping the two images (seal and sig) together and bringing that file in for the Titleblock.

0 Likes
Message 9 of 13

MaggieTerry
Explorer
Explorer

I tried utilizing this method and I got this error message, "the image width must be no more than 30000 feet", do you know why we would be getting this or what the solution is?

0 Likes
Message 10 of 13

TK_SAI_Thomas_Sheladia
Explorer
Explorer
I encountered this same error using this method. The answer is to unlock proportions on the image.

If you try to manually change the dimensions to 0 and back while its locked you will see that Revit locks the first dimension entered.

I entered the following parameter value to make it a single click: if(<yes/no parameter>, <desired size>", 0")
0 Likes
Message 11 of 13

MaggieTerry
Explorer
Explorer

Those pesky little check-boxes! That fixed it!

Thank you

0 Likes
Message 12 of 13

ookeskincade
Explorer
Explorer

Works great! Thank you.

0 Likes
Message 13 of 13

junwen.chan
Explorer
Explorer

there is a problem when I do this method: the imported image when exported to CAD, retains its original size and is on a different location than where it was supposed to be.

0 Likes