Skip to main content

Hello all,

I am trying to validate DWG files and that they have been drawn using metric units.

I have exposed the 'Read Drawing System Variables' and that gives me access to autocad_lunits but I am trying to figure out what the output means.

In the image below the autocad_lunits comes back with a value of 2 on the 0 layer but not sure what 2 really means.

Does anyone know what the range of options that AutoCAD produce or if there is another way to find what units are being used in the drawing?

 

 

Note: I know this particular drawing is in metric units but not sure what other values could be expected.

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-D7C80D1F-B1C0-44A9-898E-B3100FF391CB-htm.html

 

Here I think this should help

hi @deanhowell, also the INSUNITS system variable might be interesting to check:

ACAD

FME


hi @deanhowell, also the INSUNITS system variable might be interesting to check:

ACAD

FME

Thanks @becchr I think it will be a combination of this and lunits as at the end of the day I am trying to make sure the drawing has been drawn in meters.


Thanks @virtualcitymatt that helps a lot.


Reply