Last active
September 1, 2020 06:22
-
-
Save NiXeTools/7216cb89896c89c9234550179350a35d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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