FemMaterialParams
Parameters for creating or updating an FEM material.
Import
import ScriptingApi as api
# Create parameter instance
params = api.FemMaterialParams()
Properties
name
Material name. Must be unique within the model.
Type: str
model
Material model type. Use api.FEMMaterialModel()
Type: FemMaterialModel
density
Material density in kg/m³. Default: 7850.0 (steel).
Type: float
color
Display color [R, G, B, A] with values 0.0-1.0.
Type: list
mechanical
Mechanical properties. Use api.FemMechanicalProperties()
Type: FemMechanicalProperties
thermal
Thermal properties. Use api.FemThermalProperties()
Type: FemThermalProperties
gray_value_min
Minimum grayscale value for material mapping (0-255 or HU).
Type: float
gray_value_max
Maximum grayscale value for material mapping (0-255 or HU).
Type: float
uses_gray_value_mapping
Whether this material uses grayscale-to-property mapping.
Type: bool