Article - CS13782

Proper handling of return status PRO_TK_PICK_ABOVE (-14) from Pro/TOOLKIT API ProSelect() in Creo Parametric Toolkit

Modified: 07-Mar-2024   


Applies To

  • Creo Parametric 1.0 to 10.0
  • Creo Parametric Toolkit API

Description

  • Proper handling of return status -14 from Pro/TOOLKIT function ProSelect()
  • ProSelect() within a loop in the second iteration it returns -14 PRO_TK_PICK_ABOVE
  • ProSelect() returns -14 while selecting already selected GTol. This does not happen with dimensions
  • If ProSelect() returns -14 but is called from within a loop, the next time ProSelect() is called in the loop it returns -14 again without properly executing. This results in an infinite loop
  • A call to ProSelect() from within a loop doesn't prompt user to select an item
  • API ProSelect() returns error status PRO_TK_PICK_ABOVE (-14) through Toolkit
This is a printer-friendly version of Article 13782 and may be out of date. For the latest version click CS13782