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

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    13005×  
Comments   Tell a friend

See also:
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 11428:Differences in typed distance/offset values in Inventor sketches.
Tip 11179:Select objects in negative elevation or in a given 3D octant.
Tip 11076:Reading 3D point matrix from a CSV file.
Tip 11054:Difference volume (3D solid) between two TIN surfaces (sets of coordinates)


Back   All CAD Tips All CAD tips&tricks

Cannot load point list - value out of range. « | » Choosing language when installing AutoCAD LT 2011.

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:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


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