Complete the code to select the surface for thickening.
swModel.Extension.SelectByID2("[1]", "FACE", 0, 0, 0, false, 0, null, 0);
To thicken a surface, you must select the surface face, not edges or vertices.
Complete the code to set the thickness value for the thicken feature.
double thickness = [1];The thickness must be a positive number to create a solid from the surface.
Fix the error in the method call to create the thicken feature.
swFeature = swFeatureMgr.[1](thickness, 0, true);
The correct method to create a thicken feature in SolidWorks API is InsertThicken.
Fill both blanks to set the direction and merge option for thickening.
swFeatureMgr.InsertThicken(thickness, [1], [2]);
The direction is set to one side, and merge is true to combine with existing bodies.
Fill all three blanks to create a thicken feature with correct parameters.
swFeature = swFeatureMgr.InsertThicken([1], [2], [3]);
Thickness value, two-sided direction, and merge set to true create a solid thickened both sides merged.
