turn off symbol label overbar property

Discussion in 'Cadence' started by brian.gaide, Jul 10, 2006.

  1. brian.gaide

    brian.gaide Guest

    Hi,
    I'm creating a symbol using SKILL. I'm using schCreateSymbolPin() to
    create the terminals. Everything works fine except the terminal labels
    are in the freaky overbar mode. I can't seem to find the property in
    the database to disable overbar mode for these terminal labels. I
    tried using schCreatePin() and got the same results. Does anyone know
    how to disable this (short of doing a manual select all pins, change
    property that way)?

    Thanks,
    Brian
     
    brian.gaide, Jul 10, 2006
    #1
  2. I'm not sure but maybe its one of the two env variables below

    schematic pinLabelOverbar boolean nil

    or

    schematic pinLabelSetOverbar boolean nil

    You can set them with SKILL in your code as well
    with the function

    envSetVal(
    t_tool[.Partition]
    t_varName
    s_varType
    g_newVal
    )

    or direct in your .cdsenv file

    Bernd
     
    Bernd Fischer, Jul 11, 2006
    #2
  3. brian.gaide

    brian.gaide Guest

    Hi Bernd,
    Thanks for the initial reply. When I try what you suggest (by typing
    the following):

    envSetVal("schematic" "pinLabelOverbar" 'boolean nil), I get an error
    message that says:

    Warning envSetVal: can't set the value of variable 'pinLabelOverbar' in
    tool[.partition] 'schematic' - it has not been registered.

    Any idea what this means?
    Thanks,
    Brian


     
    brian.gaide, Jul 12, 2006
    #3
  4. No, I tried it out and also on my side I get the Warning.

    I digged into the docs and they say:


    schematic pinLabelOverbar boolean { t | nil }

    Description

    Specifies whether the software displays an overbar over a property label. When
    this option is disabled (default), the software displays underscore characters
    ( _ ) in the property label as part of the property label text string. When
    this option is enabled, the software interprets underscore characters ( _ ) in
    the property label as toggle switches that control where overbars begin and
    end. Overbars appear above the property label.

    Note: To first of all set the ability to specify a label overbar see
    pinLabelSetOverbar.

    GUI Equivalent:
    Command Options - Editor (Labels tab)
    Form Field Override overbar


    So it should work.
    I also get the same warning for the env var pinLabelSetOverbar, so relay
    don't know what's going on there.

    Bernd
     
    Bernd Fischer, Jul 13, 2006
    #4
  5. brian.gaide

    Marc Heise Guest

    Bernd,

    could you please check what release you are using?

    With 5.10.41.500.3.49 I get:

    \i envSetVal("schematic" "pinLabelOverbar" 'boolean nil)
    \t t
    \p >
    \i envSetVal("schematic" "pinLabelOverbar" 'boolean t)
    \t t
    \p >
    \i envSetVal("schematic" "pinLabelSetOverbar" 'boolean t)
    \t t

    If I remember right it was introduced with USR3.

    Regards,
    Marc
     
    Marc Heise, Jul 13, 2006
    #5
  6. Hi Marc,

    I use 5.12.41.500.1.22,
    the paradox thing is that the variable exists,
    in my /tools/dfII/etc/tools/schematic/.cdsenv file

    But never mind it's not my issue I just wanted to help.

    Bernd
     
    Bernd Fischer, Jul 13, 2006
    #6
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.