Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

web based NX application and NX remoting

Hi All,

How to start NX remoting application. there is a sample program in the ugopen folder. but not clear.

 

Thanks FL

1 REPLY
Solution
Solution
Accepted by topic author FL
‎08-26-2015 04:32 AM

Re: web based NX application and NX remoting

There are 2 parts to remoting. You have to have nx run a compiled version of the 'server' app as shown in the documentation. This can be started manually using file->execute->nxopen in NX.

Once this is running you have to then run your external application described as 'client' in the docs.

Any calls to the 'session' or 'ufsession' classes in your remote application have to be called through the server. The syntax of this will depend on what you are writting your code in. In VB it looks like this:

 

 

 

Dim thesession As Session

Dim ufs As UFSession

 

thesession =Activator.GetObject(GetType(Session),"http://localhost:1234/NXOpenSession")

 

ufs =Activator.GetObject(GetType(UFSession),"http://localhost:1234/UFSession")