Skip to main content
12-Amethyst
April 12, 2017
Solved

How to record Check-out OK Button for mapkey?

  • April 12, 2017
  • 1 reply
  • 3233 views

Hi,

I am trying to record a mapkey for performing automatic check-out of objects in Creo Parametric, but I can't manage to record the string for the OK Button which confirms the object to be checked-out:

1.PNG

After recording, the recorded mapkey just shows the command to click check-out...

Anyone has already did it? or an idea on how to?

Thanks

    Best answer by tleati

    Hi Stephen,

    thanks for your reply. No, it doesn't work on my Parametric 2.0, as it doesn't write anything for performing the "Accept value" button.

    But I have just solved the problem!

    It was simpler than thought: you need just to tick on "Accept system default" in the mapkey definition dialog box:

    1.PNG

    this will indeed add a space and a ";" at the end of the script:

    mapkey o @MAPKEY_LABELcheck-out;~ Command `ProCmdMdlTreeWfEdit`; ;

    (which probably means "accept system default"...).

    I think in these cases (in the 2.0) it doesn't script anything for the green tick just because it sees it as an input field (so the mapkey itself interrupts).

    Bye

    1 reply

    23-Emerald III
    April 12, 2017

    Doesn't a simple "enter" work? It works on mine.

    tleati12-AmethystAuthorAnswer
    12-Amethyst
    April 12, 2017

    Hi Stephen,

    thanks for your reply. No, it doesn't work on my Parametric 2.0, as it doesn't write anything for performing the "Accept value" button.

    But I have just solved the problem!

    It was simpler than thought: you need just to tick on "Accept system default" in the mapkey definition dialog box:

    1.PNG

    this will indeed add a space and a ";" at the end of the script:

    mapkey o @MAPKEY_LABELcheck-out;~ Command `ProCmdMdlTreeWfEdit`; ;

    (which probably means "accept system default"...).

    I think in these cases (in the 2.0) it doesn't script anything for the green tick just because it sees it as an input field (so the mapkey itself interrupts).

    Bye