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
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
Please mention Revit version, especially when uploading Revit files.
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
Unfortunatelly I never found how to do this... Did you get what you wanted to do?
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.)
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
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.