• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Importing DXF results in incorrect shape size

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 165
  • Views 13083
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Importing DXF results in incorrect shape size

applesauce1
applesauce1 over 4 years ago

Hello,

I am trying to import a DXF into PCB editor from an online CAD database such as 3D ContentCentral (this DXF in particular https://www.3dcontentcentral.com/secure/download-model.aspx?catalogid=1023&id=115).
I am able to import the DXF but the shape size does not match the original DXF.
My DXF units match the units used in the DXF file.

When I click "view selected layers" in the edit/view layers screen my command screen gives me this error... 

*Error* fprintf/sprintf: format spec. incompatible with data - "Format is 'dxf2a -$ %s -u %s -v %s -a %d %s %s %%s %s', argument #1 is nil"

After I click import the shape does appear but I get this message... 

dxf2a completed successfully, use Viewlog to review the log file. Incremental option off, existing design was replaced. Re-open design to restore.

Logfile is as follows...

Reading Layer Conversion File
Reading DXF file...
NOTE: Replacing illegal character $ with X in $MODEL_SPACE.
NOTE: Replacing illegal character $ with X in $PAPER_SPACE.
done.
Layer conversion file: C:/Users/Timothy/Desktop/Sample_Parts_for_Practice/CircuitWorks-RESISTOR 0603/CircuitWorks-RESISTOR 0603_l.cnv
DXF file: C:/Users/Timothy/Desktop/Sample_Parts_for_Practice/CircuitWorks-RESISTOR 0603/CircuitWorks-RESISTOR 0603.DXF
BRD file: C:/Users/Timothy/Desktop/Sample_Parts_for_Practice/CircuitWorks-RESISTOR 0603/#Taaaatn11832.dra
Update existing design?: NO
Use default text?: NO
DXF units: MILLIMETERS
Design units: MILS
Design precision: 4
dxf2a complete.

Looking into the DXF preview on eDrawings I get these measurements which don't make sense to me.

Maybe there's something I'm missing here but how is it that the line is 0.01" and the distance between the two lines its connected to is 1.18"???

  • Cancel
  • excellon1
    excellon1 over 4 years ago

    Try setting the DXF import to Inch Units instead of Mils and see if that works better.

    All the best.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information