NX二次开发-写入信息窗口

 1     void WriteLW(const std::string& str)
 2     {
 3         NXOpen::ListingWindow *lw = Session::GetSession()->ListingWindow();
 4         if (!lw->IsOpen())
 5         {
 6             lw->Open();
 7         }
 8 
 9         lw->WriteLine(str.c_str());
10     }

 

posted on 2020-12-14 13:23  不再低调  阅读(250)  评论(0编辑  收藏  举报