CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.094.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDXF scale or units?

 Post Reply Post Reply
Author
cdsdonham View Drop Down
Newbie
Newbie


Joined: 02.Sep.2007
Status: Offline
Points: 1
Direct Link To This Post Topic: DXF scale or units?
    Posted: 02.Sep.2007 at 19:25
Hi all --

I'm writing my own program to generate a DXF file for a very specific need.  I can get the geometry into the DXF file, but when I load the file into autocad's design review, I'm having trouble with the scale or units on the drawing.

Can anyone point me at either documentation and/or an example of how to specify in the DXF file what the units or scale of the drawing is?  Generating the polylines was easy (with the help of a library).  There appears to be a bunch of header variables and I can't seem to get the right combination of $VARIABLES to get the scale set correctly.

Also, I'm using a random cad library I found on the web which appears to be a bit dated.  I need a C++ API under windows for generating the DXF file.  Does anyone have any good suggestions about what to use?  I tried autocad's free library, but it appears to generate DWF files not DXF or DWG which is what the CMC tool apparently needs.

Thanks.

Chris
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2111
Direct Link To This Post Posted: 03.Sep.2007 at 07:47
You normally don't need any scale for modelspace DWG or DXF files. The drawing just uses "units" (unitless) and scale is used just for plotting, dimensioning and paperspace (layouts).
Probably your CNC tool scales the imported DXF files for some reason. If so, you can generate all the coordinates scaled down or up.
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,215 seconds.