• 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. Opening a text file in Allegro

Stats

  • Replies 10
  • Subscribers 161
  • Views 17035
  • Members are here 0
More Content

Opening a text file in Allegro

eddieb1
eddieb1 over 15 years ago

Hi,

Is there a way to open a text file in Allegro? Or if possible is there a way to place the text file in the "Show Element" window to make it active (hyperlink)?

 Here's my situation, I have a skill code written by somebody to look for a specific bend (angle) on a trace. Once found the x-y location of the trace and layer along with the netname is reported/written on a log file. Problem is, it's taking too much time to go and physically locate the bend. So if the skill reported 300 bends, then the only way to locate the bend is to copy the x-y coordinate from the report then use a 'line ' command with the x-y to go to the specific location.  If I can somehow place the report unto an active reporting window like the "show element" window then I think my problem will be resolved.

Thanks in advance

Eddie 

 

  • Sign in to reply
  • Cancel
  • Randy R
    Randy R over 15 years ago

    You can use the File->Viewlog command from the pull-down menus, browse to the report file, then click on the x/y coordinates.  Of course, the x/y coordinates put out by the skill file would have to be formatted so Allegro recognizes them; i.e. "(100 200)".

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 15 years ago

    You Sir are a genius!

     Thank you very much for the super quick reply. Exactly what I was looking for (totaly forgot about this command).

     Much ablidge Randy!

    Eddie.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 15 years ago

    Hi Randy,

     Is there a code that I can use to open the text file? I would like to include/add this code to my existing skill so that it's part of the process instead of going to the "Viewlog" command.

    Thanks again,

    Eddie. 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Randy R
    Randy R over 15 years ago

    There's a couple of ways you can try and see which one works better for you:

    axlUIViewFileCreate()

    or

    axlDMOpenFile()

    See algroskill.pdf in the doc folder of your installation for details on syntax.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 15 years ago

    Thanks Randy for pointing me to this document. Shows you that I'm just learning skill.

    Anyway, looks like the axlUIViewFIleCreate might work for me but I'm not so sure how to proceed from here. Do you think I can use the example provided in the document? If not will you be able to show me?

    Regards,

    Ed

    • 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