CST - External python API - Change project parameter value

Hi, I am trying to use the python API to control an existing model, however I am struggling to find a way to change the value of a parameter. For example, a microstrip line has a parameter, "line_length" that controls the length of the line. I would like to be able to change this parameter in an external python script. Implementation would be along the following lines:

 

 

cst_directory = r
sys.path.append(cst_directory)
import cst

environment = cst.interface.DesignEnvironment.connect_to_any_or_new()
cst_file_path = r
project = environment.open_project(cst_file_path)

# Code up to this point works fine I can inspect the project object and it's sub-classes.

 

I can confirm the existance of a parameter via the following line which outputs "True" if it exists:

project.model3d.DoesParameterExist()

 

However, looking through the variables of model3d, it doesn't look like there is any such function that would operate in the following way: 

project.model3d.change_parameter_value(, )

 

Is there a way to achieve this?

 

Thanks in advance.

CST Studio Suite