Under some conditions CreateLine does not put line ends to exact point I specified, instead it snaps to the intersection of body of the other feature and plane. I tried
swApp.SetUserPreferenceToggle(swUserPreferenceToggle_e.swSketchInference, true);
but this prevents lines to form a contour, so FeatureCutThin2 does not work any more.
So here is my two questions:
1) Is there any way to override snapping? May be reduce strength of the snap.
2) Is there any way to form contour from lines, so FeatureCutThin2 will work?
SolidworksApi macros