Exported DXF from Autocad and Scaling group code/location

Discussion in 'AutoCAD' started by glen.a.ritchie, May 8, 2006.

  1. Hi, i am writing an application to import and process DXF files that
    are output from AutoCad R14, and am comming across problems where the
    DXF files have differently scaled systems.

    Is there a group code in the header section that corresponds to the
    exact scale that the drawing is at?
    I've checked out this
    http://www.autodesk.com/techpubs/autocad/acad2000/dxf/ but it's not too
    helpfull.

    I'm trying to figure out the scale auto-magically and would prefer to
    leave user interaction out so they don't have to choose the scale if i
    can.

    Any suggestions would be welcome.
     
    glen.a.ritchie, May 8, 2006
    #1
  2. glen.a.ritchie

    per.corell Guest

    Hi
    An AutoCAD drawing is _alway's scale one to one. Some who are used to
    the oldfasion way alway's tried to use AutoCAD that way to, but this is
    exactly what youu shuld not do --- one-to-one make sure there are no
    problems or double calculations done by hand when you plot, when you
    plot is when you set a scale .

    Anyway if you write such progrem you proberly looked at the entity
    yieled by entget, there are scale codes there , sorry I don't remember
    these but you could try make a block and insert it in a scale you would
    reconise, then use entget to check the entity codes.
     
    per.corell, May 8, 2006
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.