As many of you know, using the keyboard mapkey to change the selection filter can be a timesaver, especially because the list of entities that can be picked changes depending on what you are doing.
The internal Creo command `ProCmdSelFilterSet` is useful because now mapkey will work regardless of the "work mode" (well, almost).
Examples:
Use the argument 15 to change the filter to axis entities:
mapkey sax @MAPKEY_NAMESets the selection filter to Axis; @MAPKEY_LABELSelect Axis;\
mapkey(continued) ~ Command `ProCmdSelFilterSet` 15;
In this example, the selection filter is set to "Geometry" by using argument 320002:
mapkey sg @MAPKEY_NAMESelect Geometry;@MAPKEY_LABELSelect Geometry; ~ Command `ProCmdSelFilterSet` 320002;
Through experimenting and by mapkey recording of selecting different filters in different modes of Creo 2.0 (M130),
I compiled a list of "entity types" that can be selected for filtering using the 'ProCmdSelFilterSet' command.
Caveat: this seems to only work during modeling of parts and assemblies.
I found that when I recorded the changing the selection filter in sketcher and drawing modes, the system
recorded the action of picking an item at some position of some list (such mapkeys would only be valid
for that specific mode).
Below is my (probably incomplete) list of entity types.
0 - Feature
1 - Note
2 - Symbol
4 - Parts
8 - Vertex
9 - Edge
10 - Intent Chain
11 - Quilt
13 - Curve
14 - Datum Plane
15 - Axis
16 - coordinate system
17 - datum point
19 - Solid Geometry
25 - Part
34 - Balloon
45 - Gtol
48 - Surface Finish
50 - Symbol
56 - Note
65 - Note
67 - Gtol
68 - Dimension
69 - Dimension
70 - Scan Curve
73 - Reference Entity
77 - Curve
80 - Pipe segment
86 - Facet
87 - Scan Point
90 - Surface
91 - Face Location
93 - Datum Tag
94 - Datum Tag
95 - Datum Tag
96 - Datum Tag
106 - Symbol
107 - Edge
110 - Group
114 - Facet Vertex
118 - Place
123 - Curve Location
128 - Facet Edge
139 - Edge Location
190 - Surface (during round tool)
216 - Scan Curve Location
283 - Annotation Element
291 - Geometry (when picking references for a sketch)
292 - Annotation
318 - Set Datum Tag
329 - Intent Datum Point
330 - Intent Datum Plane
331 - Intent Coordinate System
332 - Intent Datum Axis
352 - Planar Surface
356 - Intent Datum Curve
377 - Datum Target
320002 - Geometry
320003 - Datums
320004 - All
320005 - Surface Regions