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 }