turn off symbol label overbar property

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
 
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

brian.gaide@gmail.com wrote:
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
 
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


Bernd Fischer wrote:
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

brian.gaide@gmail.com wrote:
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
 
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


brian.gaide@gmail.com wrote:
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
 
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

Bernd Fischer > wrote:
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


brian.gaide@gmail.com wrote:
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
 
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

Marc Heise wrote:
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
 

Welcome to EDABoard.com

Sponsor

Back
Top