Skip to main content
Jan 22, 2020 8:05 PM UTC
Question

Mapkey - Select a Plane without using the Mouse?

I would like to create a Mapkey that will select a specific Plane.  Is there a way to do it without using the mouse?  The Plane is not always in the same place in the Model Tree.  

 

Thanks

13 replies

Jan 22, 2020 9:02 PM UTC

Use the find tool.  Just make sure you record all the clicks and picks in your mapkey.

Jan 22, 2020 9:12 PM UTC

Hi Doneill,

I did it with Search Tool, in this example (creo4) I search for ASM_FRONT:

 

mapkey bb ~ Command `ProCmdMdlTreeSearch` ;\
mapkey(continued) ~ Open `selspecdlg0` `SelOptionRadio`;~ Close `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Datum`;\
mapkey(continued) ~ Update `selspecdlg0` `ExtRulesLayout.ExtBasicNameLayout.BasicNameList` \
mapkey(continued) `ASM_FRONT`;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `ApplyBtn`;~ Activate `selspecdlg0` `CancelButton`;

 

I hope it helps you.

doneillAuthor
Jan 22, 2020 9:26 PM UTC

Thanks!

I'll give this a try!