• 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 can I close the form using skill code

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 15563
  • 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 can I close the form using skill code

raj31789
raj31789 over 6 years ago

Hi

I am very new to this forum please correct me if anything i am wrong

How can i close the form automatically without click ok using skill code,that means hiFormDone() is not working for me  when i am loading my skill file.

Thanks

 Raja

  • Cancel
Parents
  • Vishu21
    Vishu21 over 6 years ago

    Hi Raja,

    What do you mean "it's not working" ?

    Is it throwing any error?

    When you use hiFormFinish() or hiFormDone() in the script, then while the form is displayed,it will be unmapped according to argument ?unmapAfterCB of hiCreateAppForm() and if the form is not currently displayed then hiFormApply() will be executed.

    Thanks,

    Vishal

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • raj31789
    raj31789 over 6 years ago in reply to Vishu21

    Hi Vishu 

    Thansks for your reply.

            yes you are right what i exactly want is once opened the forum then automatically close the forum using skill code instead of , enter ok manually. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Vishu21
    Vishu21 over 6 years ago in reply to raj31789

    Hi Raja,

    What I have observed is that if you use this function hiFormDone() or hiFormFinish() directly in your script then it won't wait for the users to input the values(if form is created for taking some inputs) and will immediately close the form as soon as you run script so you need to either give some condition to invoke these functions 

    One possible solution can be the use of hiRegTimer() function.

    For example write this command at the end of your script,

    hiRegTimer("hiFormDone (form_handle)"  30)

    The time is in tenth of seconds,it will wait untill that and then closes the form,I don't know if this solution fits your scenario!!

    Thanks,

    Vishal.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Vishu21
    Vishu21 over 6 years ago in reply to raj31789

    Hi Raja,

    What I have observed is that if you use this function hiFormDone() or hiFormFinish() directly in your script then it won't wait for the users to input the values(if form is created for taking some inputs) and will immediately close the form as soon as you run script so you need to either give some condition to invoke these functions 

    One possible solution can be the use of hiRegTimer() function.

    For example write this command at the end of your script,

    hiRegTimer("hiFormDone (form_handle)"  30)

    The time is in tenth of seconds,it will wait untill that and then closes the form,I don't know if this solution fits your scenario!!

    Thanks,

    Vishal.

    • 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