BarathAlagar
Mechanical
- Apr 6, 2021
- 10
I want to create the hole with existing point. when try to CommitFeature it gives the error like "A Sketch was expected but not found"
please refer below code in C#,
HolePackage Hole_Feat = (NXOpen.Features.HolePackage)holePackageBuilder1.CommitFeature();
Note: The error get capture in try catch and The hole is getting created in NX. But not able to get the holePackage through CommitFeature.
please refer below code in C#,
HolePackage Hole_Feat = (NXOpen.Features.HolePackage)holePackageBuilder1.CommitFeature();
Note: The error get capture in try catch and The hole is getting created in NX. But not able to get the holePackage through CommitFeature.