0 Members and 1 Guest are viewing this topic.
I use "insunits 4 " 4,5 & 6While measurement should work it is about hatch
How to find out if your drawing is in metric units using autolisp?
(IF (= 1 (GETVAR "MEASUREMENT")) (ALERT "Metric Drawing") (ALERT "English Imperial Drawing"))
System Variable MEASUREMENTSets drawing units as English or metric for the current drawing only. Specifically, MEASUREMENT controls which hatch pattern and linetype files an existing drawing uses when it is opened.0 English; AutoCAD uses the hatch pattern file and linetype file designated by the ANSIHatch and ANSILinetype registry settings.1 Metric; AutoCAD uses the hatch pattern file and linetype file designated by the ISOHatch and ISOLinetype registry settings.The drawing units for new drawings are controlled by MEASUREINIT (MEASUREINIT uses the same values as MEASUREMENT). The MEASUREMENT setting of a drawing always overrides the MEASUREINIT setting.