Getting PRO_TK_PICK_ABOVE error on use of Proselect. Can any one explain why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Getting PRO_TK_PICK_ABOVE error on use of Proselect. Can any one explain why.
I am using Proselect in loop to select the model in drawing. and i am getting PRO_TK_PICK_ABOVE error . Can any one explain why.
Regards,
Manoj
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
- Labels:
-
2D Drawing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
From API header files description:
Return Values:
PRO_TK_NO_ERROR - The user made a selection, or chose <b>Done</b>.
PRO_TK_USER_ABORT - The user chose <b>Quit</b>.
PRO_TK_PICK_ABOVE - Selection was interrupted by a user's pick on
any button from above menus.
PRO_TK_E_DEADLOCK - The Creo Parametric user interface is not prepared
to handle this request (because it is blocked by
another process such as an OLE container activation).
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks , but i want why the error is coming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
please check if you are using uiCmdPrioDefault instead of uiCmdPrioImmediate.
HIH.
Feliks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Manoj,
the user interrupts the selection by clicking on another function/menu and the error is returned by Creo to let your TK application know, so you can deal with this situation in your program.
Regards,
Gunter
