• 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. Edit Instance Property Window

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 142
  • Views 7959
  • 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

Edit Instance Property Window

amaru
amaru over 2 years ago

Hello there,

I have created a pcell with many parameters. When I query it to edit parameters, "Edit Instance Property Window" opens. It opens with a scroll bar. What I need is to increase the size of this window, but I am observing that the size of the window is fixed. I cannot change the size of this window. I tried to search the forum but couldn't find anything that can solve my problem. Other than this the window has 4 options - OK, Cancel, Apply and Help. I want to add default option as well to this window. I want to do it in skill.

If any more information is needed please let me know. Thanks

Virtuoso version - ICADVM20.1-64b.500.23

Thanks

Amar 

  • Cancel
  • mbracht
    mbracht over 2 years ago

    Hi Amar,

    the resizing is controlled through an SKILL env variable:

    envSetVal("layout" "propertyEditorAutoResize" 'boolean nil)

    regards

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RobMan
    RobMan over 2 years ago in reply to mbracht

    Just to add; this needs to be set on startup.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • amaru
    amaru over 2 years ago in reply to RobMan

    Thanks Rob and Max. It worked for me.

    How can I add default option also in this menu? To set the pcell to default settings. Or any other workaround for it.

    Thanks

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RobMan
    RobMan over 2 years ago in reply to amaru

    Do you mean an option to reset the instance parameters to default values?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 2 years ago in reply to amaru

    I don't think there is a way to customize this GUI - as far as I remember it is one of these old Motif GUIs hardcoded in C/C++. And the property editor doesn't have this feature either. So you'd have to rewrite the entire GUI in SKILL which I don't think is worth the stretch.
    Alternatively you could write a SKILL function that restores a Pcell's default values, then associate this function with a bindkey so as it is applied to the currently selected instance.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to mbracht

    Max,

    It's not a Motif UI - that was replaced some time ago - but it is a native Qt form rather than one implemented in SKILL, so does not have the ability to be customised.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • amaru
    amaru over 2 years ago in reply to Andrew Beckett

    Thanks Andrew, Max and Rob for your inputs. I will assign a bindkey to set the pcell for default value of parameters.

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • p94todorov
    p94todorov over 2 years ago in reply to amaru

    Hi Amar,

    in addition to what has already been said, I can say that you can also include a button on top of your CDF parameters and reset all other parameters through the callback of that button. I think that if you do something as simple as that:

    ?callback "foreach(param cdfgData->parameters param->value = param->defValue)"

    you can achieve what you are looking for without having to re-do the Qt GUI interface.

    Regards,

    Petar

    • 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