set_property#

MaterialDef.set_property(material_property, value, component_id=None, col=None, row=None)#

Set a material property for a given component.

Parameters:
material_propertyMaterialProperty

ID of the material property.

valueValue

New value.

component_idint, default: None

ID of the component.

rowint, default: None

Tensor row.

colint, default: None

Tensor column.