create_material
Create a material set in PLAXIS 2D, optionally supplying properties for immediate use. Omit properties to create a placeholder. Identification renames the material for later reference.
Instructions
Create a material set.
Omit properties to create a placeholder material that cannot be used to calculate until edited; provide a property/value map (matching PLAXIS's own property names, e.g. "SoilModel", "gammaUnsat") to create a usable material in one call. Property names are checked against the names PLAXIS 2D V22 exposes for that kind and are case-sensitive.
"Identification" renames the material: after create_material(kind="soil", properties={"Identification": "SZ"}), the object's path is "SZ", and that is what every later call -- assign_material included -- must use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||