Geometry Parameter Modification Using Scripting

Hello everyone,

I have a parameterized 2D .prt model that I import into Ansys Workbench. I enter the parameter key, and when I open Ansys Mechanical, the geometry parameters with the appropriate key are usually detected. This allows me to modify the geometry and conduct Design of Experiments.
However, for my project, I need to be able to automate the whole process through scripting. I am able to import the geometry and conduct the simulation by utilizing PyMechanical to run scripts written on my IDE on Ansys Mechanical using "mechanical.run_python_script(script)".
unfortunately, I am not able to enable the importation of Parameters, specify Parameter Keys, or select any Parameters in my geometry using scripting.
I use the code:
GEOM = ExtAPI.DataModel.Project.Model.Geometry
When I write “GEOM.Parameters”, I get the current state of Paramteres in the Geometry Options. I am however unable to change it through scripting or insert the Parameter keys through “GEOM.ParameterKey”.
The resources available for PyMechanical were not helpful in this matter.
Does anyone know how I can utilize the parameters in my geometry and conduct my simulation through scripting?

Thanks in advance