Hello everyone.
I am having trouble with the assembly FeatureCut function.
Here`s sample code:
Precondition: There`s a component along the cut area
isSuccess = furRgPanelDoc.Extension.SelectByID2("WallBoxCutSkt", "SKETCH", 0, 0, 0, false, 0, null, (int)swSelectOption_e.swSelectOptionDefault);
isSuccess = furRgPanelDoc.Extension.SelectByID2("FurRgPanel-1@FurRg", "COMPONENT", 0, 0, 0, true, 128, null, 0);
Feature assCutFeat = furRgPanelDoc.FeatureManager.FeatureCut(false, false, false, 1, 1, 0, 0, false, false, false, false, 0, 0, false, false, false, false, false, false, false);
The problem is that the component along the cut area was also cut.
I also tried the using FeatureCut3 but I got the same output.
Regards.
SolidworksApi macros