#include <uf.h>
#include <uf_obj.h>
#include <uf_part.h> using namespace NXOpen;
using std::string;
using std::exception;
using std::stringstream;
using std::endl;
using std::cout;
using std::cerr; //定义一个结构体记录
struct group
{
CString text;
std::vector<tag_t> boudaries;
std::vector<tag_t> charmfers;
std::vector<tag_t> slots;
}; struct AllFeats
{
std::vector<tag_t> maxBoudaries;
struct group CurveGroup;
}; //------------------------------------------------------------------------------
// NXOpen c++ test class
//------------------------------------------------------------------------------
class MyClass
{
// class members
public:
static Session *theSession;
static UI *theUI; MyClass();
~MyClass(); void do_it();
void print(const NXString &);
void print(const string &);
void print(const char*); //定义函数
void MyCurve(); AllFeats allFeats; private:
Part *workPart, *displayPart;
NXMessageBox *mb;
ListingWindow *lw;
LogFile *lf;
};
04-13 14:38