Is it possible to read the current wall thickness of a door's host and use that dimension in a conditional statement to locate the frame's setback?
If the wall is deeper than the frame I want the door flush with the wall, if the frame is deeper than the wall, I want the door centered.
I set up a Wall Width paramenter in my door family but I keep getting the "Inconsistent units" error message.
Any insight would be appreciated!
Solved! Go to Solution.
This functionality is only available from Revit 2011 onwards. As Alfredo pointed out, dimensioning to the wall thickness will create a reporting parameter, this can then be used within instance based formulas.
Attached is my recommended formulas to control this. By putting the Calculated Frame Width back into the Wall Setback formula it ensures the frame is never wider than the wall thickness.
In addition when creating the reporting parameter, unsure you tab to select the wall exterior edges and not the reference plance. I've found that you get better results reporting from geometry rather than reference plans.
Hope this helps.
If my post solves your issue, please accept this as a solution and give me a thumbs up!
Excellent - thanks for the explanation. I was tripped up by trying to have the type parameter use the wall thickness info.