cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Measure Tool XYZ Lines and Mapkey

ProBo
5-Regular Member

Measure Tool XYZ Lines and Mapkey

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!

ACCEPTED SOLUTION

Accepted Solutions
dschenken
21-Topaz I
(To:ProBo)

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.

View solution in original post

5 REPLIES 5
dschenken
21-Topaz I
(To:ProBo)

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.

ProBo
5-Regular Member
(To:dschenken)

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

psobejko
13-Aquamarine
(To:ProBo)

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...

 

 

ProBo
5-Regular Member
(To:psobejko)

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

psobejko
13-Aquamarine
(To:ProBo)

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.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags