Hello,
i want to get information about Blend object and Cutout object using NXOpen.Tooling.SheetMetalFeatureRecognitionBuilder.AnalyzeBody().
my code:
.
Face planarFace1;
.
.
Plane plane = part.Planes.CreatePlane(new Point3d(point1[0], point1[1], point1[2]), new Vector3d(dir1[0], dir1[1], dir1[2]), SmartObject.UpdateOption.AfterModeling);
NXOpen.Tooling.SheetMetalFeatureRecognitionBuilder sheetMetalFeatureRecognitionBuilder = part.ToolingManager.Moldwizard.CreateSheetMetalFeatureRecognitionBuilder();
sheetMetalFeatureRecognitionBuilder.SelectionBaseFace.Value = planarFace1;
sheetMetalFeatureRecognitionBuilder.SetProductOrientation(plane.Matrix);
sheetMetalFeatureRecognitionBuilder.AnalyzeBody();
BendingAreaData[] bendingAreaDatas = null;
CutoutAreaData[] cutoutAreaDatas = null;
sheetMetalFeatureRecognitionBuilder.CollectBendingObjects(out bendingAreaDatas);
sheetMetalFeatureRecognitionBuilder.CollectCutoutObjects(out cutoutAreaDatas);
sheetMetalFeatureRecognitionBuilder.BendingDataProvider has not rows and columns.