get_object_material_properties#
- TwinBuilder.get_object_material_properties(assignment: list = None, prop_names: str | list = None) dict#
Retrieve the material properties for a list of objects and return them in a dictionary.
This high-level function ignores objects with no defined material properties.
- Parameters:
- Returns:
dictDictionary of objects with material properties.
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.get_object_material_properties(assignment=["Box1"], prop_names="permittivity")