• 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 with nctape and correct design name

Stats

  • State Verified Answer
  • Replies 2
  • Subscribers 17
  • Views 727
  • Members are here 0
More Content

Problem with nctape and correct design name

staticlounge
staticlounge 6 months ago

Hi Guys

I switched from OrCAD 16.6 to OrCAD X and I'm stuck with a problem with generating drill files via SKILL.

With v16.6 I used the following command:

axlRunBatchDBProgram("Gen Drill Files" "nctape myBoard.brd")

and I got a drill.drl file which contained the correct ;DESIGN name myBoard.brd:

;FILE  : drill-1-4.drl for  ... layers TOP and BOTTOM
;DESIGN: myBoard.brd
;T01 Holesize 1. = 9.100000 Tolerance = +0.000000/-0.000000 PLATED MM Quantity = 9

Now I have to use the following command (with %s) to not get an error message:

axlRunBatchDBProgram("Gen Drill Files" "nctape %s")

but then I end up with the temporary board file name #Taaaaal03632.tmp in the drill file:

;FILE  : drill-1-4.drl for  ... layers TOP and BOTTOM
;DESIGN: C:/Projects/testboard/#Taaaaal03632.tmp
;T01 Holesize 1. = 9.100000 Tolerance = +0.000000/-0.000000 PLATED MM Quantity = 9

How can I get the correct file name in the drill file?

Cheers,

Martin

  • Sign in to reply
  • Cancel
  • mahimag
    +1 mahimag 6 months ago

    Hello staticlounge , you can try below command, this should help.

    axlRunBatchDBProgram("nctape" strcat("nctape -n " axlCurrentDesign() " %s"))

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • staticlounge
    0 staticlounge 6 months ago in reply to mahimag

    That works! Awesome, thank you mahimag !

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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