Solder dot warning in schematics

  • Thread starter sridhartv25@gmail.com
  • Start date
S

sridhartv25@gmail.com

Guest
Hello all,

In the schematics when ever there is a junction , ( i.e when ever
four different wires join to gether) we will get a warning
message as solder dot crossing at the following point , can see that
by pressing the bindkey g .
Please can any one share me a skill code or any other procedure by
which , there will be no warning messages for the solder dots.
Eagerly waiting for the replies,
Cheers,
Sridhar.
 
sridhartv25@gmail.com wrote:
Hello all,

In the schematics when ever there is a junction , ( i.e when ever
four different wires join to gether) we will get a warning
message as solder dot crossing at the following point , can see that
by pressing the bindkey g .
Please can any one share me a skill code or any other procedure by
which , there will be no warning messages for the solder dots.
Eagerly waiting for the replies,
Cheers,
Sridhar.
No need for Skill code.

Schematic Editor -> Options -> Rule Setup

Set it to "Ignore" there.

Regards,
Marc
 
Marc Heise wrote, on 03/17/09 13:31:
sridhartv25@gmail.com wrote:
Hello all,

In the schematics when ever there is a junction , ( i.e when ever
four different wires join to gether) we will get a warning
message as solder dot crossing at the following point , can see that
by pressing the bindkey g .
Please can any one share me a skill code or any other procedure by
which , there will be no warning messages for the solder dots.
Eagerly waiting for the replies,
Cheers,
Sridhar.

No need for Skill code.

Schematic Editor -> Options -> Rule Setup

Set it to "Ignore" there.

Regards,
Marc
And you can set this by default using a cdsenv setting. It's in the manual (I've
not checked, but I'm pretty sure it is).

Andrew.
 
On Tue, 17 Mar 2009 16:07:24 +0000, Andrew Beckett wrote:
Marc Heise wrote, on 03/17/09 13:31:
sridhartv25@gmail.com wrote:
... snip ...

And you can set this by default using a cdsenv setting. It's in the manual (I've
not checked, but I'm pretty sure it is).

Andrew.
Put this in your .cdsenv:

schematic srcSolderOnCrossover cyclic "ignored"
 
Thanks andrew and ovovo for your replies,
I am trying to set a single bindkey for both the actions , to ignore
or to change it to warning,
but this is not working,
hiSetBindKey("Schematics" "<Key>;" "schSRCForm->tabField->page2-
solderOnCrossover->value = \"ignored\"")
How can I do that,
Cheers,
Sridhar.
 
sridhartv25@gmail.com wrote, on 03/20/09 10:21:
Thanks andrew and ovovo for your replies,
I am trying to set a single bindkey for both the actions , to ignore
or to change it to warning,
but this is not working,
hiSetBindKey("Schematics" "<Key>;" "schSRCForm->tabField->page2-
solderOnCrossover->value = \"ignored\"")
How can I do that,
Cheers,
Sridhar.
I can't for the life of me imagine why you'd want to have a bindkey for this;
it's hardly something you're likely to want to have to change on the fly very
often. Is anyone likely to remember that bindkey? If you really want to do it,
the expression you want the bindkey to be is:

envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "ignored")

Changing a form field is the last resort if there isn't a cleaner way. The
trouble is that the form doesn't exist until you have first launched the form,
and even then, it wouldn't do the "OK" on the form either which will actually
change the cdsenv setting as above.

The same expression could be put in your .cdsinit to change the default as a
user preference. Or you could put the syntax as shown by Ovovo into your .cdsenv
file.

Regards,

Andrew.
 
Hello Andrew,

I want to do this just because , In my earlier stages of the design ,
I want the option to be set as warning ,just because if there is a
real rewire I could track that.
And in the final stages , I want that tobe set as ignored , "waring"
really disturbs at that stage. The biggest problem when I change the
cdsenv file is that , by default it will be set as ignored, when there
is a rewire I may miss it ( I think its a dangerous thing todo so). I
had set the same key for both the functions "warning" and "ignored" in
a cyclic way.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
hiSetBindKey("Schematics" "<key>;" "solder1")
procedure( solder1()
envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "ignored")
hiSetBindKey("Schematics" "<key>;" "solder2")
)
procedure( solder2()
envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "warning")
hiSetBindKey("Schematics" "<key>;" "solder1")
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

