How to delete sketch constraints at once in Autodesk inventor?
Kindly find the ilogic code below.
Dim oPartDoc As PartDocument
Dim oSketch As PlanarSketch
Dim geoconstraint As GeometricConstraint
On Error Resume Next
oPartDoc = ThisApplication.ActiveDocument
For Each oSketch In oPartDoc.ComponentDefinition.Sketches
For Each geoconstraint In oSketch.GeometricConstraints
MsgBox ("All constraints deleted!")