05-27-2018
09:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-27-2018
09:21 PM
Sorry for late response, you can add a check in the VBA code to exit the sub if user cancels the selection:
Dim oCurveSeg As DrawingCurveSegment
Set oCurveSeg = ThisApplication.CommandManager.Pick(kDrawingCurveSegmentFilter, "Select an arc drawing curve")
If oCurveSeg Is Nothing Then
Exit Sub
End If
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.