• 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. error when trying to load plt file using axlDetailLoad

Stats

  • Replies 6
  • Subscribers 18
  • Views 7926
  • Members are here 0
More Content

error when trying to load plt file using axlDetailLoad

jruffsr
jruffsr over 3 years ago

I am trying to use the following skill code to load a plt file. This is to replace a script I was using in 16.6 and now trying to migrate to 17.4.

    (axlMsgPut "Turning on DRAWING_FORMAT/PS_OUTLINE")
    axlVisibleLayer("DRAWING FORMAT/PS_OUTLINE" t)
    (axlMsgPut "Generating Border script")
    file = "X:/conf_root/ABB/JMM/pcb/plot/pwbfabBorder.plt"
    (axlMsgPut "Found border file %L" file)
    
    axlDetailLoad(
        file
        -2400:-3600
        1.0
        0            
        nil
    )

This code shows a spinning icon but never completes and after 15 min exits with no data found on the indicated layer.

Any guidance on what could be wrong would be appreciated. Note: I am able to import this plt without any issues.

Thanks

  • Cancel
  • Sign in to reply
Parents
  • DavidJHutchins
    DavidJHutchins over 3 years ago

    I just opened a support case for this...

    Update 46571304 axlDetailLoad fails to load file that works fine via File>Import>IPF (load plot)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins over 3 years ago in reply to DavidJHutchins

    Further testing shows that it works if you save the data with axlDetailSave first ( which seems weird... )

    \i (00:11:19) set telskill
    \i (00:11:25) skill 'axlSetFindFilter(?enabled list("noall" "shapes" "text" ) ?onButtons list("noall" "shapes" "text"))'
    (00:11:25) t
    \i (00:11:30) skill axlAddSelectBox()
    \i (00:11:35) pick 229.62 762.24
    \t (00:11:35) last pick: 229.62 762.24
    \i (00:11:36) pick 690.94 587.28
    \t (00:11:36) last pick: 690.94 587.28
    (00:11:36) t
    \i (00:11:55) skill data=axlGetSelSet()
    (00:11:55) (dbid:0000009B30599BA0 dbid:0000009B3059DDF8 dbid:0000009B3059F108 dbid:0000009B30599DD0 dbid:0000009B3059A000
    (00:11:55) dbid:0000009B305A1050 dbid:0000009B30599928 dbid:0000009B305999D0
    (00:11:55) )
    \i (00:12:29) skill ' axlDetailSave( "logo" list( list(221 580) list(680 770)) data nil)'
    (00:12:29) t
    \i (00:13:08) setwindow form.mini
    \i (00:13:08) FORM mini class 'BOARD GEOMETRY'
    \i (00:13:16) FORM mini subclass SILKSCREEN_TOP
    \i (00:13:17) setwindow pcb
    \i (00:13:17) zoom out 1
    \i (00:14:47) skill 'axlDetailLoad( "logo" 1200:555 1.0 0 nil)'
    (00:14:48) t

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jruffsr
    jruffsr over 3 years ago in reply to DavidJHutchins

    Thanks for the info. I an not sure I understand what is going on. it looks like you generate a plt file and then you can import previously saved plt file.  The file was saved in 16.6, do you believe I need to save it out in 17.4 to work?

    Thank you again for this information.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jruffsr
    jruffsr over 3 years ago in reply to DavidJHutchins

    Thanks for the info. I an not sure I understand what is going on. it looks like you generate a plt file and then you can import previously saved plt file.  The file was saved in 16.6, do you believe I need to save it out in 17.4 to work?

    Thank you again for this information.

    • 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