NXOpen::NXMatrix* wcsNXMatrix;
wcsNXMatrix = workPart->WCS()->CoordinateSystem()->Orientation();
NXOpen::Point3d center = { 0.0,0.0,0.0 };
double majorRadius = 2;
double minorRadius = 1;
double startAngle = 0;
double endAngle = PI;
double rotationAngle = 0;
NXOpen::Ellipse* ellipse1;
ellipse1 = workPart->Curves()->CreateEllipse(center, majorRadius, minorRadius, startAngle, endAngle, rotationAngle, wcsNXMatrix);
标签:CreateEllipse,wcsNXMatrix,double,workPart,CurveCollection,rotationAngle,NXOpen,0
From: https://blog.csdn.net/qq_32460115/article/details/139900245