Sketch visibility shortcut

Sketch visibility shortcut

betteridge_max
Contributor Contributor
5,785 Views
17 Replies
Message 1 of 18

Sketch visibility shortcut

betteridge_max
Contributor
Contributor

I am looking for a way to quickly hide and unhide all sketches, preferably with a keyboard shortcut. I had this setup in Solidworks and now I have switched to F360 I really miss this feature. 
I want to be able to toggle the visibility of all sketches in the document including sketches in subcomponents. Ideally when I toggle the sketches back on they maintain their original visibility setting.
Clicking the visibility of the "sketches" heading in the browser almost does what I want, however it does not work for sketches inside subcomponents, and I cannot see how to map this to a hotkey. 
Toggling the display settings > object visibility > sketches at the bottom of the screen is exactly the functionality I want. Is there any way to map a hotkey to this or to create s script that toggles this option?

 

Screenshot 2023-03-06 104119.jpg

Accepted solutions (2)
5,786 Views
17 Replies
Replies (17)
Message 2 of 18

sutherland-
Collaborator
Collaborator

Hi @betteridge_max 

 

"Is there any way to map a hotkey to this (..)?"

 

Currently no, there is no way to do that within F360. I wanted to do the same for ortho and perspective view, but I guess we just need to wait until those features can be set to keyboard shortcuts.


Please click on Accept Solution so other community members can see how to solve the issue.
Also, consider giving a Like to the comments that you feel helped you.

Best regards,
Level  sutherland-

Member
0 Likes
Message 3 of 18

terry_fusion
Collaborator
Collaborator
0 Likes
Message 4 of 18

betteridge_max
Contributor
Contributor

Looks like a nice workaround. I have not come across this before, but I will give it a go!

0 Likes
Message 5 of 18

betteridge_max
Contributor
Contributor

Turns out the Power Automate solution can work but it takes about 5s to process each time and I can't see any way to speed it up. If it was 20x faster then it would probably work quite well. 

Message 6 of 18

betteridge_max
Contributor
Contributor
Accepted solution

For anyone following up on this, I created a Fusion 360 add-in with Chat GPT which adds a button to the toolbar that will toggle the visibility of all the sketches in the document (including sub-components). You can then assign a hotkey to the button. So now I have a solution that almost works the way I want it to: when I press the space bar, all the sketches show/hide. It's not perfect because the initial visibility state of the sketches isn't maintained. It would be really nice if the  Object Visibility > All Work Features toggle could be linked to a hotkey but at this stage, I don't think that's possible. 


My GPT-created add-in is attached.
I'm also using the Anyshortcut add-in, I'm not sure if this is necessary or not to assign the hotkey to my new button. In case it is here is the link to Anyshortcut: 
https://github.com/thomasa88/AnyShortcut

Message 7 of 18

Ebenmom
Explorer
Explorer

This id GREAT! It works! Thank you a lot! I've missed this since I've moved from Solidworks (where I could turn them off by keyboard shortcut) to Fusion. Would be even more useful, though to have an add in to turn off All Work features, like in Object visibility- All work features. But anyway, sketches are the main, most disturbing thing o the screen when one needs a clear view over the design. Thanks again!

0 Likes
Message 8 of 18

Ebenmom
Explorer
Explorer

Here is an update, after a few days of use:  It works sometimes, but there are also many times when it does'nt. I cannot say what should be done to keep it working...

Again, it would be nice to have this issue solved properly by the Fusion 360 team. And to be able to turn  "All Work Features" off by keyboard shortcut. Solidworks has this possibility (it's something basic, by default) and I was so used with it...

0 Likes
Message 9 of 18

betteridge_max
Contributor
Contributor
I’m glad it works for you - sometimes… I’m still using it and haven’t made
any modifications to it. Sometimes it doesn’t work for me when I have lots
of components hidden, it seems to with fine when all the components are
visible. I think it’s something to do with the way the script assesses
whether the majority of sketches are visible or not and uses that into the
either show or hide the remaining sketches. Feel free to modify it as your
like, GPT4 can probably work out the bugs!
0 Likes
Message 10 of 18

Ebenmom
Explorer
Explorer
Thank you, that's a good hint, about the hidden components . I'll try to
use GPT4 (I've never tried before), it sounds promising!
0 Likes
Message 11 of 18

ya.goshka
Participant
Participant
Accepted solution

hey, i made free add-in to show/hide all sketches and cycle through views (custom and default) with hotkeys. will be happy to get feedback and reviews https://apps.autodesk.com/FUSION/en/Detail/Index?id=7031079464202121924&os=Mac&appLang=en

0 Likes
Message 12 of 18

betteridge_max
Contributor
Contributor
I gave it a quick test and it seems to work similarly to my add-in. It would be great if it could remember the initial state of the sketches and only unhide the ones that were initially visible. I couldn't figure out how to do that in my script, and I've got used to the functionality now so not really an issue.
Thanks for sharing!
0 Likes
Message 13 of 18

ya.goshka
Participant
Participant

it should work as you expected but it doesnt 😞

now i working on major fix for that – there will be ability to toggle correctly visibility for all sketches and for sketches in active component.

what else could boost productivity for you? 

0 Likes
Message 14 of 18

ya.goshka
Participant
Participant

@betteridge_max here short demo of fix – fixed toggle logic, also i added 2 extra commands, show/hide all and show/hide in active component (and its child components).

https://www.youtube.com/watch?v=PuDRWwc-B5A

Message 15 of 18

erikhardy339
Enthusiast
Enthusiast

Is it possible to make sketchy manager function in the Manufacture workspace? Tool works wonders in the design space! 

0 Likes
Message 16 of 18

Warmingup1953
Advisor
Advisor

This deserves a Knighthood!

0 Likes
Message 17 of 18

betteridge_max
Contributor
Contributor
FYI, a few people have released more polished versions of this plugin since
I made this one. I still use mine as I prefer the slightly quirky
functionality of my one now that I’m used to it. ##- Please type your reply
above this line -##
0 Likes
Message 18 of 18

mrpontius
Explorer
Explorer

All of you plugin makers deserve a medal. However, how this isn't a baked in feature all these years later is completely baffling!