This node allows you to use NX files (.prt) within an optiSLang workflow. Open a file in the node and the parameters and results are displayed in the editor.
Parameters and Responses
The integration opens the model and scans the model parameters. Each changeable object is listed as an available parameter in the integration dialog box. All unchangeable objects are listed as available responses. Parameters and responses can be registered using drag-and-drop.
The optiSLang setting Customization:Customized integrations use tree view controls whether the parameters and responses are presented as a list or a tree structure. To use the setting, from the menu bar select > . After changing the setting, restart optiSLang.
The following types are supported:
NX Expression | Example | optiSLang Parameter | Example | optiSLang Response | Example |
---|---|---|---|---|---|
Boolean | my_exp = true | BOOL | my_exp = true | BOOL | my_exp = true |
String | my_exp = "test" | STRING | my_exp = "test" | - | - |
Number | my_exp = 1.5 | REAL | my_exp = 1.5 | REAL | my_exp = 1.5 |
Integer | my_exp = 1 | INTEGER | my_exp = 1 | INTEGER | my_exp = 1 |
Point | my_exp = Point(1, 2, 3) | REAL |
my_exp.X = 1 my_exp.Y = 2 my_exp.Z = 3 | REAL |
my_exp.X = 1 my_exp.Y = 2 my_exp.Z = 3 |
Vector | my_exp = Vector(1, 2, 3) | REAL |
my_exp.X = 1 my_exp.Y = 2 my_exp.Z = 3 | REAL |
my_exp.X = 1 my_exp.Y = 2 my_exp.Z = 3 |
List | my_exp = [1, 2, 3] | REAL |
my_exp[0] = 1 my_exp[1] = 2 my_exp[2] = 3 | VECTOR | my_exp = [1, 2, 3] |
Settings
To access the NX settings, switch to the Settings tab and click .
Tab | Name | Default value | Description |
---|---|---|---|
Execution | NX install path | C:\Program Files\Siemens\NX1953\NXBIN | Sets the path to the run_journal.exe file. |
Export | Export as pdf | False | When selected, exports the current view as a PDF file. |
SPEOS for NX | Save .sv5/.speos | False | When selected, exports a Speos *.sv5 or *.speos file. |
Speos install path | C:\Program Files\ANSYS Inc\v231\Optical Products\Viewers | Sets the path to the SPEOSCore.exe file. | |
Ansys Speos NX directory | C:\Program Files\ANSYS Inc\v231\Optical Products\Speos for NX\NX_SPEOS_2007 | Sets the path to the Speos custom directory. | |
UGII custom directory file | C:\Program Files\ANSYS Inc\v231\Optical Products\Speos for NX\speos_custom_dir_2007.dat | Sets the path to the Speos custom directory file (*.dat). | |
Simulation name | Direct Simulation (0) | Sets the Speos simulation name. |
Run Options
This node has general Run Options. The number of supported options is individual for each node.
Operating System
Windows
Supported Versions
See the Supported Integration Versions table.