I am trying to write a Python script to set the required stiffness for each component, however I am struggling to set the values. I have the component that I want to set: objComponent and the property that I want to set is cp (cp=35 pcpDesignA11), with a value of vA11.objComponent.PanelProperty(cp) only returns the current value and there does not seem to be a way to set it from Python?

In all languages except VB6 (and perhaps VB.NET) properties do not have arguments - you just get and set the data directly with a single value (as illustrated in the Python code).

In our API, which is built using VB6, we have some properties with arguments. Because Python does not support this, Python uses a workaround. The getter is treated as a method foo = component.PanelProperty(cp). The setter is also treated as a method. The setter method name has "Set" prepended and the incoming value is passed explicitly as method argument. This magic is not visible in the Object Browser because it is specific to Python (more specifically the pywin32 library).