From 328fb8bc0e633d7ada8ddbee76813d81b0cdaf59 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Sat, 22 Mar 2025 09:11:41 -0500 Subject: [PATCH] fix #3731 - round to the nearest foot --- src/bonsai/bonsai/bim/module/drawing/helper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bonsai/bonsai/bim/module/drawing/helper.py b/src/bonsai/bonsai/bim/module/drawing/helper.py index cbd98cfe5a..eb63b05a05 100644 --- a/src/bonsai/bonsai/bim/module/drawing/helper.py +++ b/src/bonsai/bonsai/bim/module/drawing/helper.py @@ -272,6 +272,8 @@ def format_distance( tx_dist += str(frac) + "/" + str(base) if add_inches or frac: tx_dist += '"' + if precision == "12": + tx_dist = str(feet) + "'" else: fmt = "%1.3f" sq_feet = round(value * toInches / inPerFoot, 4)