CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2630 

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

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 All CAD tips&tricks



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:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


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.
TOPlist