SKILL Q: enterPath termination?

B

Bernd Fischer

Guest
Hi,

My question is how to terminate the 'enterPath' function
correct. Below you see a code example which I posted previously
to a similar question and which should be comparable to the example
in the Cadence docs.

If you want to finish the enter function with a double mouse click
or the return key as usual the function returns to the prompt
'>Enter the first point:' rather than terminate.

What's wrong?


procedure( BFreturnPoints( w_windowId b_done l_points )

printf( "List of points entered %L\n" l_points )

)

procedure( BFenterPathWrapper( )

enterPath(
?prompts list(
"Enter the first point:"
"Enter the next point:"
)
?doneProc "BFreturnPoints"
)
)
 
Bernd,

Probably you have the modalCommands cdsenv setting set to t (the default)
so that it repeats the command as soon as it finishes.

To turn this off:

envSetVal("schematic" "modalCommands" 'boolean nil)
envSetVal("layout" "modalCommands" 'boolean nil)

Andrew.

On Thu, 15 Jan 2004 16:35:50 +0100, Bernd Fischer <bernd.fischer@xignal.de>
wrote:

Hi,

My question is how to terminate the 'enterPath' function
correct. Below you see a code example which I posted previously
to a similar question and which should be comparable to the example
in the Cadence docs.

If you want to finish the enter function with a double mouse click
or the return key as usual the function returns to the prompt
'>Enter the first point:' rather than terminate.

What's wrong?


procedure( BFreturnPoints( w_windowId b_done l_points )

printf( "List of points entered %L\n" l_points )

)

procedure( BFenterPathWrapper( )

enterPath(
?prompts list(
"Enter the first point:"
"Enter the next point:"
)
?doneProc "BFreturnPoints"
)
)
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top