Home > Community > Forums > Custom IC SKILL > Conditional pcell stretch handle

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Conditional pcell stretch handle 

Last post Mon, Nov 26 2012 5:07 AM by Eduardas. 4 replies.
Started by psill 09 Jul 2012 10:22 AM. Topic has 4 replies and 1735 views
Page 1 of 1 (5 items)
Sort Posts:
  • Mon, Jul 9 2012 10:22 AM

    • psill
    • Top 500 Contributor
    • Joined on Sun, Mar 25 2012
    • Posts 24
    • Points 420
    Conditional pcell stretch handle Reply

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

    Thanks 

    • Post Points: 20
  • Fri, Aug 24 2012 2:21 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,567
    • Points 15,575
    Re: Conditional pcell stretch handle Reply

    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.

     

    • Post Points: 20
  • Mon, Nov 26 2012 2:52 AM

    • Eduardas
    • Not Ranked
    • Joined on Mon, Sep 10 2012
    • Oulu, Finland
    • Posts 4
    • Points 50
    Re: Conditional pcell stretch handle Reply
    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
    • Post Points: 20
  • Mon, Nov 26 2012 3:51 AM

    Re: Conditional pcell stretch handle Reply

    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.

    • Post Points: 20
  • Mon, Nov 26 2012 5:07 AM

    • Eduardas
    • Not Ranked
    • Joined on Mon, Sep 10 2012
    • Oulu, Finland
    • Posts 4
    • Points 50
    Re: Conditional pcell stretch handle Reply

     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

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by psill at 09 Jul 2012 10:22 AM. Topic has 4 replies.