Showing results for 
Search instead for 
Did you mean: 

Using Executables.


Right now I have an NXOpen ufunc in c#. All it does is open a part file in an external (non-interactive) version of NX. I wrote it using Visual Studio 2013. When I press the Green start arrow in the Visual Studio IDE, the program runs fine. However when I double click the executable, an "System.Runtime.InteropServices.SEHException" exception is thrown. And the method that it is being thrown from is "JAM_SESSION_initialize".

Does anybody know why this is happening?


Re: Using Executables.

Esteemed Contributor
Esteemed Contributor

Use the run_managed.exe utility shipping with NX to execute a .NET executable.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 ( | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community