Over 1.092.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 7844:
Question
A
How to round the value displayed in the dynamic field label to the nearest 5 units? E.g. to read "680" instead of the true 677, or "675" instead of true 676 units.
You can use the round function mentioned in the Tip 6381. Use round(XXX/5)*5.
Instead of XXX, right-click to insert a nested field and choose e.g. the object area property (do not use unit suffix). This will make the field dynamic. The resulting field code will look something like:
%<\AcExpr (round(%<\_FldPtr 325850784>%/5)*5)>%
ACAD


7.3.2011
14465×
applies to: AutoCAD ·