CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5788

CAD tip CAD tip # 7417:

Question CAD 
 %  platform  category 
Q - question

Displaying large coordinates without the scientific notation.

A - answer When working in survey maps or in situations with large coordinates, AutoCAD may switch to the "engineering" or "scientific" notation (with the "E" exponent - e.g. -1.23456789E+06) to display coordinates with the specified number of decimal places.

You can suppress this switch either by lowering the number of displayed decimal places (see the UNITS command or the LUPREC variable), or by using the LISP function (rtos).

Instead of the ID command, you can e.g. use the following Lisp routine (save it to fullid.lsp, load it with APPLOAD and run it with the fullID command), which displays large coordinates as a standard decimal number:

;Full ID  
;6/2010 -  
(defun C:fullID ( / pt)  
 (setq pt (getpoint "\nPick a point to ID: "))  
 (if pt  
 (prompt (strcat "\nX = "(rtos (car pt) 2)  
                  " Y = " (rtos (cadr pt) 2)  
                  " Z = " (rtos (caddr pt) 2)))  
100% *  CAD 
22.6.2010    19587×  

See also:
Tip 12105:Select the smallest DWG object - MinOf utility.
Tip 11939:How to extract pipe centerlines from 3D point clouds?
Tip 10682:Automatic classification of drawing objects by their properties.
Tip 10231:How to draw spiral in AutoCAD LT?
Tip 9357:Intersection of a 3D curve with a 3D surface in AutoCAD.

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   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

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