Skip to main content
1-Visitor
November 28, 2007
Question

Preselection Highlighting and Query Select

  • November 28, 2007
  • 16 replies
  • 6874 views
All,

  1. Is there an easy or built-inway to toggle Preselection Highlighting ON and OFF? Or do I just need to create a mapkey? I tried to create one mapkey for toggling ON/OFF but this did not work. I probably need to create one mapkey to toggle ON and another mapkey to toggle OFF.
  2. How do I query select using Preselection Highlighting? I repeatedly press the RMB and when I accept with the MMB, the entity never gets properly selected.
  3. The Query Select functionality sometimes turns itself off. In other words, when I want to Query Select, I click the RMB and select an itemwith the LMB. I then repeatedly click the RMB until the item I want has been highlighted and I accept with the MMB. My problem is that the initial RMB click that takes me into Query Select mode doesn't always take me there. I end up having to click and hold the RMB, use the pulldown menu, and manually select Query Select.
Sincerely,
Neal Rosenblum
Geometrix Engineering, Inc.
201 N. 13th Avenue
Hollywood, FL 33019
Ph: 954-920-2049
Fax: 954-920-9574
Cell: 954-649-9399
<u>-</u>

<u></u>

    16 replies

    1-Visitor
    November 28, 2007
    Hi,



    Add this to your toolbar, black arrow on grid. It will allow you to turn it
    on and off. Its under the list of commands on edit.



    Best regards

    Stephen









    _____
    21-Topaz II
    November 28, 2007
    The mapkey below will toggle the highlighting. The trick with these
    toggle mapkeys is finding the 1 or 0 that tells Pro|E 'on' or 'off'.
    Record the mapkey both ways, as on and off and compare them in a text
    editor. Somewhere there will be a single character difference - one
    will have a 1, the other a 0. Delete the 1 or 0 and it becomes a
    toggle.

    Here's the mapkey:

    mapkey vph @MAPKEY_LABELPrehighlighting;\
    mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
    mapkey(continued) ~ Select `main_dlg_cur` `Edit.cbSelect`;~ Close
    `main_dlg_cur` `MenuBar1`;\
    mapkey(continued) ~ Close `main_dlg_cur` `Edit.cbSelect`;\
    mapkey(continued) ~ Activate `main_dlg_cur` `psh_sel_filter`;\
    mapkey(continued) ~ Activate `selprefs` `PrehButton` ;~ Activate
    `selprefs` `Ok`;

    I don't remember, but I think the 1 or 0 was at the end of the second to
    last line.

    Doug Schaefer
    1-Visitor
    November 28, 2007
    Stephen,
    What version are you using?
    In my WF2 release, I can find neither the "Arrow on grid" icon or the
    one immediately to the left of it. What is that one for?


    To Neal's question -
    For me, the MMB appears to cancels the command. I can only select with
    the LMB after querying with the RMB. After MMB, my RMB will only work
    again if I move the mouse and thereby 'force' another pre-selection to
    occur first.

    Regards,
    Scott


    10-Marble
    November 28, 2007
    Hi Neal,

    Here is a mapkey that toggles:

    mapkey nh ~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
    mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;~ Select
    `main_dlg_cur` `Edit.cbSelect`;\
    mapkey(continued) ~ Close `main_dlg_cur` `Edit.cbSelect`;\
    mapkey(continued) ~ Activate `main_dlg_cur` `psh_sel_filter`;\
    mapkey(continued) ~ Activate `selprefs` `PrehButton` ;~ Activate
    `selprefs` `Ok`;


    The way to make a non-toggle mapkey toggle is to manually edit it to
    remove the 1 or the 0 value that represents the box being checked or
    not.
    Mike Foster
    ATK Space

    21-Topaz II
    November 28, 2007
    Missed your other questions. Query select is different in WF. You
    hover to pre-select, RMB to query through and then LMB to select. As
    someone else pointed out, MMB cancels. You have to be careful not to
    move your mouse while toggling through with the RMB. Any mouse movement
    pre-selects again and starts you over. That's a bit maddening, but if
    you have to go more than a few RMB clicks, it's better to use the 'pick
    from list' command in the RMB menu.

    If you fully understand the 'smart filter', it'll help too. The smart
    filter first highlights features only. Once you select a feature, it
    then highlights geometry of that feature. So, if you want a particular
    edge or feature surface, first find and pick the parent feature of the
    object, then the object entities will highlight.

    I hope that helps.

    Doug Schaefer
    1-Visitor
    November 28, 2007
    If you just plain don't like it, like myself, you can also use the
    config option 'prehighlight no' which will turn it off when Pro/E starts
    up. You can still turn it on though if you want it (for some unknown
    reason ;).

    Cheers
    Doug
    1-Visitor
    November 28, 2007
    Sounds like you don't have a handle on how the new selection method
    works in WF. I had sent a link to a nice tutorial on the PTC site that
    had a good explanation of the section tool and the logic behind it.



    Unfortunately, I've lost that link. Does anyone have it saved from when
    I sent it?



    Tony


    1-Visitor
    November 28, 2007
    Hi,



    Wildfire v3



    Best regards

    Stephen







    _____
    1-Visitor
    November 28, 2007
    you can also use: edit > select > preferences and then check/uncheck
    highlighting


    ----- Forwarded by Mike Fredericksen/RWS/Raytheon/US on 11/28/2007 08:10
    AM -----

    "Neal Rosenblum" <->
    11/28/2007 06:53 AM
    Please respond to
    "Neal Rosenblum" <->


    To
    -
    cc

    Subject
    [proecad] - Preselection Highlighting and Query Select






    All,
    1. Is there an easy or built-in way to toggle Preselection
    Highlighting ON and OFF? Or do I just need to create a mapkey? I tried
    to create one mapkey for toggling ON/OFF but this did not work. I
    probably need to create one mapkey to toggle ON and another mapkey to
    toggle OFF.
    2. How do I query select using Preselection Highlighting? I
    repeatedly press the RMB and when I accept with the MMB, the entity never
    gets properly selected.
    3. The Query Select functionality sometimes turns itself off. In
    other words, when I want to Query Select, I click the RMB and select an
    item with the LMB. I then repeatedly click the RMB until the item I want
    has been highlighted and I accept with the MMB. My problem is that the
    initial RMB click that takes me into Query Select mode doesn't always take
    me there. I end up having to click and hold the RMB, use the pulldown
    menu, and manually select Query Select.
    Sincerely,
    Neal Rosenblum
    Geometrix Engineering, Inc.
    201 N. 13th Avenue
    Hollywood, FL 33019
    1-Visitor
    November 28, 2007
    One on the left of it is for colours and appearance.



    Best regards

    Stephen





    _____