Material#
- class pyedb.libraries.common.Material(pedb, name)#
Generic material definition.
When the material name is set, the object automatically registers itself in the provided PyEDB material database if the name is not already present.
- Parameters:
- pedb
ansys.edb.core.database.Database Active EDB session.
- name
str Material name (e.g.
"Copper").
- pedb
Examples
>>> m = Material(edb, "MyMaterial") >>> m.name 'MyMaterial' >>> edb.materials["MyMaterial"] # now exists in the database
Overview#
Material name. |
Import detail#
from pyedb.libraries.common import Material