| Author |
Message |
Suresh Jeevanandam
Guest
|
Posted:
Tue Sep 27, 2005 12:10 pm Post subject:
SKILL Qn: How to get the user select only a particular obj t |
|
|
Hi everyone,
In SKILL, I want to tell the user "Select the net" and wait for the
user to click on a net ( wire ). I have implemented this by,
schSelectPoint(cw enterPoint(?prompts '("Click on the net")) nil nil 0)
However, It would like to force the tool to select only the wire and
not any other object type if there are something nearby.
Any idea how this could be accomplished?
Thanks in advance,
regards,
Suresh J
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Wed Sep 28, 2005 12:10 pm Post subject:
Re: SKILL Qn: How to get the user select only a particular o |
|
|
Maybe this will do the job > BFselectNet( )
procedure( BFhilightSelNet( w done pts )
when( done
geDeselectAll( )
geDeleteAllProbe( )
geAddNetProbe(
hiGetCurrentWindow( )
list( "y0" "drawing" )
car( pts )
)
)
)
procedure( BFselectNet( )
enterPoint( ?prompts
list( "Click on a net")
?doneProc "BFhilightSelNet"
)
)
Bernd
Suresh Jeevanandam wrote:
| Quote: | Hi everyone,
In SKILL, I want to tell the user "Select the net" and wait for the
user to click on a net ( wire ). I have implemented this by,
schSelectPoint(cw enterPoint(?prompts '("Click on the net")) nil
nil 0)
However, It would like to force the tool to select only the wire
and not any other object type if there are something nearby.
Any idea how this could be accomplished?
Thanks in advance,
regards,
Suresh J |
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Wed Sep 28, 2005 4:10 pm Post subject:
Re: SKILL Qn: How to get the user select only a particular o |
|
|
I forgot this is already implemented in the schematic composer
"Design -> Probe -> Add Net ..."
So if you don't want to use the SKILL way of doing it somehow
embedded in other SKILL just use the schematic menu option!
Bernd
Suresh Jeevanandam wrote:
| Quote: | Hi everyone,
In SKILL, I want to tell the user "Select the net" and wait for the
user to click on a net ( wire ). I have implemented this by,
schSelectPoint(cw enterPoint(?prompts '("Click on the net")) nil
nil 0)
However, It would like to force the tool to select only the wire
and not any other object type if there are something nearby.
Any idea how this could be accomplished?
Thanks in advance,
regards,
Suresh J |
|
|
| Back to top |
|
 |
satya
Guest
|
Posted:
Wed Sep 28, 2005 8:10 pm Post subject:
Re: SKILL Qn: How to get the user select only a particular o |
|
|
If you want to select the net to show in a form you could use
(asiSelectNet 'fieldName ?prompt "Select Net") |
|
| Back to top |
|
 |
Suresh Jeevanandam
Guest
|
Posted:
Mon Oct 03, 2005 8:10 am Post subject:
Re: SKILL Qn: How to get the user select only a particular o |
|
|
Thanks satya this is what I wanted.
regards,
Suresh
satya wrote:
| Quote: | If you want to select the net to show in a form you could use
(asiSelectNet 'fieldName ?prompt "Select Net")
|
|
|
| Back to top |
|
 |
|
|
|
|