Skip to main content
1-Visitor
January 22, 2020
Question

Mapkey - Select a Plane without using the Mouse?

  • January 22, 2020
  • 2 replies
  • 5262 views

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

2 replies

23-Emerald IV
January 22, 2020

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

16-Pearl
January 22, 2020

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.

doneill1-VisitorAuthor
1-Visitor
January 22, 2020

Thanks!

I'll give this a try!