Fix NX version: DesigncenterNX2512 (was looking for NX2412)

- Add DesigncenterNX{version} to install path search
- Update default version to 2512
- Root cause of 'Part file is from a newer version' error
This commit is contained in:
2026-02-11 15:54:32 +00:00
parent 80104d2467
commit 0229ce53bb
7 changed files with 1130 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Auto-generated journal for solving Beam_sim1.sim
import sys
sys.argv = ['', r'C:\Users\antoi\Atomizer\projects\hydrotech-beam\studies\01_doe_landscape\..\..\models\Beam_sim1.sim', None, 'beam_half_core_thickness=25.162', 'beam_face_thickness=21.504', 'holes_diameter=300.0', 'hole_count=10.0'] # Set argv for the main function
sys.argv = ['', r'C:\Users\antoi\Atomizer\projects\hydrotech-beam\models\Beam_sim1.sim', None, 'beam_half_core_thickness=25.162', 'beam_face_thickness=21.504', 'holes_diameter=300.0', 'hole_count=10.0'] # Set argv for the main function
"""
NX Journal Script to Solve Simulation in Batch Mode

View File

@@ -145,7 +145,7 @@ class AtomizerNXSolver:
def __init__(
self,
model_dir: str | Path = ".",
nx_version: str = "2412",
nx_version: str = "2512",
timeout: int = 600,
use_iteration_folders: bool = False, # Disabled: copied NX files break internal references
):