Complete the code to create a lofted surface between two sketches.
loft = model.[1](sketch1, sketch2)The correct method to create a lofted surface in SolidWorks API is CreateLoft.
Complete the code to add guide curves to the lofted surface.
loft.AddGuideCurves([1])The method AddGuideCurves expects a collection named guideCurves as input.
Fix the error in the code to set the loft options correctly.
loft.Options.[1] = True
The correct property to set tangency in loft options is Tangency.
Fill both blanks to define the start and end constraints for the lofted surface.
loft.SetStartConstraint([1]) loft.SetEndConstraint([2])
The start constraint is usually set to Tangency and the end constraint to Curvature for smooth loft transitions.
Fill all three blanks to finalize and rebuild the lofted surface.
loft.[1]() model.[2]() model.View.[3]()
First, the loft surface is built with Build(), then the model is rebuilt with Rebuild(), and finally the view is refreshed with Refresh() to show changes.
