Page 1 of 1

find if a file .DXF is in inches or millimeters

Posted: 20 Mar 2014, 10:55
by xavier
Hello

I use cadviewxpro Version 8.2.0.3.

I'm trying to determine if a file .DXF is in inch or millimeter.

For this, I use ICADViewX.LoadFile Method to open the file .DXF
then ICADViewX.Millimetres Property
But whatever the file, whether it is in inch or millimeter in,
ICADViewX.Millimetres Property always returns me "true".

I tried with ICADImage.Millimetres Property, I have the same result: for cadviewxpro, all files are in millimeter (even those who are actually in inches).

Please tell me how to find the unit of measurement of a file .DXF.

Thank you in advance.

Xavier

Re: find if a file .DXF is in inches or millimeters

Posted: 25 Mar 2014, 13:49
by support
Hello Xavier.
Unfortunately there is a bug in CADViewX library. The Millimetres property must indicate if measurement units is english or metric. We will consider this problem and inform you about a solution.

Alexander.