Does this macro support SW2022.
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?
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)