• 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. Custom Tool Env Variable Access

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 13257
  • 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

Custom Tool Env Variable Access

archive
archive over 17 years ago

I have created a custom Tool and registered it in $CDSHOME/tools/dfII/etc/tools. I have a large form that I want to read and write env varibles to/from it's fields. So far I have been successful reading default values into the form using envGetVal, a very brute force approach. How do I automatically update env variables upon changes to the form fields? I have tried callbacks using envSetVal however I get loading errors passing current values of a field when the form has not been created yet. Any ideas or an easier way to do any of this would be great help! Thank you, Dale


Originally posted in cdnusers.org by jbj008
  • Cancel
  • archive
    archive over 17 years ago

    I'm a little confused when you say the callbacks are failing when the form has not yet been created? How come your callbacks are running before your form is created? When I have done this for my forms, I set the form fields this way:

    field1= list(hiCreateBooleanButton(
    ?name 'fieldName
    ?value envGetVal("customTool" "varName")
    ?buttonText "My Button Text:")
    0:0 100:30 0)

    Then my callback for the form sets all the variables using envSetVal. I could put a callback for each field if I wanted to. In either case, though, my form already exists before a callback is ever invoked.

    -Derek


    Originally posted in cdnusers.org by dmay
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    I don't understand either - but perhaps hiInstantiateForm() is needed?

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • 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