SKILL Q: enterPath termination?

Discussion in 'Cadence' started by Bernd Fischer, Jan 15, 2004.

  1. 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 Fischer, Jan 15, 2004
    #1
  2. 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.
     
    Andrew Beckett, Jan 20, 2004
    #2
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.