assignmaterial_from_sherlock_files#
- Q2d.assignmaterial_from_sherlock_files(component_file: str, material_file: str) bool#
Assign material to objects in a design based on a CSV file obtained from Sherlock.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.AssignMaterial
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.assignmaterial_from_sherlock_files("components.csv", "materials.csv")