Complete the code to create a sweep feature by selecting the profile sketch.
sweepFeature = model.FeatureManager.[1](profileSketch, pathSketch)The correct method to insert a sweep feature in SolidWorks API is InsertSweep.
Complete the code to select the path sketch for the sweep feature.
pathSketch = model.SketchManager.[1]()To create a new sketch for the path, use CreateSketch.
Fix the error in the code to properly define the sweep path.
path = model.[1]("PathSketch")
The correct method to get an existing feature by name is GetFeatureByName.
Fill both blanks to define the sweep feature with profile and path sketches.
sweepFeature = model.FeatureManager.[1]([2], pathSketch)
Use InsertSweep method with the profileSketch and pathSketch to create the sweep feature.
Fill all three blanks to create a sweep feature with profile, path, and guide curve.
sweepFeature = model.FeatureManager.[1]([2], [3], guideCurve)
The InsertSweep method requires the profile sketch, path sketch, and optionally a guide curve to create the sweep feature.
