find if a file .DXF is in inches or millimeters

Discuss and ask questions about CADViewX (Lite and Pro versions).

Moderators: admin, support, SDS

Post Reply
xavier
Posts: 27
Joined: 04 Dec 2012, 14:58

find if a file .DXF is in inches or millimeters

Post by xavier » 20 Mar 2014, 10:55

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

support
Posts: 2932
Joined: 30 Mar 2005, 11:36
Contact:

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

Post by support » 25 Mar 2014, 13:49

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply