• 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. Conditional pcell stretch handle

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 15790
  • 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

Conditional pcell stretch handle

psill
psill over 13 years ago

Is it possible to have a stretch handle enabled/visible to a condition, such as a layer visible? 

Thanks 

  • Cancel
  • skillUser
    skillUser over 13 years ago

    Presumably, in the PCell you would only call the rodAssignHandleToParameter() function when the test condition is true, otherwise don't call it.  Is this what you mean?  The visibility of the stretch handles is controlled by the Options -> Display -> Stretch Handles item, or the associated .cdsenv variable 

    layout displayStretchHandles boolean t
    

    I'm not sure that you can make handles individually visible, but you should be able to create or not create the stretch handle as indicated above.

    Hope it helps.

    Lawrence.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Eduardas
    Eduardas over 12 years ago
    Hello,

    layout displayStretchHandles boolean t in .cdsenv does not work. :(

    Even envSetVal("layout" "displayStretchHandles" 'boolean t) from CIW do not do any changes.

    Only way is from Options->Display...

    Is this a bug? I'm using sub-version  IC6.1.5.500.10  (32-bit addresses)

     Regards,

    Eduardas
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Eduardas,

    It's not a bug. Most likely you have the displayStretchHandles setting stored on either the cellView, the library, or technology library. When a design is opened, display and editor options are searched for in this order:

    cellView
    library
    tech lib
    cdsenv

    Wherever it finds it first, will set the property on the window. So if it has been set in any of the top three, the cdsenv will have no effect because something more specific has overridden it.

    To check, in the layout window do File->Properties and go to the Property tab (or shift-Q to bring up the cellView properties for most people). If it's not there, go over the library in the library manager and do RMB-> properties. Look for a property called viewProps and if it's there, it will have an EXPAND button next to it. This will popup another form with potentially multiple viewTypes, but the one you'd be after is maskLayout. Click on the EXPAND button next to that, and you should see any saved display properties. If it's not in the library, do the same process on the technology library that you're attached to.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Eduardas
    Eduardas over 12 years ago

     Hi,

    Thank you for quick reply. I checked all this and did not find any viewProps...

    To re-check, I created new lib & cell and have .cdsenv loaded. All this fine.

    Most probably it was setted somwhere else. E.g working lib or techfile.

    At least I can see stretch handlers now,

    Thanks, Eduardas

    • 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