• 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 Capture CIS
  3. create a user form

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 44
  • Views 7921
  • Members are here 0
More Content

create a user form

tennywhy
tennywhy over 3 years ago

Does anyone know how to create a form with a tcl script in orcad 16.6?
I tried it and always reported the error cant invoke toplevel.
In addition, during the test, it was found that the menu could not be opened by macro commands
Menu "Accessories::Cadence TclTx Utilities::Utilities"
Does anyone know how to open this menu with tcl? Much appreciated

  • Sign in to reply
  • Cancel
Parents
  • soll
    0 soll over 3 years ago

    Hello,

    i could not help you to write a form using TCL (i honnestly don't know what that is), but did you considered using Skill and the "form language" ?

    This video by Cadence is useful to get a grasp of how it is done.
    This video by Robert Feranec goes much more in depths and is well explained.

    The Algroskill.pdf manual has a chapter concerning the form interface. It is quite obscure but there is useful info in it. You can find algroskill.pdf by going to your Cadence installation folder, then in the doc folder.

    Hope it helps

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

    Hello,

    i could not help you to write a form using TCL (i honnestly don't know what that is), but did you considered using Skill and the "form language" ?

    This video by Cadence is useful to get a grasp of how it is done.
    This video by Robert Feranec goes much more in depths and is well explained.

    The Algroskill.pdf manual has a chapter concerning the form interface. It is quite obscure but there is useful info in it. You can find algroskill.pdf by going to your Cadence installation folder, then in the doc folder.

    Hope it helps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • tennywhy
    0 tennywhy over 3 years ago in reply to soll

    Thank you very much for your reply soll, I didn't explain the previous question very clearly,
    In fact I can create the form, the problem I have is:
    When I run my tcl script directly, I get the error "Cannot invoke button command: application has been destroyed",
    But when I manually open the menu "Accessories::Cadence TclTx Utilities::Utilities" once, and then run my tcl script,
    everything works fine. I tried to open the "Accessories::Cadence TclTx Utilities::Utilities" menu first with tcl, but found
    This menu does not support opening with tcl scripts. I carefully checked the code corresponding to "Accessories::Cadence TclTx Utilities::Utilities" and did not find any corresponding clue.
    If I add "package require Tk" to my code, it will function normally, but there will be create an extra form for no reason, and it cannot be closed or the function will not work properly.

    I'm stuck at this step now, any advice is greatly appreciated

    • 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