• 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. Allegro X Scripting - Skill
  3. Problem Running dxf2a Command via Skill Form – Invalid Program...

Stats

  • State Suggested Answer
  • Replies 10
  • Answers 2
  • Subscribers 21
  • Views 5274
  • Members are here 0
More Content

Problem Running dxf2a Command via Skill Form – Invalid Program Arguments

Maxime1998
Maxime1998 10 months ago

Hello everyone,

I'm currently trying to create a form to simplify the import of DXF file.

I'm using the command "dxf2a" but i'm currently stuck with de command, i've read lot of documentation but i'm not sure why this command is not working.

Here is the error and the command name i'm using:

Starting DXF Import... (SPMHGE-268): dxf2a had errors, use Viewlog to review the log file.

nom de dxf2a : "C:/Cadence/SPB_17.4/tools/bin/dxf2a.exe -$ -u MM -v MM -a 4 -g C:/CAO/FGXXXXXXXYXX/INPUT/MECANIQUE/FGXXXXXXXYXXMID-1_PAGE_1 (1)_l.cnv C:/CAO/FGXXXXXXXYXX/INPUT/MECANIQUE/FGXXXXXXXYXXMID-1_PAGE_1 (1).dxf FGXXXXXXXYXX %s"

I'm using the axlRunBatchDBProgram fonction to run the dxf2a command to Cadence.

My viewlog file is looking like that:

ERROR: Invalid program arguments.

Terminating program.

In my code I'm generating the .cnv file like it should be and I don't think its the problem because I've tried to use the .cnv file generated by Cadence and it doesn't work either.

Thank you very much!

  • Cancel
  • Sign in to reply
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.

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

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