Unit and Scaling Factor

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
chan
Posts: 1
Joined: 30 Aug 2007, 06:04

Unit and Scaling Factor

Post by chan » 30 Aug 2007, 06:17

Hi, I would like to know the unit and scaling factor used in a particular dxf file. For example, a floor plan may indicate
1 meter :100 meter, which means 1 meter in drawing is equavalent to 100 meter in real world. Does this information stated in dxf file?

By the way, what is the meaning of Absolute Height and Absolute Width in class CADImage? What is the unit of these 2 members?(e.g meter, milimeter or inch...)

Thank you

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

Post by support » 13 Sep 2007, 16:50

Hello!

Units in the DXF file are just units. They are not millimeters, not inches etc. They are just units. On other side is they may be interpreted by different ways.

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">By the way, what is the meaning of Absolute Height and Absolute Width in class CADImage? What is the unit of these 2 members?(e.g meter, milimeter or inch...)<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<b>CADImage.AbsWidth</b> and <b>CADImage.AbsHeight</b> are absolute values of height and width of the drawing. It means that a drawing may have points with negative coordinates. Such points can't be used in some special operations. Thus <b>CADImage.AbsWidth</b> and <b>CADImage.AbsHeight</b> are used.

If necessary, please send us some of your files for an additional tests. Please make a reference to this topic.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

Post Reply