CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9288

CAD tip CAD tip # 11492:

   
Question CAD 
 %  platform  category 
Q - question

Adding selected numbers in drawing texts - counting numbers (GrSelNum).

A - answer Using the freeware utility GrSelNum you can easily add up numerical values from selected texts in AutoCAD DWG files (drawings).

After you download (Download) and load (APPLOAD) the application, type the command GRSELNUM and click the individual texts containing integer or decimal numbers (or press 'w' to window-select plain texts). Finish the selection process by pressing ENTER after the last clicked text. The application supports single-line and paragraph texts, texts and attributes in blocks (references, insertions) and numerical texts in tables. In combined texts (text + number), the number is extracted automatically. The value with the total sum can be inserted back to the drawing as text. The text will use the properties (layer, size...) of the first clicked text entity.

You can influence the result display by setting some LISP variables:

(setq GrSelNum_resdp 4)   ;result decimal places - rounding
(setq GrSelNum_prefix "") ;result prefix - e.g. "TOTAL: "
(setq GrSelNum_suffix "") ;result suffix - e.g. " kg"

See also a similar application NumInText

ACAD
100% *  CAD 
22.6.2017    10091×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 13855:DBXscanLayers and DBXscanBlocks - bulk report content of DWG files in a folder.
Tip 13766:Edit the Fusion 360 CAM tool library using Excel.
Tip 13712:Why do I have an inactive "thousands separator" item in AutoCAD text field formatting?
Tip 13703:How to generate a dynamic QR code or Data Matrix on an Inventor drawing?
Tip 13583:Evaluate math expressions in AutoCAD DWG texts.


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist