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: 11164
Plex.Earth connects AutoCAD and Google Earth

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 - 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    28840×  

See also:
Tip 13971:What do geolocation codes like 8FWPXFCF+82 or 33UVQ61402434 mean?
Tip 13967:Drawing polylines using arbitrary length units - 2DpolyC.
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.


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:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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