控件改名
1 theDialog->TopBlock()->FindBlock("Dialog")->GetProperties()->SetString("Label", "找体");//dialog标题 2 theDialog->TopBlock()->FindBlock("group0")->GetProperties()->SetString("Label", "输入尺寸");//group名
3 theDialog->TopBlock()->GetProperties()->SetString("Label", "刘");//title
//------------------------------------------------------------------------------ // #include <NXOpen/ListingWindow.hxx> //void print(const NXString &); //ListingWindow *lw; //定义print函数 //------------------------------------------------------------------------------ void classname::print(const NXString &msg) { if(! lw->IsOpen() ) lw->Open(); lw->WriteLine(msg); }