neekcotrack Posted August 18, 2008 Posted August 18, 2008 When you type units in the command bar it brings up the box so you can change in to architectural and make it to the precision of 0'-0 1/64" is there a way to do this in lisp. Thanks in advance for everything. Quote
lpseifert Posted August 18, 2008 Posted August 18, 2008 if you're units are already set to Architectural (setvar "luprec" 6) or if you're converting a real to a string (rtos (getreal) 4 6) Quote
BIGAL Posted August 19, 2008 Posted August 19, 2008 Do a "Setvar" ? * look through the list for "ANGBASE" "ANGDIR" "LUNITS" "LUPREC" "AUNITS" "AUPREC" Change your "Units" and then look at these variables again. Sometimes with lisp you need to work in the default angle directions as supplied by Autodesk. Quote
asos2000 Posted August 24, 2008 Posted August 24, 2008 Is there a system variable allowing me to change the units to mm? Quote
Footpeg Posted August 24, 2008 Posted August 24, 2008 Is there a system variable allowing me to change the units to mm? Do you mean for UNITS, or for Dimensions? The only unit of measures are those shown in the UNITS dialog box (no special setting for metric). LUNITS = Linear Units (1 Scientific, 2 Decimal, 3 Engineering, 4 Architectural, 5 Fractional) LUPREC = Linear Unit Precision (number of decimal places / fraction precision) DIMPOST = Specifies a text prefix or suffix (the default), or both, to the dimension measurement. For example, to establish a suffix for millimeters, set DIMPOST to mm; a distance of 19.2 units would be displayed as 19.2 mm. If you entered mm , the dimension would be displayed as "mm 19.2". DIMLUNIT = Similar to LUNITS, but also has a value of 6. Footpeg Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.