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

Is there a method to enable custom context sensitive smart filter settings for selection?

SOLVED
Highlighted
Level 8

Is there a method to enable custom context sensitive smart filter settings for selection?

I am looking for a config option or UI customization setting that would enable me to create context sensitive smart filter settings. One example is if I select a feature in the model tree and use RMB to select the edit dimension option I would like for the selection filter to default to dimension.

 

In this particular use case it would seem obvious that if I want to edit dimensions the filter should change to "dimensions" but it defaults to "all". With the filter set to all it can be difficult to pick dimensions in the graphics window.

 

I can hack this using a nested mapkey but it seems like this should be enabled by the UI customization tools. I have reviewed some documentation and the knowledge base but can not find anything so far.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Is there a method to enable custom context sensitive smart filter settings for selection?

This is a hack using mapkeys. These were created using Creo3 m150, it only works in part mode. See my other posts on multi mode mapkeys. In order to get it to work in any other mode one would need to create mapkeys for the modes and then nest those in the top level mapkey to call all mode variations sequentially.

 

To use this, select a feature in the model tree or graphics window and then press "F4" key, this will invoke the edit dimension option and set the selection filter to dimensions. Hopefully in Creo 4/5 this UI issue can be customized in the GUI without mapkeys.

 

F4 executes .edim and .sdi

 

mapkey .sdi @MAPKEY_NAMEfilter select dims;@MAPKEY_LABELpick dims;\
mapkey(continued) ~ Open `main_dlg_cur` `Sst_bar.filter_list`;\
mapkey(continued) ~ Close `main_dlg_cur` `Sst_bar.filter_list`;\
mapkey(continued) ~ Select `main_dlg_cur` `Sst_bar.filter_list` 1 `em_dimensions`;
mapkey .edim @MAPKEY_NAMEEdit feature dims;@MAPKEY_LABELEdit dims;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node50`;\
mapkey(continued) ~ Command `ProCmdL05Edit@PopupMenuTree`;
mapkey $F4 @MAPKEY_NAMEEdit feature dims;@MAPKEY_LABELDim edit;%.edim;%.sdi

 

2 REPLIES 2

Re: Is there a method to enable custom context sensitive smart filter settings for selection?

This is a hack using mapkeys. These were created using Creo3 m150, it only works in part mode. See my other posts on multi mode mapkeys. In order to get it to work in any other mode one would need to create mapkeys for the modes and then nest those in the top level mapkey to call all mode variations sequentially.

 

To use this, select a feature in the model tree or graphics window and then press "F4" key, this will invoke the edit dimension option and set the selection filter to dimensions. Hopefully in Creo 4/5 this UI issue can be customized in the GUI without mapkeys.

 

F4 executes .edim and .sdi

 

mapkey .sdi @MAPKEY_NAMEfilter select dims;@MAPKEY_LABELpick dims;\
mapkey(continued) ~ Open `main_dlg_cur` `Sst_bar.filter_list`;\
mapkey(continued) ~ Close `main_dlg_cur` `Sst_bar.filter_list`;\
mapkey(continued) ~ Select `main_dlg_cur` `Sst_bar.filter_list` 1 `em_dimensions`;
mapkey .edim @MAPKEY_NAMEEdit feature dims;@MAPKEY_LABELEdit dims;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node50`;\
mapkey(continued) ~ Command `ProCmdL05Edit@PopupMenuTree`;
mapkey $F4 @MAPKEY_NAMEEdit feature dims;@MAPKEY_LABELDim edit;%.edim;%.sdi

 

Re: Is there a method to enable custom context sensitive smart filter settings for selection?

PTC support has responded and they do not see any way to do this without mapkeys (or API development).

"Unfortunately, the Selection Filter customization cannot use a personal filter within the Dynamic Edit context.  This is true for Creo 3.0, 4.0, and 5.0. "

 

They confirmed that it is possible with a mapkey and can be added to the dynamic menus in Creo 4+.

While I welcome the improved support for UI customization that came with Creo 4 there are still areas for improvement. Mapkey maintenance upgrades have been painful since the wildfire UI implementation.