Temporarily tick the option "Connect/Run Python Code Objects when Mechanical is Launched" under Options -> Mechanical (Revert this after the parameter study) Insert a new Python code script into Ansys ...
The ansys-scade-python-wrapper package supports only the versions of Python delivered with Ansys SCADE, starting from 2021 R2: 2021 R2 through 2023 R1: Python 3.7 2023 R2 through 2025 R2: Python 3.10 ...