Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Image Visibility Parameter

12 ANTWORTEN 12
GELÖST
Antworten
Nachricht 1 von 13
Anonymous
14462 Aufrufe, 12 Antworten

Image Visibility Parameter

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.

12 ANTWORTEN 12
Nachricht 2 von 13
jdiala
als Antwort auf: Anonymous

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!

Nachricht 3 von 13
Anonymous
als Antwort auf: jdiala

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!

 

Nachricht 4 von 13
jdiala
als Antwort auf: Anonymous

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.

Nachricht 5 von 13
Anonymous
als Antwort auf: jdiala

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.

 

 

Nachricht 6 von 13
jwakefieldMM4B2
als Antwort auf: Anonymous

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.

Nachricht 7 von 13
mishaylab
als Antwort auf: jwakefieldMM4B2

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.) 

Nachricht 8 von 13
jwakefieldMM4B2
als Antwort auf: mishaylab

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.

Nachricht 9 von 13
MaggieTerry
als Antwort auf: Anonymous

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?

Nachricht 10 von 13

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")
Nachricht 11 von 13

Those pesky little check-boxes! That fixed it!

Thank you

Nachricht 12 von 13
ookeskincade
als Antwort auf: jwakefieldMM4B2

Works great! Thank you.

Nachricht 13 von 13
junwen.chan
als Antwort auf: Anonymous

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.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report