Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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
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
Thanks , but i want why the error is coming.
please check if you are using uiCmdPrioDefault instead of uiCmdPrioImmediate.
HIH.
Feliks.
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