most efficient way to hide multiple part feature sketches
most efficient way to hide multiple part feature sketches
In an assembly, if I:
View > Hide Show > Sketches (on)
...and there a bunch of part feature sketched in the "show" state, I'll see them (as I should).
What is the most efficient way to set ALL of the seen part feature sketches to "hide"?
To be clear, this is at the part level, as seen from the assembly level.
Thanks.
View > Hide Show > Sketches (on)
...and there a bunch of part feature sketched in the "show" state, I'll see them (as I should).
What is the most efficient way to set ALL of the seen part feature sketches to "hide"?
To be clear, this is at the part level, as seen from the assembly level.
Thanks.
Without a macro, here is how I do it:Mike Gera wrote: ↑Thu Jan 20, 2022 4:51 pm In an assembly, if I:
View > Hide Show > Sketches (on)
...and there a bunch of part feature sketched in the "show" state, I'll see them (as I should).
What is the most efficient way to set ALL of the seen part feature sketches to "hide"?
To be clear, this is at the part level, as seen from the assembly level.
Thanks.
select top level and hit CTRL T (this will show tree in flat tree view)
Select top level and hit * (this will ensure that all hole wizard sketches are expanded as well)
Hit F8 (This will show the display pane)
Then walk down the "hide" column and click on each sketch that is not hidden. Should only take a couple of minutes no matter how big your tree is. Once you are done:
Hit CTRL T (this will bring you back out of flat tree view)
Select the top level and hit SHIFT C (This will collapse the tree back to its smallest)
Works pretty well.
SW 2022 SP 5.0
Windows 11
Windows 11
Re: most efficient way to hide multiple part feature sketches
Try the macro from here:
https://cadforum.net/viewtopic.php?p=14166
It works on parts and assemblies to hide all chosen items.
https://cadforum.net/viewtopic.php?p=14166
It works on parts and assemblies to hide all chosen items.
_________________________________________________________________________
"To succeed, planning alone is insufficient. One must improvise as well."
Salvor Hardin in Isaac Asimov's Novel, "Foundation"
"To succeed, planning alone is insufficient. One must improvise as well."
Salvor Hardin in Isaac Asimov's Novel, "Foundation"
Re: most efficient way to hide multiple part feature sketches
I was struggling with that today. You can pick the sketches one at a time, but it is not possible to select multiple sketches using a box or lasso.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Re: most efficient way to hide multiple part feature sketches
Yea, it’s a real drag. A time consumer, too.
SW 2022 SP 5.0
Windows 11
Windows 11
Re: most efficient way to hide multiple part feature sketches
Try this macro: https://www.codestack.net/solidworks-ap ... -sketches/ it hides or shows all sketches (including components if in the assembly)
Thanks,
Artem
xarial.com - making your CAD better
codestack.net - SOLIDWORKS API macros and tutorials
Artem
xarial.com - making your CAD better
codestack.net - SOLIDWORKS API macros and tutorials
Re: most efficient way to hide multiple part feature sketches
Does this macro support SW2022.artem wrote: ↑Thu Jan 20, 2022 8:29 pm Try this macro: https://www.codestack.net/solidworks-ap ... -sketches/ it hides or shows all sketches (including components if in the assembly)
While in assembly, it almost does nothing. While in a part, it's a matter of 50-50. Some sketches get hidden, some doesn't.
Have you tested it on a sheet metal assembly?
Thank you.
Re: most efficient way to hide multiple part feature sketches
Thanks for the macro / API suggestions. I'm not up-to-speed on API yet. Sounds like a good reason to dive into it.
SW 2022 SP 5.0
Windows 11
Windows 11
- DanPihlaja
- Posts: 839
- Joined: Thu Mar 11, 2021 9:33 am
- Location: Traverse City, MI
- x 804
- x 973
Re: most efficient way to hide multiple part feature sketches
Without a macro, here is how I do it:Mike Gera wrote: ↑Thu Jan 20, 2022 4:51 pm In an assembly, if I:
View > Hide Show > Sketches (on)
...and there a bunch of part feature sketched in the "show" state, I'll see them (as I should).
What is the most efficient way to set ALL of the seen part feature sketches to "hide"?
To be clear, this is at the part level, as seen from the assembly level.
Thanks.
select top level and hit CTRL T (this will show tree in flat tree view)
Select top level and hit * (this will ensure that all hole wizard sketches are expanded as well)
Hit F8 (This will show the display pane)
Then walk down the "hide" column and click on each sketch that is not hidden. Should only take a couple of minutes no matter how big your tree is. Once you are done:
Hit CTRL T (this will bring you back out of flat tree view)
Select the top level and hit SHIFT C (This will collapse the tree back to its smallest)
Works pretty well.
-Dan Pihlaja
Solidworks 2022 SP4
2 Corinthians 13:14
Solidworks 2022 SP4
2 Corinthians 13:14
Re: most efficient way to hide multiple part feature sketches
Thanks, dpihlaja.dpihlaja wrote: ↑Fri Jan 21, 2022 8:21 am Without a macro, here is how I do it:
select top level and hit CTRL T (this will show tree in flat tree view)
Select top level and hit * (this will ensure that all hole wizard sketches are expanded as well)
Hit F8 (This will show the display pane)
Then walk down the "hide" column and click on each sketch that is not hidden. Should only take a couple of minutes no matter how big your tree is.
image.png
Once you are done:
Hit CTRL T (this will bring you back out of flat tree view)
Select the top level and hit SHIFT C (This will collapse the tree back to its smallest)
Works pretty well.
The macro suggestions are all great and I'll look into them long term, but I like this workflow for now. Very helpful.
SW 2022 SP 5.0
Windows 11
Windows 11