With the data you attached, I created a VBA sample to fix the "Bad Body" issue, you can open the B114QC11111.ipt and run the code to check if it solves the problem:
Sub FixBadBodyIssueInSheetMetal()
Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oSMDef As SheetMetalComponentDefinition
Set oSMDef = oDoc.ComponentDefinition
Dim oFaceFeature As FaceFeature
Set oFaceFeature = oSMDef.Features.FaceFeatures(1)
Dim oSk As PlanarSketch
Set oSk = oFaceFeature.Definition.Profile.Parent
Dim oFace As Face, oNormal As UnitVector, oOffsetFace As Face
For Each oFace In oFaceFeature.Faces
Set oNormal = oFace.Geometry.Normal
If oNormal.IsParallelTo(oSk.PlanarEntityGeometry.Normal) Then
Set oOffsetFace = oFace
Exit For
End If
Next
Dim oFaces As FaceCollection
Set oFaces = ThisApplication.TransientObjects.CreateFaceCollection
oFaces.Add oOffsetFace
Dim oOffsetSur As ThickenFeature
Set oOffsetSur = oSMDef.Features.ThickenFeatures.Add(oFaces, 0, kPositiveExtentDirection, kSurfaceOperation, True)
Dim oDeleteFace As DeleteFaceFeature
Set oDeleteFace = oSMDef.Features.DeleteFaceFeatures.Add(oOffsetFace.FaceShell)
Set oFaces = ThisApplication.TransientObjects.CreateFaceCollection
oFaces.Add oOffsetSur.Faces(1)
Dim dThickness As Double
Debug.Print oSMDef.Thickness.Expression
Dim oThicken As ThickenFeature
Set oThicken = oSMDef.Features.ThickenFeatures.Add(oFaces, oSMDef.Thickness.Expression, kNegativeExtentDirection, kJoinOperation, True)
oOffsetSur.SurfaceBodies(1).Visible = False
End Sub
The code will delete the problematic Brep and create a new one, this will create some new features but should be unfoldable as before. Also if you have drawing views with the flat pattern from the sheet metal you need to check if the drawing views can be updated successfully after running the code. Hope this helps.
If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.
Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.