• 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. Custom IC SKILL
  3. waive the question " edit/read/auto" when open a schematic...

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 142
  • Views 6640
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

waive the question " edit/read/auto" when open a schematic from bindkey

FormerMember
FormerMember over 3 years ago

hi there, I want  the Virtuoso can waive the question menu of " edit/read/auto" to save some time when I open a schematic using bindkey "e" on a symbol. "e" means I want to open it in read only mode, otherwise I will use "shift+e"  .Thank you for your answer ,otherwise I need to answer this question for thousands of times in next ten years.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Assuming you are talking about the descend commands - well, interactively you can start with nothing selected, hit "e" or "shift-e", then press F3 to bring up the options form and change the Target to "use viewNameList". Then click on an instance.

    The primary purpose of the form is not to ask you the access mode, but which view to pick to open. If you choose "use viewNameList" it will determine the views in the order based on the View Name List in Options->Editor (or the view chosen in a config if you're using a configured schematic).

    You can also set this by default by adding this to your .cdsinit:

    envSetVal("schematic" "descendTarget" 'string "use viewNameList")

    (note, you will still get a popup appear if you try to descend into an iterated instance - i.e a bussed instance; this is because it needs to know which iteration you are descending into for net tracing etc).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 3 years ago in reply to Andrew Beckett

    hi Andrew, thank you for the reply. If  I want to edit or read a different view, I can use SHIFT+E to open a descent schematic or other view in read or edit mode.  For most of the time ,designer only open a schematic view in read only mode, so keep answering the same question will be time consuming. I suppose such function is overlapped between the bindkey E and SHIFT+E. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to FormerMember

    If you set the env var as I suggested, then both "e" and "shift-e" will descend without a popup form. If you want the form to appear again, you can always not select anything, hit e or shift-e, press F3 and then change back to "query user" or whatever the first choice is. Or change descendTarget via Options->Cdsenv Editor in the CIW.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to FormerMember

    If you set the env var as I suggested, then both "e" and "shift-e" will descend without a popup form. If you want the form to appear again, you can always not select anything, hit e or shift-e, press F3 and then change back to "query user" or whatever the first choice is. Or change descendTarget via Options->Cdsenv Editor in the CIW.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • FormerMember
    FormerMember over 3 years ago in reply to Andrew Beckett

    hi Andrew, thanks again. I try it and works for both "e" and "E". But is there any way we only disable the popup form for "e", but keep the popup form for "shift+e". I am a design engineer, so I need to modified the design often. If the popup form for "e" and "shift+e" are disabled ,then I cannot modify different views like symbol or layout.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to FormerMember

    This can be achieved by redefining the bindkeys as follows:

    hiSetBindKey("Schematics" "<Key>E" "envSetVal(\"schematic\" \"descendTarget\" 'string \"use viewNameList\") schHiDescendRead()")
    hiSetBindKey("Schematics" "Shift<Key>E" "envSetVal(\"schematic\" \"descendTarget\" 'string \"query user\") schHiDescendEdit()")

    You might also want to redefine the action for double clicking the left mouse button which does a descend in "auto" mode when over an instance:

    hiSetBindKey("Schematics" "None<Btn1Down>(2)" "envSetVal(\"schematic\" \"descendTarget\" 'string \"use viewNameList\") schHiDefaultAction()")

    Otherwise double-left-click would show the form or not dependent on whether you had last used "E" or "Shift-E".

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 3 years ago in reply to Andrew Beckett

    Thank you Andrew. It does work. Very appreciate. Beside that, Could you please help me on another bindkey writing :  if I want to highlight all the nets with the same netname on a schematic, how could I write the bindkey? Thank you again.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to FormerMember

    This is a standard feature, so probably doesn't need anything special. You can do one of:

    View->Net Highlighting. If you hover over a net, it will show you everywhere that this net goes. For example:

    Or if you click on the wire, and then double-click on it after selecting, it will select all the places the net goes (if that's what you mean by highlighting) (see all the white selected wires):

    Or you can use the "9" bindkey (Create->Probe->Add Net) and then click on the wire:

    Or in the navigator, you can go over a net and use right mouse to probe a net given its name.You can then pick the colour the probe is done in.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 3 years ago in reply to Andrew Beckett
    Andrew Beckett said:
    Or if you click on the wire, and then double-click on it after selecting, it will select all the places the net goes (if that's what you mean by highlighting) (see all the white selected wires):

    hi Andrew, thank you. This is the function I want, but double clicking doesn't works on my side.  how can I write a bindkey to whiten all the same net?  thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to FormerMember

    The function you want is schExtendSelectPt(). So for example, I defined the "1" key to be:

    hiSetBindKey("Schematics" "<Key>1" "schExtendSelectPt()")

    I then can press 1 to select a wire, press it again to start selecting further (sometimes you have to press it 3 times - not quite sure why...)

    That is already bound to shift-double-click-left-mouse-button (by default) and is also performed when you use double-click-left-mouse-button by virtue of it being built-in behaviour for schHiDefaultAction(). Not sure why the double-click doesn't work (maybe your double-click time is not well-adjusted on Options->User Preferences in the CIW, or maybe your bindkeys have already been overridden - you can check what they are via Options->Bindkeys.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 3 years ago in reply to Andrew Beckett

    thank you Andrew. It is well working now.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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