Use Calculator to Measure, Calculate, and Paste Result to Command Line
From The CAD Geek
Did you just finish calculating quantities inside AutoCAD only to learn they’re now out of date (five-minutes after you finished)? Leverage Data Extraction Tables to quickly and dynamically calculate quantities in your drawing.