- Add validation framework (config, model, results, study validators) - Add Claude Code skills (create-study, run-optimization, generate-report, troubleshoot, analyze-model) - Add Atomizer Dashboard (React frontend + FastAPI backend) - Reorganize docs into structured directories (00-09) - Add neural surrogate modules and training infrastructure - Add multi-objective optimization support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Quick Configuration Reference
Change NX Version (e.g., when NX 2506 is released)
Edit ONE file: config.py
# Line 14-15
NX_VERSION = "2506" # ← Change this
NX_INSTALLATION_DIR = Path(f"C:/Program Files/Siemens/NX{NX_VERSION}")
That's it! All modules automatically use new paths.
Change Python Environment
Edit ONE file: config.py
# Line 49
PYTHON_ENV_NAME = "my_new_env" # ← Change this
Verify Configuration
python config.py
Output shows all paths and validates they exist.
Using Config in Your Code
from config import (
NX_RUN_JOURNAL, # Path to run_journal.exe
NX_MATERIAL_LIBRARY, # Path to material library XML
PYTHON_ENV_NAME, # Current environment name
get_nx_journal_command, # Helper function
)
# Generate journal command
cmd = get_nx_journal_command(
journal_script,
arg1,
arg2
)
What Changed?
OLD (hardcoded paths in multiple files):
optimization_engine/nx_updater.py: Line 66dashboard/api/app.py: Line 598README.md: Line 92docs/NXOPEN_INTELLISENSE_SETUP.md: Line 269- ...and more
NEW (all use config.py):
- Edit
config.pyonce - All files automatically updated
Files Using Config
- ✅
optimization_engine/nx_updater.py - ✅
dashboard/api/app.py - Future: All NX-related modules will use config
See also: SYSTEM_CONFIGURATION.md for full documentation