Skip to content

Instantly share code, notes, and snippets.

@NiXeTools
Last active September 1, 2020 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NiXeTools/7216cb89896c89c9234550179350a35d to your computer and use it in GitHub Desktop.
Save NiXeTools/7216cb89896c89c9234550179350a35d to your computer and use it in GitHub Desktop.
using NXOpen;
using System.Diagnostics;
namespace NXJournal
{
class Journal
{
static Session theSession;
public static void Main(string[] args)
{
theSession = Session.GetSession();
var logPath = theSession.LogFile.FileName;
Process.Start("powershell", "-NoExit -Command get-content \"" + logPath + "\" -Wait");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment