Skip to main content
1-Visitor
July 11, 2011
Question

Saving a find (search)

  • July 11, 2011
  • 1 reply
  • 792 views
Hi all,

I wanted to save a simple search to enable this check to be run easily on assemblies as there is no icon that comes up in the tree to indicate this fault

The result of saving this search is the creation of a new layer?????

How does this help me??

Is this how the function is supposed to work?

I would be better off using a mapkey judging by this....but am I missing something?

W4 M133



[cid:385005922@11072011-179A]


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

1 reply

21-Topaz II
July 12, 2011
The 'save' function does create a layer. It helps in that by looking at
that layer, you can see at that time what items match your search
criteria. It should update in real time so there is no need to return
to the search dialog. (It's a very handy way of creating rule driven
layers too, BTW).



Creating a mapkey would be harder as the search dialog 'remembers' your
last search settings, which could mess with how your mapkey runs. You'd
need another 'reset' mapkey to return the search tool to its 'default'
state.



I use just such a mapkey in creating my rule driven layers, here it is:



mapkey la-rf @MAPKEY_NAMEReset Find;@MAPKEY_LABELReset Find;\

mapkey(continued) ~ Activate `main_dlg_cur`
`ProCmdMdlTreeSearch.edit_t`;\

mapkey(continued) ~ Update `selspecdlg0` `SelOptionRadio` `Feature`;\

mapkey(continued) ~ Activate `selspecdlg0` `SelOptionRadio`;\

mapkey(continued) ~ Update `selspecdlg0` `LookByOptionMenu` `Feature`;\

mapkey(continued) ~ Activate `selspecdlg0` `LookByOptionMenu`;\

mapkey(continued) ~ Select `selspecdlg0` `RuleTab` 1 `Attributes`;\

mapkey(continued) ~ Select `selspecdlg0` `RuleTypes` 1 `Name`~ Select
`selspecdlg0` \

mapkey(continued) `CascadeButton1`;~ Close `selspecdlg0`
`CascadeButton1`;\

mapkey(continued) ~ Activate `selspecdlg0` `CondBuilderCheck`1;



Doug Schaefer