Complete the code to create a mirror feature of a selected body.
mirrorFeature = modelDoc.FeatureManager.[1](bodyToMirror, mirrorPlane)The InsertMirrorFeature2 method is used to create a mirror feature of a selected body or feature in SolidWorks.
Complete the code to specify the mirror plane by its name.
mirrorPlane = modelDoc.GetEntityByName("[1]")
The Top Plane is commonly used as a mirror plane in many designs.
Fix the error in the mirror feature creation code.
mirrorFeature = modelDoc.FeatureManager.InsertMirrorFeature2([1], mirrorPlane)The InsertMirrorFeature2 method requires the body to mirror as the first argument. Additional boolean flags are optional and not required here.
Fill both blanks to complete the mirror feature creation with options.
mirrorFeature = modelDoc.FeatureManager.InsertMirrorFeature2([1], [2])
The first argument is the body to mirror, and the second is the mirror plane entity.
Fill all three blanks to create a mirror feature with bodies and options.
mirrorFeature = modelDoc.FeatureManager.InsertMirrorFeature2([1], [2], [3])
The method takes the body to mirror, the mirror plane, and a boolean to keep the original bodies (true).
