Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

Hide and unhide parts from graphics area selection using cursor

Shumayal
10-Marble

Hide and unhide parts from graphics area selection using cursor

I am on CREO 10.0.7.0 and I want to hide and unhide parts quickly by just pointing my cursor or at least clicking it. I was used to quickly hiding and unhiding parts with Tab and Alt+Tab in SolidWorks without even clicking anything.

I tried H for Hide but it only works when part is selected on the model tree. If I have to go to the model tree, I might as well just right click and select hide.

I tried these mapkeys below found on the community but they only work when selected from model tree. Is there a way to make them work when selected through the graphics area?

mapkey hc @MAPKEY_NAMEhide the selected component;\
mapkey(continued) @MAPKEY_LABELHide Component;~ Command `ProCmdViewHide`;

mapkey uh @MAPKEY_NAMEUn-Hide the selected Component;@MAPKEY_LABELUn-hide;\
mapkey(continued) ~ Command `ProCmdViewShow`;

mapkey spo @MAPKEY_NAMESELECT THE NEXT LEVEL SUB ASSEMBLY;\
mapkey(continued) @MAPKEY_LABELSELECT PARENT;\
mapkey(continued) ~ Timer `UI Desktop` `UI Desktop` `popupMenuRMBTimerCB`;\
mapkey(continued) ~ Close `rmb_popup` `PopupMenu`;~ Activate `rmb_popup` `Selobj_parent`;

mapkey rs @MAPKEY_NAMEReset the view status;@MAPKEY_LABELreset status;\
mapkey(continued) ~ Command `ProCmdViewRestLayStat`;

 

ACCEPTED SOLUTION

Accepted Solutions
tbraxton
22-Sapphire I
(To:Shumayal)

CTRL+H works with selection from the graphics window in assembly mode. I have just confirmed this in Creo 9.0.8.0. Make sure to set the selection filter to part or component when selecting prior to using the hotkey.

 

You can also check to make sure that you do not have a conflict with a mapkey mnemonic that is preventing CTRL+H from working. Did you create a mapkey with the name of "h"? If so, delete that from the config and restart Creo so it is not loaded.

 

hide parts.mp4
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
      (view in My Videos)

      ========================================
      Involute Development, LLC
      Consulting Engineers
      Specialists in Creo Parametric

      View solution in original post

      9 REPLIES 9

      Hi,

      maybe uploaded video will help ...


      Martin Hanák
      tbraxton
      22-Sapphire I
      (To:Shumayal)

      If this is something you are doing repeatedly, create one or more simplified reps and then create mapkeys to activate the reps on demand. If you need this while you are adding features to models, then set up sim rep rules and also possibly exploit layer rules to control what is added to a rep.

       

      To Create a Simplified Representation

       

      To Create Simplified Representations Using Definition Rules

      ========================================
      Involute Development, LLC
      Consulting Engineers
      Specialists in Creo Parametric

      Hello,

      Unfortunately it is not something I am doing repeatedly. I understand the solution you refer to. I open assemblies that others have created with several parts and I need to frequently look inside of them to observe/check things out to have glances. So going through the model tree is tiresome and I miss the hide function that I have been using all along for quickly hiding and unhiding whatever was under my cursor without caring about the tree itself.

      kdirth
      21-Topaz I
      (To:Shumayal)

      In Creo 7, I usually just select a surface on a part and select the hide button in the mini toolbar to hide a part. 

      kdirth_1-1740150198149.png

       

      You can also use the Select from Parents button to select the assemebly level you want to hide then select hide.

      kdirth_0-1740149937239.png

       


      There is always more to learn in Creo.
      tbraxton
      22-Sapphire I
      (To:Shumayal)

      Creo Parametric keyboard shortcuts:

      Hide is  ctrl+H

      Unhide all is shift+ctrl+H

       

      You can use these shortcuts in the definition of mapkeys. You must select an object (part/component) to hide before using ctrl+H .

       

      tbraxton_0-1740156721558.png

       

       

       

       

       

      ========================================
      Involute Development, LLC
      Consulting Engineers
      Specialists in Creo Parametric

      The shortcuts only work when I select the part from the model tree but doesn't work when I select it in the graphics window. Meanwhile Unhide all works perfectlyshift+ctrl+H anytime I want.

      Any way to make H or CTRL+H work without the model tree?

      tbraxton
      22-Sapphire I
      (To:Shumayal)

      CTRL+H works with selection from the graphics window in assembly mode. I have just confirmed this in Creo 9.0.8.0. Make sure to set the selection filter to part or component when selecting prior to using the hotkey.

       

      You can also check to make sure that you do not have a conflict with a mapkey mnemonic that is preventing CTRL+H from working. Did you create a mapkey with the name of "h"? If so, delete that from the config and restart Creo so it is not loaded.

       

      hide parts.mp4
      Video Player is loading.
      Current Time 0:00
      Duration 0:00
      Loaded: 0%
      Stream Type LIVE
      Remaining Time 0:00
       
      1x
        • Chapters
        • descriptions off, selected
        • captions off, selected
          (view in My Videos)

          ========================================
          Involute Development, LLC
          Consulting Engineers
          Specialists in Creo Parametric

          For sake of completeness, I want to mention that in assembly mode, ALT+click will usually select components no matter what the selection filter is active.

          tbraxton
          22-Sapphire I
          (To:pausob)

          Default selection filter: When selecting geometry, extended context operations, such as operations on features or parts, are supported. To select features or parts directly, press ALT+left mouse button, or switch the filter.

          ========================================
          Involute Development, LLC
          Consulting Engineers
          Specialists in Creo Parametric
          Announcements


          NEW Creo+ Topics: Real-time Collaboration

          Top Tags