NX9+VS2012
#include <NXOpen/NXObject.hxx>
#include <NXOpen/Part.hxx>
#include <NXOpen/PartCollection.hxx>
#include <NXOpen/Point.hxx>
#include <NXOpen/PointCollection.hxx>
NXOpen::Session *theSession = NXOpen::Session::GetSession();
NXOpen::Part *workPart(theSession->Parts()->Work());
NXOpen::Part *displayPart(theSession->Parts()->Display());
NXOpen::Point3d Point1XYZ(0,0,0);
NXOpen::Point *Point1 = workPart->Points()->CreatePoint(Point1XYZ);
NXOpen::Point3d Point2XYZ(100,100,100);
NXOpen::Point *Point2 = workPart->Points()->CreatePoint(Point2XYZ);
Caesar卢尚宇 [email protected]
NX二次开发-NXOpen中Point3d类型转换成point类型
猜你喜欢
转载自blog.csdn.net/lu1287580078/article/details/82974565
今日推荐
周排行