NX NXOpen: Using Journal Editor to Run Code Written in Visual Studio

2024-07-12T13:32:11Z
NX Open

Summary


Details

How to use the Journal Editor to run code in NX?

Solution

Preparing to Run the Code

1.       Open a Visual Studio project.

2.       Choose Edit -> Select All.

3.       To copy, hit Ctrl + C.

4.       Open NX.

5.       Choose the Developer tab -> Journal group -> Edit.

-          Note: If the Developer tab isn’t already available, in an empty space in the Ribbon, right click and select Developer.

Ensuring the Journal Editor is Set to the Desired Coding Language

1.       Hit Ctrl + 2.

2.       Choose Tools -> Journal.

3.       Under the Journal Language group, select the desired coding language.

4.       Click OK.

Running the Code.

1.       In the Journal Editor, click the first empty line.

2.       Hit Ctrl + V, or right click and select Paste.

-          Note: Any additional code changes can be done directly in the Journal Editor. Journal Editor files can also be saved for use later.

3.       Click Play.

-          Note: The code will now run.

KB Article ID# PL8789351

Contents

SummaryDetails

Associated Components

NX Open - All Languages