cancel
Showing results for 
Search instead for 
Did you mean: 

web based NX application and NX remoting

Creator
Creator

Hi All,

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

 

Thanks FL

1 REPLY

Re: web based NX application and NX remoting

Valued Contributor
Valued Contributor

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")