Debugging a Program (continued)

  1. Click Continue   on the Debug toolbar.

    A message box is displayed informing you that the code contains a runtime error. An object does not support the specified method or property.

  2. Click Debug.

    The offending code is highlighted in yellow. This object does not have an InsertSketch2 method.  

  1. Change InsertSketch2 back to InsertSketch.

  2. Click Continue .

    The program finishes executing, and a cut-extrude is created on the selected face.

  1. Delete the cut-extrude and sketch.

Next

Return SolidWorks Help Index

Your Ad Here