Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
-------------Files required
-------------1. Client.csproj
2. NXOpenRemotingClient.cs
The above listed files are located at $UGII_BASE_DIR\ugopen\SampleNXOpen
Applications\.NET\RemotingExample\Client
3. NXOpenRemotingService.cs
4. Server.csproj
The above listed files are located at $UGII_BASE_DIR\ugopen\SampleNXOpen
Applications\.NET\RemotingExample\Server
------------------------Build steps
-------------------------
Windows
------Server:
1. Open up the Server C# project (Server\Server.csproj) in Visual Studio
.
2. Add references to NXOpen.dll, NXOpen.UF.dll,NXOpen.UI.dll, and NXOpen
.Utilities.dll.
To do this, right click on "References" under the Server project in S
olution Explorer.
Pick "Add Reference..." and then navigate to the location of the dlls
.
These dlls can be found in %UGII_ROOT_DIR%\managed.
3. Build the project using Build - Build Solution and hit OK.
4. The default location for the newly created Server.dll that is created
is in a subdirectory called Server\obj\Debug.
Client:
1. Open up the Client C# project (Client\Client.csproj) in Visual Studio
.
2. Add references to NXOpen.dll, NXOpen.UF.dll,NXOpen.UI.dll, and NXOpen
.Utilities.dll.
To do this, right click on "References" under the Client project in S
olution Explorer.
Pick "Add Reference..." and then navigate to the location of the dlls
.
These dlls can be found in %UGII_ROOT_DIR%\managed.
3. Build the project using Build - Build Solution and hit OK.
4. The default location for the newly created Client.exe that is created
is in a subdirectory called Client\obj\Debug.
Linux
-------N/A---------------------------Settings before Launching NX
----------------------------NA---------------------------Settings after Launching NX
---------------------------1. Change the Role to Advanced.
-------------------------Example execution steps
-------------------------Note: you will need a .NET authoring license to run the example. See
the online documentation for details of licensing.
1. Start NX through the NX command prompt.