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: 

Resizing automatically an image into a Revit family

8 ANTWORTEN 8
Antworten
Nachricht 1 von 9
Anonymous
1869 Aufrufe, 8 Antworten

Resizing automatically an image into a Revit family

Hello everybody,

I would like to create a Revit family (Generic annotation family for example) and get an image. But when i get the image into the family i would like to automatically resize it. For example give a maximum height or a maximum width to it, with a shared parameter and a linear dimension for example...

After several tries and research, i didn't find a way to do this.

Does anyone have an idea or a solution?

Does anyone create this before?

 

Sincerely,

 

Romain,

 

HVAC Engineer and BIM Coordinator

8 ANTWORTEN 8
Nachricht 2 von 9
L.Maas
als Antwort auf: Anonymous

If you have loaded an image into your family and you select that image then you can see it has a width and a height. You can set a parameter for these in your family allowing you to change height and/or width.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 9
Anonymous
als Antwort auf: L.Maas

Yes Louis, I agree, but I would like to give a maximum width or height, because the available space into the title block will be always the same. So to avoid to resize manually each image of each different projects I would like that the Revit family resize the image automatically with maybe a shared parameter and a linear dimension

Nachricht 4 von 9
mbhame
als Antwort auf: Anonymous

 Was any resolution found to this question? I think we are experiencing a similar situation. 

 

TY

Tags (3)
Nachricht 5 von 9
Anonymous
als Antwort auf: mbhame

Unfortunatelly I never found how to do this... Did you get what you wanted to do?

Nachricht 6 von 9
martijn_pater
als Antwort auf: Anonymous

So, you want to apply dimensions to the nested annotation family image based on a value(range) from a main family parameter?

I think you could probably just use an IF formula like IF(imageheight>(insert maximum titleblock height), (insert maximum titleblock height), imageheight) and then return a imageheight_calculated parameter ? Not sure what you're after...

(Also you might want to nest the image annotation family twice for position control.)

Nachricht 7 von 9
Anonymous
als Antwort auf: martijn_pater

yes that's exactly what I'm looking for. I'm going to try your solution. I was thinking also about aligning edges of the image to the borders of a square/rectangle (design with 4 lines), block edges with lines, and put cotations (lenght and width) but I don't know if it's possible

thank you

Nachricht 8 von 9
ToanDN
als Antwort auf: Anonymous

I don't understand the struggle of just typing a single value to change the image dimension. Instead, you want to go through the hoop of creating parameters, a formula to control a parameter based on other parameters, then assign the controlled parameter to the image?
Nachricht 9 von 9
martijn_pater
als Antwort auf: ToanDN

Well, I figured the question was to automatically have an image display in a certain way in some title blocks or something. But you are right ofcourse, you could just add some type parameters for the image dimensions and have it adjust to that.

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