-
Re: Keyboard shortcut fo "show/hide"
Kevin Chandler May 25, 2018 6:07 PM (in response to Et 0 Tru)Hello,
It may already be one: press TAB with your cursor over the part you want to hide.
Also, right click Command Manage and select customize.
On that dialog, click keyboard tab and enter Hide in the search box.
If the command you want shows and there is a shortcut already assigned, it will be displayed.
Select the command and press your desired keystroke combination. The current will be overwritten or add if it's currently blank.
If your keystroke is already in use, you'll be prompted if you want to keep it as is or use it for the command you're modifying.
Cheers,
Kevin
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru May 26, 2018 3:46 AM (in response to Kevin Chandler)Abou TAB, SHIFT+TAB and CTRL+SHIFT+TAB I know everything and work fine, but i want for example quickly hide axis, plane, sketch and other elements like on screenshot in first post (not body/part). I did keyboard shortcut (look on screenshot), but it doesn`t work, it must be other positions on the list, but which?
-
2018-05-26 at 09-43-57.png 175.3 KB
-
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru May 28, 2018 4:09 PM (in response to Deepak Gupta)I checked and i can`t find. Is it impossible?
-
Re: Keyboard shortcut fo "show/hide"
Deepak Gupta May 28, 2018 4:26 PM (in response to Et 0 Tru)Can you post screen shot from your system for view category (you need to scroll down to see them) OR type plane as search item.
-
Re: Keyboard shortcut fo "show/hide"
Alexey Groutso May 28, 2018 4:32 PM (in response to Et 0 Tru)Unfortunately there isn't a single shortcut for what you are asking. There definitely should be one! I ended up writing a separate method in my add-in that can do what you are asking for. One button to hide what ever you have selected on the screen or in the design tree. It's a little messy and doesn't work well with drawings but I'll see if I can rewrite it as a macro for you.
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru May 28, 2018 5:31 PM (in response to Alexey Groutso)Yes, please if you can (if it possible write how instal this macro, configure it and use, because i`ve naver used before macros). I will be very grateful.
-
-
-
-
-
-
Re: Keyboard shortcut fo "show/hide"
Alexey Groutso May 28, 2018 6:40 PM (in response to Et 0 Tru)It looks like it mostly works, I ran it through the typical cases for part and assembly but didn't get a chance to go through drawing items yet I remember there were some issues with design tree selection on the drawing level. will try to work it out. If anybody want to contribute feel free.
Dropbox - Hide Show Selected.swp
As far as installing it, there are plenty of examples around the net of how to add a macro button and assign a shortcut key to it.
2016 SOLIDWORKS Help - Assigning a Macro to a Keyboard Shortcut or Mouse Gesture
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru Jul 1, 2018 7:38 AM (in response to Alexey Groutso)Generally it works very fine for planes, axis, sketeches (this is the most important for me) and solid features, very very thank you. It does not googd work for points, is possible improove this macro for geometry points? Is possible improove macro for sleected surfaces and solid objects checked in tree (in model window i can use tab/shift+tab so is not problem but in feature tree tab does not work)? Some error is when you want hide suface feature. Please look on attached screenshot, you understand what i mean
-
2018-07-01 at 13-23-29.mp4 5.4 MB
-
2018-07-01 at 13-22-10.mp4 7.2 MB
-
Re: Keyboard shortcut fo "show/hide"
Alexey Groutso Jul 1, 2018 7:46 AM (in response to Et 0 Tru)Points and surfaces should be easy enough to add. I'll have a look at that macro tomorrow and see if I can include these features.
Anything else other than those two?
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru Jul 1, 2018 1:03 PM (in response to Alexey Groutso)adding hide/unhide bodies choosing from feature tree like on attached video?
-
2018-07-01 at 19-01-27.mp4 2.9 MB
-
Re: Keyboard shortcut fo "show/hide"
Alexey Groutso Jul 1, 2018 11:05 PM (in response to Et 0 Tru)Here you go. Added the ability to:
Hide/Show Surface Bodies in Surface Bodies Folder
Hide/Show Surface Features in design tree
Hide/Show Solid Bodies in Solid Bodies Folder
(you can already show/hide Solid Features in design tree)
Hide/Show Reference Points in design tree
Hide/Show Reference Points in model space
Still having issues with show hide things on drawing level. Life is a work in progress.
-
Re: Keyboard shortcut fo "show/hide"
Et 0 Tru Jul 2, 2018 7:04 PM (in response to Alexey Groutso)A-W-S-O-M-E !!!
Work great, but if you want still improve this macro, i will be very hapy
-
Re: Keyboard shortcut fo "show/hide"
Neville Williams Jul 2, 2018 7:44 PM (in response to Alexey Groutso)Alexey Groutso wrote:
Here you go. Added the ability to:
Hide/Show Surface Bodies in Surface Bodies Folder
Hide/Show Surface Features in design tree
Hide/Show Solid Bodies in Solid Bodies Folder
(you can already show/hide Solid Features in design tree)
Hide/Show Reference Points in design tree
Hide/Show Reference Points in model space
Still having issues with show hide things on drawing level. Life is a work in progress.
Alexey
This is very useful - outstanding little tool.
If you ever get it functioning for other features, in drawings etc this will be a killer little macro
-
Re: Keyboard shortcut fo "show/hide"
Alexey Groutso Jul 2, 2018 8:32 PM (in response to Neville Williams)Thank you, to be honest I'm still puzzled that hide show function was not handled like this to begin with. As I've mentioned before it actually works for most of the things in the drawing. But I had another look and added the following:
Hide Assembly Component in the view in the drawing
Hide Datum Tags in the drawing
Hide Geometric Tolerance Callout in the drawing
Hide Dimensions in the drawing is already implemented
Hide Notes in the drawing is also implemented (Notes also handle a number of other features like revision bubble, view labels, BOM balloons etc.)
If any of these items are hidden by accident you can simply undo hide command (Ctrl-Z)
Dropbox - Hide Show Selected.swp
The actual number of things that can be hidden and shown is rather large, so I'm reluctant to go through the whole list as some of those things will most likely never be necessary.
The only major part I'm having issues with is hiding sketches in the design tree.
For some reason every time I check visibility state of the sketch when in drawing design tree it only returns as hidden. So all I can do right now is show it but not hide it.
I'm assuming it's because regardless of whether it is shown on the drawing, on the part level it stays hidden, and for the drawing visibility state something else needs to be checked instead which I'm not sure how to do yet. Simply recording a macro doesn't actually give me enough information on what needs to be checked.
If anyone has some idea of what I'm doing wrong and could help it'll be much appreciated.
-
-
-
-
-
-