CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 7417:

Question

CAD 
 %  platform  category 
A
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 - www.cadstudio.cz  
(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)))  
 )  
 (princ)  
)  
ACADADTACADMCivilMapTB
100% *CAD
22.6.2010    32126×  

See also:
Tip 14507:Fixed Workpoints (X,Y,Z) in Autodesk Inventor.
Tip 14242:How to find the minimum, maximum or local extreme of a 2D or 3D curve?
Tip 13971:What do geolocation codes like 8FWPXFCF+82 or 33UVQ61402434 mean?
Tip 13967:Drawing polylines using arbitrary length units - 2DpolyC.
Tip 12105:MinOf - select the smallest/largest DWG object or extreme curve point.


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
  



Featuring:
Generate hatch patterns automatically from your DWG drawings with
HGEN 2006 More info


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