• 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. Turn on/off visibility features in the active layer

Stats

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

Turn on/off visibility features in the active layer

Marw
Marw over 3 years ago

Hello All,

I am new user to cadence and I wanted to know how would write a script to turn on/off cond or via or pin..etc for the active layer using a bindkey?

Thanks

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Marw

    If you clicked on the link in the email notification, you'd have seen it's now in the PCB Design Forum. I might have put it in the PCB SKILL Forum, but I wasn't certain whether this needed SKILL or not - I am leaving it to those who are familiar with Allegro SIP to determine that.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • masamasa
    masamasa over 3 years ago in reply to Andrew Beckett

    if u would like pins and vias on top layer, u can use the following funckey:

    funckey 1 "QtSignal ColorVisibilityPane CVPGlobalVisOff clicked;QtSignal CVPLayerGrid CVPBoxAllTop clicked true; QtSignal CVPLayerGrid CVPButtonPlanTop clicked; QtSignal CVPLayerGrid CVPButtonDrcTop clicked; QtSignal CVPLayerGrid CVPButtonCondTop clicked"

    pressing the key "1" lets u only pins and vias visible on top layer.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Marw
    Marw over 3 years ago in reply to masamasa

    Hello masamasa,

    I thought of doing that before but the thing about the "CVPButtonPlanTop" that you have to specify the layer. Which means I am going to have so many funckeys. I wanted to change the "top" to the active layer. That way I only have few bindkeys instead of so many

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

    I have aliases defined in my env that might help you, shown below:

    alias alt     '(axlSetActiveLayer "etch/top")'

    alias alb     '(axlSetActiveLayer "etch/bottom")'

    alias vte     '((axlVisibleLayer "etch/top" t)(axlVisibleLayer "pin/top" t)(axlVisibleLayer "via class/top" t)(axlVisibleLayer "drc error class/top" t)(axlVisibleUpdate t))'

    alias vbe     '((axlVisibleLayer "etch/bottom" t)(axlVisibleLayer "pin/bottom" t)(axlVisibleLayer "via class/bottom" t)(axlVisibleLayer "drc error class/bottom" t)(axlVisibleUpdate t))'

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Marw
    Marw over 3 years ago in reply to DavidJHutchins

    Hello David,

    Thank you. I just tested, it is not exactly what I am looking for. Sorry for not explaining myself well

    Lets say I defined a bindkey alt for the "Cond" in the visibility tab. if I click alt once it will make the cond visible and if I click alt again it will turn it off. In the case of the your alias that you provided, I am only able to turn it on but not off

    Also, I want to be to apply the same concept above in the active layer I am in. Not only for the top and bottom. If I apply the alias you provide it, I have to repeat it 16 time in my env for the 16 layers I have in the design. 

    Hopefully this make sense

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