• 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. How to let the script continue after a form has been opened...

Stats

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

How to let the script continue after a form has been opened by "sevEdit..." or "sevChoose..." API

fatcat1206
fatcat1206 over 9 years ago

Hi All

In my previous post, I mention the method to open the "Edit Choosing Analyses" form, with "sevEditSelectedAnas(session) "

fatcat1206
Open "Choosing Analyses form" for specific analysis with skill
Hi All I am tring to open "Choosing Analyses form" for specific analysis with skill. What I found is "sevEditSelectedAnas(session)" , it can open the "Choosing Analyses Form" but it requires to select…
By fatcat1206 over 9 years ago in Cadence Technology Forums > Custom IC SKILL
5 replies
Latest by Andrew Beckett over 9 years ago

after some further testing, I realize one issue with my method.

When the form has been brought by "sevEditSelectedAnas(session) ", the script has been stop for executing temporarily until the form has been closed.

Does anyone know how to let the script continue after invoking a form opened by "sevEdit..." or "sevChoose..." API

Best Regards

Yi

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Yi,

    Not sure what you're trying to achieve in the end, but the usual way of dealing with a blocking form is to use hiEnqueueCmd() before you call the function that brings up a blocking form. Note that the form will still block, but if you put all the SKILL code that you want to run within the string passed to hiEnqueueCmd, then it will execute that as soon as the SKILL top-level has returned (i.e. it's waiting for interaction with the form).

    So something like:

    procedure(MYdoSomethingAfterForm()
      ; interact with the form
      hiGetCurrentForm()->...=...
      ; close the form
      hiFormDone(hiGetCurrentForm())
      ; now do whatever you want to do next
      saveTheWorld()
    )

    then:

    procedure(MYlaunchForm()
      hiEnqueueCmd("MYdoSomethingAfterForm()")
      sevDoThisOrDoThat() ; whatever you're doing that brings up a blocking form
    )

    Maybe my response in the other post resolves this - although it's not entirely clear what you're really trying to do, so maybe it doesn't!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi Andrew

    Thank you for your feedback.

    What I want to achieve previously was to open a form, and change some setting in it.

    As on that moment, I opened the "Edit Choosing Analyses" via "sevEditSelectedAna(session)" API, and if I want to change the analyses, I have to change the setting in the form.

    This request has been solved when you provide me "sevChooseAnalysesForm(session 'analysesName)" API.

    But in general, if I open a form, and want to change some setup of it by script. The method with "hiEnqueueCmd" may not help.

    Another question, even I set "t" for the "?dontBlock" attribute of the form, it's still blocking the script to be executed.
    May I know why?

    Best Regards

    Yi

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Yi,

    If you created the form yourself and used ?dontBlock t, then it will not block when  you call hiDisplayForm(). Note that you cannot set this attribute after the form has been created (well, you can set it, but it won't have any effect).

    If you're dealing with a form created by somebody else that doesn't have ?dontBlock t set at creation time, the only options you have are to find a non-form-based API, or to use hiEnqueueCmd (or hiRegTimer - they have a similar effect).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago
    Hi Andrew

    Thank you for the explanation.
    It's clear to me mow.

    Best Regards
    Yi
    • 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