So I can use the same bindkey ; to set it as ignored and again
warning.

Andrew the below one is not working its always giving as ignored ,
what could be the problem
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
procedure( solder()
if(envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "ignored")
then
hiSetBindKey("Schematics" "<Key>/" "envSetVal(\"schematic\"
\"srcSolderOnCrossover\" 'cyclic \"warning\")"))
if(envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "warning")
then
hiSetBindKey("Schematics" "<Key>/" "envSetVal(\"schematic\"
\"srcSolderOnCrossover\" 'cyclic \"ignored\")"))
) ;procedure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


And one more thing Andrew, I want to set only some library names
of my choice as the default in the skip library option of the copy
form , how can I do that ,by default it shows the list of each and
every library.
Regards,
Sridhar.
 
sridhartv25@gmail.com wrote, on 03/20/09 14:57:
Hello Andrew,

I want to do this just because , In my earlier stages of the design ,
I want the option to be set as warning ,just because if there is a
real rewire I could track that.
And in the final stages , I want that tobe set as ignored , "waring"
really disturbs at that stage. The biggest problem when I change the
cdsenv file is that , by default it will be set as ignored, when there
is a rewire I may miss it ( I think its a dangerous thing todo so). I
had set the same key for both the functions "warning" and "ignored" in
a cyclic way.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
hiSetBindKey("Schematics" "<key>;" "solder1")
procedure( solder1()
envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "ignored")
hiSetBindKey("Schematics" "<key>;" "solder2")
)
procedure( solder2()
envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "warning")
hiSetBindKey("Schematics" "<key>;" "solder1")
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

So I can use the same bindkey ; to set it as ignored and again
warning.

Andrew the below one is not working its always giving as ignored ,
what could be the problem
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
procedure( solder()
if(envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "ignored")
then
hiSetBindKey("Schematics" "<Key>/" "envSetVal(\"schematic\"
\"srcSolderOnCrossover\" 'cyclic \"warning\")"))
if(envSetVal("schematic" "srcSolderOnCrossover" 'cyclic "warning")
then
hiSetBindKey("Schematics" "<Key>/" "envSetVal(\"schematic\"
\"srcSolderOnCrossover\" 'cyclic \"ignored\")"))
) ;procedure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


And one more thing Andrew, I want to set only some library names
of my choice as the default in the skip library option of the copy
form , how can I do that ,by default it shows the list of each and
every library.
Regards,
Sridhar.
It's because the call in the if() condition should probably be:

if(envGetVal("schematic" "srcSolderOnCrossover")=="ignored"
then
hiSetBindKey(...)
)

and so on. Personally I wouldn't make function change the bindkey. I'd make the
bindkey call a fixed function, and then check the current value and set it to
the opposite - i.e. make the then part call envSetVal() - and your bindkey could
always call solder() (Note, you really _should_ have a sensible prefix for your
function names to avoid clashing with anyone elses functions which don't have
prefixes).

Didn't I answer the skip library option question elsewhere?

Andrew.
 
Thanks Andrew for your reply,

Yaah I had seen the skip library answer and it's working very fine.
Andrew , can you please share me the solution that you have suggested
( bindkey call a fixed function) if you find free time.
At first I tried in that way , but I could not get that so I had to do
in this way.
Regards,
Sridhar.
 
sridhartv25@gmail.com wrote, on 03/23/09 04:46:
Thanks Andrew for your reply,

Yaah I had seen the skip library answer and it's working very fine.
Andrew , can you please share me the solution that you have suggested
( bindkey call a fixed function) if you find free time.
At first I tried in that way , but I could not get that so I had to do
in this way.
Regards,
Sridhar.
Sridhar,

It's quite simple:

procedure(abToggleSolderOnCrossover()
envSetVal("schematic" "srcSolderOnCrossover" 'cyclic
if(envGetVal("schematic" "srcSolderOnCrossover")=="ignored"
"warning" "ignored")
)
)

hiSetBindKey("Schematics" "<Key>;" "abToggleSolderOnCrossover()")

Regards,

Andrew.
 
Thanks Andrew,
Yes it looks simple, but I could not get that idea at first.
And thanks for remembering for long time and replying back to it.
 

Welcome to EDABoard.com

Sponsor

Back
Top