assign_surface_material#
- Icepak.assign_surface_material(obj: str | list, mat: str) bool#
Assign a surface material to one or more objects.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.ChangeProperty
Examples
>>> from ansys.aedt.core.icepak import Icepak >>> obj = Icepak() >>> obj.assign_surface_material("HeatSink", "Steel-oxidised-surface")