Has anyone set up family constraints to enforce minimum rebar cover and bolt edge distance rather than just tagging violations? I’m building steel and RC details in Revit 2024 and want hard stops at 1.5x bolt diameter edge distance and 40 mm cover with a clear warning when a drafter tries to go under, so we don’t pass noncompliant geometry downstream to site.
Build it into the family: make EdgeDist_User and Cover_User inputs, then drive locked dimensions with formulas like EdgeDist = if(EdgeDist_User < 1.5BoltDia, 1.5BoltDia, EdgeDist_User) and Cover = if(Cover_User < 40 mm, 40 mm, Cover_User); add a Yes/No param to show a red “UNDER MIN” symbol when the input fails — seatbelt and buzzer for your “hard stops.” Do you want it to clamp or just warn, @OP?
Quick example: add a reporting dimension from hole center to plate edge and drive a ref plane with EdgeMin = 1.5×BoltDia; lock the bolt center to that plane so dragging can’t go under (like a bumper stop), and add a Yes/No to show a red “too close” note when the measured distance < EdgeMin — same idea for 40 cover. @rajKumar85’s approach works; tiny caveat: reporting dims don’t propagate cleanly through nested families, so test it in the host model.
One way to enforce that minimum edge distance is to create a reference plane set to 1.5x the bolt diameter in your family. This way, if someone tries to drag the element closer, they’ll hit that hard stop. It might be worth discussing with @rajKumar85 if there’s a method he’s found to make it user-friendly while still keeping compliance tight.