Whre in keyboard shortcut options can I save button for option from screenshots (i marked in red circle)? I cant find it. "show/hide komponents" doesn`t work, some other position in list?
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.
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?
Check under View category and everything is there
I checked and i can`t find. Is it impossible?
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.
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.
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.
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
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
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?
adding hide/unhide bodies choosing from feature tree like on attached video?
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.
Work great, but if you want still improve this macro, i will be very hapy
Alexey Groutso wrote: Here you go. Added the ability to: Hide/Show Surface Bodies in Surface Bodies FolderHide/Show Surface Features in design treeHide/Show Solid Bodies in Solid Bodies Folder(you can already show/hide Solid Features in design tree)Hide/Show Reference Points in design treeHide/Show Reference Points in model space Still having issues with show hide things on drawing level. Life is a work in progress.Dropbox - Hide Show Selected.swp
Alexey Groutso wrote:
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
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.
Retrieving data ...