can not set variable :(

Discussion in 'Cadence' started by bu-bu, Nov 24, 2009.

  1. bu-bu

    bu-bu Guest

    Hello All,

    I'm experiencing a strange experience. It may be my code, but i don't
    know where is the mistake.

    I need, by script, to enable the option "Use True BBox" in my layout.

    So i tried, in my script:
    envSetVal("layout" "useTrueBBox" 'boolean t)

    But nothing happens :( i mean i can not see any changes in the
    layout. But when i use the display option form,
    all is fine.

    I would not prefer to use the .cdsenv for this variable, because i
    want the script to take care of everything.
    (and i'm sure some of my users will complain if i ask them to change
    their .cdsenv !!)

    I'm sure i'm missing something, but what, and where ?

    Do you have any idea ?

    Thanks a lot for your help :)

    best,

    bubu
     
    bu-bu, Nov 24, 2009
    #1
  2. bu-bu wrote, on 11/24/09 02:59:
    Hi bubu,

    It may be that something else is superseding it.

    Settings such as these are looked for in this order:

    1. CellView property (do Edit->Properties->CellView)
    2. Library Properties (do RMB->Properties in the library manager) then if
    there's a property "viewProps" it will have an "EXPAND" button next to it. Hit
    EXPAND and you'll probably see "maskLayout" listed with another EXPAND button.
    You'll then see a whole list of properties, including (maybe) useTrueBBox.
    3. If not found on the Library Properties, then then looks to the Technology
    Library, and the library properties for that (same steps as 2, but for the
    technology library).
    4. Finally it uses the cdsenv settings.

    Once a window is opened, it stores the properties on the window itself:

    hiGetCurrentWindow()~>useTrueBBox

    So you need to set that if you want to alter existing windows (i.e. the property
    lookup is only done at time of window open).

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 24, 2009
    #2
  3. bu-bu

    bu-bu Guest

    Hello Andrew,

    Thanks a lot for your reply.
    Looks like cw~>useTrueBBox = t works fine for me :)

    Thanks a lot !!

    bubu
     
    bu-bu, Nov 24, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.