Skip to main content
1-Visitor
July 25, 2017
Solved

Measure Tool XYZ Lines and Mapkey

  • July 25, 2017
  • 2 replies
  • 5782 views

Hello,

 

I have two struggles with the measure tool:

 

1. One of my colleagues can select the Measure: Summary option, click two points anywhere on a part/assembly, then select the default coordinate system for the "projection area", and the dialogue box will give xyz distances betwen the two points as well as show different colored lines representing x dim, y dim, and z dim. I cannot seem to get mine to do the same, is there a configuration option for this?

 

2. I would like to make a mapkey that calls the Measure: Summary tool and automatically selects the default coordinate system from the feature tree. When I try to record a mapkey to do this and "save changes", the selection of the default coordinate system doesn't carry over from part to part. Is there a way to make this mapkey work?

 

Thanks!

Best answer by dschenken

The reliable method to select a feature is to use the Search tool. Directly selecting in the model tree tends to select whatever item is at that position on the list. If you look at the recorded mapkey you can see the sort of selection that is made.

2 replies

dschenken1-VisitorAnswer
1-Visitor
July 26, 2017

The reliable method to select a feature is to use the Search tool. Directly selecting in the model tree tends to select whatever item is at that position on the list. If you look at the recorded mapkey you can see the sort of selection that is made.

ProBo1-VisitorAuthor
1-Visitor
July 27, 2017

Thanks the search tool works really well and solved the mapkey problem!

1-Visitor
July 26, 2017

The colored projection lines are there when you use the Measure:Distance tool.

I don't know of a way to make them appear with the Measure:Summary tool.

 

If you use Creo 3.0, try if this mapkey works for you:

mapkey qd @MAPKEY_LABELMeasure XYZ distances between vertices (qd);\
~ Command `ProCmdNaMeasureDistance` ;\
~ Select `nmd_1` `nmd_prj_lst` 0;~ Command `ProCmdMdlTreeSearch` ;\
~ Update `selspecdlg0` `SelOptionRadio` `Coordinate System`;\
~ Open `selspecdlg0` `LookByOptionMenu`;\
~ Select `selspecdlg0` `LookByOptionMenu` 1 `Feature`;\
~ Select `selspecdlg0` `RuleTypes` 1 `#`;\
~ Select `selspecdlg0` `ExtRulesLayout.ExtBasicNumbLayout.BasicNumberStart`;\
~ Input `selspecdlg0` `ExtRulesLayout.ExtBasicNumbLayout.BasicNumberStart` `1`;\
~ Update `selspecdlg0` \
`ExtRulesLayout.ExtBasicNumbLayout.BasicNumberStart` `1`;\
~ Input `selspecdlg0` `ExtRulesLayout.ExtBasicNumbLayout.BasicNumberEnd` `4`;\
~ Update `selspecdlg0` `ExtRulesLayout.ExtBasicNumbLayout.BasicNumberEnd` `4`;\
~ Activate `selspecdlg0` `EvaluateBtn`;\
~ Activate `selspecdlg0` `ApplyBtn`;~ Activate `selspecdlg0` `CancelButton`;\
~ Select `nmd_1` `nmd_setup_tbl` 2 `DuMmY` `References`;\
~ Command `ProCmdSelFilterSet` 8;

 

If you don't want to measure between vertices, then remove the last line and the "\" character on the 2nd to last line...

 

 

ProBo1-VisitorAuthor
1-Visitor
July 27, 2017

I'm unfamiliar with finding the actual code for the mapkey. Where can I view this at?

1-Visitor
July 27, 2017

The code will be stored in whatever file you specify when you save the recorded mapkeys...

Usually, it's config.pro in your working directory.

If you don't save, then next session you'll have to re-record it.