AnsweredAssumed Answered

Macro To Hide All Sketches In Top Assembly

Question asked by Jason Henke on Jul 9, 2009
Latest reply on Jan 7, 2016 by Cravero Pierpaolo
Alright I'm kind of new to the SolidWorks macro stuff but I was wondering if there was a way to hide all shown sketches in an assembly. And if possible, is it possible to hide other things such as axis's and planes. You see we have a bunch of large assemblies and if there is a sketch shown somewhere, when you hit isometric view it puts the model way out in space due to the fact there is a sketch shown somewhere. Now in the past what I've done is just type in "Sketch" in the feature search thing and have it find all of the sketches and then I hide them one by one. That works great most of the time, although it's cumbersome but sometimes they rename a sketch, and so now it doesn't show up in my feature search. This is the same for planes and axis's as well. So I was wondering if there was a way to have a macro go through and find all the sketches, planes, and axis's that are shown regardless of there names and hide them all. Any help or advice on this subject would be greatly appreciated.