Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NXOpen Session.Execute not working

Status
Not open for further replies.

basenxuser

Mechanical
Sep 27, 2007
69
Hello All,

I have the following scenario:

MainDll - Launched from NX Menu
OpenPartDll - Separate nxopen class library with open part implementation.

In MainDll i use the following code, but it is not working and no exception returned also:

Dim theSession As Session = Session.GetSession()
Dim cmdArgs() As String = {}
theSession.Execute("C:\Demo\OpenPartDll.dll", "OpenPart", "Main", cmdArgs)

Please suggest on this.

Best Regards,
basenxuser
 
Replies continue below

Recommended for you

See if this link help you.
I'm also have interest in this
Issue but still not get a solution.

My target is to launch a journal
That's launch a second journal
That open a part do something
And when returning the first journal
Can continue with the information
Returns from the second journal.

 
Hello All,

Continuing to my query.
I want to get already running NX session into NXOpen console application.(I dont want to use nxopen remoting)
Because When I use nxopen remoting and launch the console application from NX menubar.
The session variable hangs indefinitely.

Best Regards,
basenxuser
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor