update_element_material
Change the material assignment for structural elements by specifying element IDs and a material ID. Supports single IDs, lists, or range strings like '1to50' for batch updates.
Instructions
Change the material of one or more elements (修改单元材料).
Args:
ids: Element ID(s). Supports int, list, or range string '1to50'.
(单元编号,支持整数、列表或范围字符串)
mat_id: New material ID (新材料编号,使用 get_materials 查询有效编号)
Example:
update_element_material("1to20", mat_id=2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| mat_id | Yes |