• 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 PCB Editor
  3. E- Can't find window; form.nc_drill

Stats

  • Replies 2
  • Subscribers 159
  • Views 930
  • Members are here 0
More Content

E- Can't find window; form.nc_drill

KARPCB
KARPCB over 11 years ago

HiAll,

Here i have attached  skill code for scripting(automatic drill generation).

while loading skill i got below errors

E- Can't find window; form.nc_drill
E- Can't find window; form.nc_parameters

 Any one please help me out.

Thanks,

Karthik.

 

 

tihm.il
  • Sign in to reply
  • Cancel
Parents
  • KARPCB
    KARPCB over 11 years ago

    You are right dave,

    im using 16.6s028.

    Now i rerecord and complete the skill code. its working fine.

     let((Drill_file)

    Drill_file = axlDMOpenFile("ALLEGRO_SCRIPT", "Drill", "w")

    fprintf(Drill_file "scriptmode +i +n +w +c\n")

    fprintf(Drill_file "placementedit\n")

    fprintf(Drill_file "nctape_full\n")

    fprintf(Drill_file "setwindow form.nc_drill\n")

    fprintf(Drill_file "FORM nc_drill parameters\n")

    fprintf(Drill_file "setwindow form.nc_parameters\n")

    fprintf(Drill_file "FORM nc_parameters integer_places 3\n")    

    fprintf(Drill_file "FORM nc_parameters incremental_coords YES\n")

    fprintf(Drill_file "FORM nc_parameters suppress_lead_zeroes YES\n")

    fprintf(Drill_file "FORM nc_parameters enhanced_format YES\n")

    fprintf(Drill_file "FORM nc_parameters done\n")

    fprintf(Drill_file "setwindow form.nc_drill\n")

    fprintf(Drill_file "FORM nc_drill scale 1.00\n")

    fprintf(Drill_file "FORM nc_drill auto_tool_select YES\n")

    fprintf(Drill_file "FORM nc_drill execute\n")

    fprintf(Drill_file "FORM nc_drill cancel\n")

    fprintf(Drill_file "setwindow pcb\n")

    axlDMClose(Drill_file)

    axlShell("replay Drill")

    Thanks,

    Karthik.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • KARPCB
    KARPCB over 11 years ago

    You are right dave,

    im using 16.6s028.

    Now i rerecord and complete the skill code. its working fine.

     let((Drill_file)

    Drill_file = axlDMOpenFile("ALLEGRO_SCRIPT", "Drill", "w")

    fprintf(Drill_file "scriptmode +i +n +w +c\n")

    fprintf(Drill_file "placementedit\n")

    fprintf(Drill_file "nctape_full\n")

    fprintf(Drill_file "setwindow form.nc_drill\n")

    fprintf(Drill_file "FORM nc_drill parameters\n")

    fprintf(Drill_file "setwindow form.nc_parameters\n")

    fprintf(Drill_file "FORM nc_parameters integer_places 3\n")    

    fprintf(Drill_file "FORM nc_parameters incremental_coords YES\n")

    fprintf(Drill_file "FORM nc_parameters suppress_lead_zeroes YES\n")

    fprintf(Drill_file "FORM nc_parameters enhanced_format YES\n")

    fprintf(Drill_file "FORM nc_parameters done\n")

    fprintf(Drill_file "setwindow form.nc_drill\n")

    fprintf(Drill_file "FORM nc_drill scale 1.00\n")

    fprintf(Drill_file "FORM nc_drill auto_tool_select YES\n")

    fprintf(Drill_file "FORM nc_drill execute\n")

    fprintf(Drill_file "FORM nc_drill cancel\n")

    fprintf(Drill_file "setwindow pcb\n")

    axlDMClose(Drill_file)

    axlShell("replay Drill")

    Thanks,

    Karthik.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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