• 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 - TCL
  3. Ho To find out the id of a menu command in OrCAD

Stats

  • State Verified Answer
  • Replies 4
  • Subscribers 13
  • Views 1772
  • Members are here 0
More Content

Ho To find out the id of a menu command in OrCAD

PatEscher
PatEscher over 1 year ago

We partially use Menu commands like File::Save in our tcl code.
This works fine, as long as the OrCAD UI is in English. but we want to be more language independent, so based on antother question we know that the MenuCommand ID for the PartManager is "14604"

How can we find out the ID's of the available MenuCommands e.g. for File::Save

Thanks

Patrick

  • Sign in to reply
  • Cancel
  • PatEscher
    +1 PatEscher over 1 year ago

    Answering my own question:
    looks like the id's are defined in OrCAD_Capture.xml file.

    But apparently not all of the id's do work (maybe context specific, so have to check them directly in tcl code to not lose the context)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • PatEscher
    0 PatEscher over 1 year ago in reply to PatEscher

    Hi guys, 

    need to get the commandID of "View::Variant View Mode"

    I do not find it in any of the xml files. Seems to me that it might be hardcoded in the dll's. But because of the language issues and that we have to control vs. having an API, we will be in trouble on systems running different UI languages

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • E2202407295816
    0 E2202407295816 over 1 year ago in reply to PatEscher

    Were you able to find the object I'd

    I use variant very much

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • PatEscher
    0 PatEscher over 1 year ago in reply to E2202407295816

    No, and it appears that there is no menu id.
    It seems the string is hardcoded in the OrCAD dll for now

    • 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