FemPartParams
Parameters for creating or updating an FEM part.
Import
import ScriptingApi as api
# Create parameter instance
params = api.FemPartParams()
Properties
name
Part name. Must be unique within the model.
Type: str
material_name
Name of the material assigned to this part (empty = none).
Type: str
section_type
Section type. Use api.FEMSectionType()
Type: FemSectionType
description
Part description.
Type: str
display_color
Display color [R, G, B, A] with values 0.0-1.0.
Type: list
solid_section
Solid section properties (used when sectionType is Solid). Use api.FemSolidSectionParams()
Type: FemSolidSectionParams
shell_section
Shell section properties (used when sectionType is Shell). Use api.FemShellSectionParams()
Type: FemShellSectionParams