First of all, I must preface this by saying that I am using SW 2015 SP 3, so I can't speak for SW 2016.
And I am assuming that you mean specifically a section view in a drawing, NOT 3D.
I would say no, there is not. The "Flip" part of a section view is embedded inside the command and properties of the section view. It is not an actual command that you can create an icon from. So you can't add it to Gestures, Shortcut keys, or the infamous "S" shortcut toolbars.
However, I bet some enterprising soul could come up with a macro that could do that. And you CAN add a macro to a command icon, which could then be added to Gestures, Shortcut keys, or the infamous "S" shortcut toolbars.
I am speaking about in 3d space. For instance I am working on my model I cut a section, hit the green check.....then do what I need to do (cut, measure, whatever). Then I want to quickly flip and look the other direction to do more operations.
The only way I know is to exit the section, then go back into it and reset one going the other way. Or do as Leszek say's but that takes some fore thought and setup.
I think a macro can be written to flip.
So someone here was able to get the macro this far. It does work, UNLESS you are in an assy and your selection for section depth used the face of some geometry. Then for some reason it doesnt work. If anyone can figure out why, it would be helpfull to know and learn from. If not, this is working the majority of the time. Thanks for the replies!
Dim swApp As Object
Dim Part As Object
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Dim myModelView As ModelViewManager
Dim sViewData As SectionViewData
Set sViewData = Part.ModelViewManager.GetSectionViewData("")
If sViewData Is Nothing Then
MsgBox "You're not sectioned. Try again"
If sViewData.FirstReverseDirection Then
sViewData.FirstReverseDirection = False
sViewData.FirstReverseDirection = True
boolstatus = Part.ModelViewManager.CreateSectionView(sViewData)
If boolstatus = False Then
MsgBox "When in an assembly, please use the assembly basic planes as a starting reference for sectioning rather than a surface of a part. Otherwise the section flip won't work (Hence this message)."
- Part.ClearSelection2 True
I had the similar codes I was working on but could not get them to work on assembly, hence never posted them.
Not sure why it doesn't work on assembly even with plane selected.
Thanks Deepak, if you cant figure it out either then I am for sure calling off my folks from trying any further!