Dear Aleksandr,
If you are asking how to change the parameters of a Physical Property already created in the work Tree through your Python API here is a small example script.
If you already created an instance of a material, let's lay Concrete 02, you can define a function that will have the id of the property as an argument, plus all the attributes you wish to modify:
def
makeConcrete02 (id,fpc,epsc0,fpcu,epsU,unload,ft,Ets):
p = doc.getPhysicalProperty(id)
p.XObject.getAttribute('fpc').quantityScalar.value = fpc
p.XObject.getAttribute('epsc0').real = epsc0
p.XObject.getAttribute('fpcu').quantityScalar.value = fpcu
p.XObject.getAttribute('epsU').real = epsU
p.XObject.getAttribute('lambda').real = unload
p.XObject.getAttribute('ft').quantityScalar.value = ft
p.XObject.getAttribute('Ets').quantityScalar.value = Ets
p.commitXObjectChanges()
Then you can define the appropriate input parameters, for example:
fpc = -35.0*MPa
epsc0 = -0.002
fpcu = 0.2*fpc
epsU = -0.01
unload = 0.1
ft = -0.14*fpc
Ets = ft/abs(epsc0)
And use your function.
makeConcrete02(1,fpc,epsc0,fpcu,epsU,unload,ft,Ets)
For DamageTC3D you can do the same. As you may have noticed different attributes have different types. To check the type of a specific attribute you can go into this folder on your computer:
C:\Program Files\STKO\external_solvers\opensees
And search for the python file related to the XObject of interest. For example, as you see in the image below, the young modulus is a quantityScalar, while the Compressive law shape parameters are QuantityScalar.

- 4.png (170.76 KiB) Viewed 7592 times
With this you can access the properties, the parametrization is a further step, I am sure Dr. Petracca can help you with that.
Let us know how it goes and enjoy your programming!
Francesca