Set_youngs_modulus of deformable object in multi environment

Hi,
I tried to set the youngs of the deformable object on the specific env by using et_youngs_modulus(data, indices). Still, I got the error that Incompatible size of YoungsModulus tensor in function setYoungsModulus: expected total size 3, received total size 1 with shape (1). In this case, I wonder whether I can not set the physical parameter of the physical material of the deformable object for a specific environment. Thank you!