• 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. "Create Label" form's fields don't get change when using...

Stats

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

"Create Label" form's fields don't get change when using "hiRegTimer"

izucker
izucker over 13 years ago

Hi,

I want to set the "Create Label" forms' field/s.
As long as "le0LabelForm" is defined (the form was at least once called) there is no problem doing something like:
le0LabelForm~>labelText~>value= "text"


The problem is how to set the field on first time the form is launched, meaning that the le0LabelForm is not defined yet.
I tried various solutions including using hiRegTimer with no success.

Please advise.

 

Thanks,
Itay 

 

 

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

    Hi Itay,

    There's no need to use a timer. Use this:

    form=leGetTechFormList(techGetTechFile(geGetEditCellView()))->labelForm
    unless(hiIsInstantiated(form) hiInstantiateForm(form))
    form->labelText->value="blah"

    This will take care of getting the right form - one is created per technology database. The above should work if the form has never been brought up, or if it's been used already.

    Hope that helps,

    Regards,

    Andrew.

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

    Hi Itay,

    There's no need to use a timer. Use this:

    form=leGetTechFormList(techGetTechFile(geGetEditCellView()))->labelForm
    unless(hiIsInstantiated(form) hiInstantiateForm(form))
    form->labelText->value="blah"

    This will take care of getting the right form - one is created per technology database. The above should work if the form has never been brought up, or if it's been used already.

    Hope that helps,

    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