• 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. Drop-down menu disappears from schematic window, moving...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 143
  • Views 15749
  • 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

Drop-down menu disappears from schematic window, moving into layout window when VXL is launched

DannyR
DannyR over 10 years ago

Hello,

A custom Drop Down menu, skill based, for Virtuoso is showing OK when launching Layout or Schematic windows individually. When VXL is launched from schematic window the Drop Down menu disappears from the schematics window and moves to  the layout window. Upon loading Virtuoso I am loading Triggers.il file as shown below.

Any tip why will be greatly apperciated...


Thanks,

Danny

-----------------------------------------------------------------------------


; LAYOUT Triggers
 procedure(DRSetups(args)

  leSetObjectSelectable("Blockages" nil)
  leSetObjectVisible("Blockages" nil)

  leSetObjectSelectable("Boundaries" nil)
  leSetObjectVisible("Boundaries" nil)

;  leSetObjectSelectable("ruler" nil)
;  leSetObjectVisible("ruler" nil)

;  leSetObjectSelectable("Markers" nil)
;  leSetObjectVisible("Markers" nil)

  ; Turn on all Valid Layer
  leSetAllLayerValid(t)

  ; CAD Utilities
  ; Layout
  UtilitiesMenu()

 ); procedure


;  Schematic Triggers
procedure(schSetups(args)

  ; CAD Utilities
  schUtilitiesMenu()

 ); procedure


;; create a user postinstall trigger that automatically setup

deRegUserTriggers("maskLayout" nil nil 'DRSetups)
deRegUserTriggers("maskLayoutXL" nil nil 'DRSetups)
deRegUserTriggers("maskLayoutGXL" nil nil 'DRSetups)
deRegUserTriggers("schematic" nil nil 'schSetups)
deRegUserTriggers("schematicXL" nil nil 'schSetups)

;;; VXL 6.1.6
------------------------------------------------------------------------------------------

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

    Danny,

    Two problems:

    1. Menus should be added via user menu trigger, not the user post-install trigger. This is the second argument to deRegUserTriggers. The idea is that the user menu trigger returns a list of pulldown menus, and "DE" takes care of adding them into the window. This is far more reliable than doing it via the post-install trigger
    2. You didn't provide the code for UtilitiesMenu() or schUtilitiesMenu(), and this is highly likely to be where the problem is. My guess is that these functions use hiGetCurrentWindow() to determine the window to insert the menus into - and that may not be the correct window when you are starting XL - because it is opening a second editor window. Again, this wouldn't be a problem if it was done using the user menu trigger approach (or even if the window was retrieved from args->window - although you really should use the user menu trigger approach)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Danny,

    Two problems:

    1. Menus should be added via user menu trigger, not the user post-install trigger. This is the second argument to deRegUserTriggers. The idea is that the user menu trigger returns a list of pulldown menus, and "DE" takes care of adding them into the window. This is far more reliable than doing it via the post-install trigger
    2. You didn't provide the code for UtilitiesMenu() or schUtilitiesMenu(), and this is highly likely to be where the problem is. My guess is that these functions use hiGetCurrentWindow() to determine the window to insert the menus into - and that may not be the correct window when you are starting XL - because it is opening a second editor window. Again, this wouldn't be a problem if it was done using the user menu trigger approach (or even if the window was retrieved from args->window - although you really should use the user menu trigger approach)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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