Running SOFiSTiK Calculations from Python

I have a general question regarding the CDB interface to Python:
After connecting to the CDB, is it possible to run the SOFiSTiK Calculations module directly from Python?

try somethink like this:

import sys, subprocess
sys.path.append('C:/Program Files/SOFiSTiK/2022/SOFiSTiK 2022')
file_path = <path to .dat file with valid sofistik input>

then

subprocess.run(f'sps "{file_path}"')

or

subprocess.run(f'wps -b "{file_path}"')
1 Like

Thank you so much for your response.
It works! :slight_smile: