×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NXOpen Session.Execute not working

NXOpen Session.Execute not working

NXOpen Session.Execute not working

(OP)
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

RE: NXOpen Session.Execute not working


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.

https://community.plm.automation.siemens.com/t5/NX...

RE: NXOpen Session.Execute not working

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources

White Paper – Your Construction ERP RFP Checklist
Selecting business software for a medium to enterprise-sized construction concern is extremely challenging in large part because most enterprise resource planning (ERP) suites originated in the world of repetitive manufacturing and are therefore a poor fit for a project and asset-centric business. However, midsize to large contractors need the predictable, auditable processes that ERP delivers. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close