• 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. How Do I Pass a Variable from Script to Skill

Stats

  • State Not Answered
  • Replies 2
  • Subscribers 18
  • Views 4678
  • Members are here 0
More Content

How Do I Pass a Variable from Script to Skill

MarkGorecki
MarkGorecki over 3 years ago

Hello,

First, I'm using "Cadence Allegro Package Designer L" In a Windows environment.  I have a program that creates a script to run in Cadence.  One of the things I wanted to do is select a large group of vias and assign them all the same net.  One cannot do that using Logic > Assign net, so I found that if I select the vias, RMB pick "Assign net to vias" and select the net name from the list, it works manually.  However, it does not work when you do the same steps using a script.

Does someone know of a way to assign nets to a group of vias (currently they are all just dummy net) using a script?

If not, does anyone know how to pass a group of selected vias to a Skill program?  I was given a Skill program that will assign nets to vias.  I have no idea how to pass that info to the Skill program.

Thanks and best regards,

Mark

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

    If the vias are selected before you run the skill program you should be able to access them using:

    foreach(via axlGetSelSet()

      when((via->objType) == "via"

         ;;

      )

    )

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

    Hi David, Thanks for taking the time to respond and also for the info.  I think I may have a workaround with:

    axlSetFindFilter(?enabled (list "vias") ?onButtons (list   "vias" ))

    viaList = axlGetSelSet(axlSingleSelectBox( list(-62175.00:-38850.00 181525.00:38850.00)))

    and have the program select them.

    I'm new to Skill and just found where they're hiding all these axl commands :-)

    Best regards

    • Cancel
    • Vote Up 0 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