• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. triggering the done procedure for enterPoints()

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 17229
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

triggering the done procedure for enterPoints()

jaleco
jaleco over 11 years ago
I am using an enterPoints function that does not seem to recognize use of the Enter key, or a double click (typical done trigger for enterPath) as triggers for its done procedure.  How does one trigger the done procedure for enterPoints?  The esc key is recognized as a cancel function.  The form contains a cancel button, but no done button.
  • Cancel
Parents
  • jaleco
    jaleco over 11 years ago

    Hi Andrew,

    I am trying to use a form field to pass a value to ?wantPoints, and to make this dynamic such that if the field value is changed, that ?wantPoints would be updated, but this does not seem to be possible.  Once I have begun the enterPoints() function, ?wantPoints is fixed. So the solution to this is to de-couple the form from enterPoints(), using a button to launch enterPoints() once the form field values have been defined (user has a chance to change them).  If you know of a better way, please share.

    I also got a solution for deleting duplicate points in the points list within the ?addPointsProc, using (surprise) deletePoint(), where I had been trying to manipulate the points list and re-assign it to the form.  Reassigning the points list was not working for me.  The code below works as the callback for ?addPointProc to delete duplicate points:

    procedure(CCSdelPt(win ptList)
     println(ptList)
     ptList=reverse(ptList)
     when(member(car(ptList) cdr(ptList))
      deletePoint()
      ); when
    ); procedure CCSdelPt

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jaleco
    jaleco over 11 years ago

    Hi Andrew,

    I am trying to use a form field to pass a value to ?wantPoints, and to make this dynamic such that if the field value is changed, that ?wantPoints would be updated, but this does not seem to be possible.  Once I have begun the enterPoints() function, ?wantPoints is fixed. So the solution to this is to de-couple the form from enterPoints(), using a button to launch enterPoints() once the form field values have been defined (user has a chance to change them).  If you know of a better way, please share.

    I also got a solution for deleting duplicate points in the points list within the ?addPointsProc, using (surprise) deletePoint(), where I had been trying to manipulate the points list and re-assign it to the form.  Reassigning the points list was not working for me.  The code below works as the callback for ?addPointProc to delete duplicate points:

    procedure(CCSdelPt(win ptList)
     println(ptList)
     ptList=reverse(ptList)
     when(member(car(ptList) cdr(ptList))
      deletePoint()
      ); when
    ); procedure CCSdelPt

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information