• 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 7923
  • 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
  • DavidJHutchins
    DavidJHutchins over 3 years ago

    I just output a plot file using axlDetailSave() & interactively using File>Export>IPF... ( which runs 'create plot )

    The first lines of the 2 files are not in the same format, the file from axlDetailSave has 4 entries, while the file from 'create plot' has 4 entries

    So axlDetailLoad() can not correctly read a file created by 'create plot', it outputs thousands of errors stating 'ERROR(SPMHMF-392): Cannot read the line data.'

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