Hey all, I'm going nuts. How do you report the wall thickness so that you can use it in a parameter equation?
I'm trying to place a window symbol element in the correct location with regard to the width of a wall, but I cannot get it to work. I've tried dimensioning the wall thickness and setting that dimension as a regular instance parameter, and I also tried setting that dimension as a reporting parameter. In both cases, if I reference the wall thickness in another equation I get this error when I adjust the wall thickness:
Parameter "SwingSmblOffset" cannot be changed because it is defined by formula "if(Thickness > 0' 4", 0.1875 * Thickness, 0' 0 3/4") - 0' 0 3/4""
SwingSmblOffset being the parameter that controls the symbol I'm constraining and
"if(Thickness > 0' 4", 0.1875 * Thickness, 0' 0 3/4") - 0' 0 3/4"" being the equation I used to define the above parameter.
It's baffling because the parameter works fine until I change the wall thickness. So Revit doesn't have a problem with the equation until the Thickness is redefined.
Any help would be great. Here is a quick video showing better what I mean along with the .rfa file in question:
NOTE: This file is in Revit 2023 so you'll need the latest version to open it.
https://www.loom.com/share/3ade03c328d845da9df4c735b017f718
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
You want to have the window tag report the Wall Thickness?
Pull a Dimension between the Ext. and Int. Host Wall Faces in the Family. Label that Dimension with a SHARED PARAMETER. Include that same Shared Parameter in the Window Tag.
NOTE: Dimension must only reference the host wall - not Ref. Planes or anything else.
No, I'm not trying to pull the thickness to the tag. I'm trying to align a symbol in the actual window family, but I need to use the thickness of the wall in an equation to constrain the symbol properly. But when I try it errors out as show in the video.
Sorry, I didn't see the video - or open the file. No 2023 yet. But what you want to do should be doable. Something is going on, but without examining the file, I got no answer - just a bunch of educated guesses I would need to work through.
You need to constrain the swing detail family to a ref plane, not to the window detail family. See attached file.
@ToanDN Yes, that is what I was trying to do. When I flex the family though, it gives me that error. Though I did not think to load it into a project despite the error. So, the error still occurs in the family you sent, BUT... it doesn't matter I guess, because in the project it behaves as I want it to. I got caught up trying to solve the error. Assuming it would cause a problem. But it doesn't. So.... I guess in this case... who cares about the error?
The warning occurs when you flex the wall thickness in the family, and the wall thickness is a reporting parameter driving a formula. Cancel the flex or Undo to keep the formula intact. It works fine in project.
That was a pretty painless fix actually. I was expecting more of a challenge for my 2023 dry run.
All I did was Align and Lock the Detail Family to the Ref. Plane controlled by "SwingSmblOffset" Parameter and then Pad Lock the Parameter. Flexes like a charm.
...nicely built family @brenTRONwiberg.
Parameters are formulas and mathematical equations that control the properties of a Revit family, such as length, breadth, and depth. The alert appears when you bend the family's wall thickness, which is a reporting parameter that drives a formula.
To know more information, you should do Revit Architecture Training Course.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.