Source code for abaqus.Material.MaterialOdb
from .Material import Material
from ..Odb.OdbBase import OdbBase
[docs]class MaterialOdb(OdbBase):
"""The Odb object is the in-memory representation of an output database (ODB) file.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name]
"""
[docs] def Material(self, name: str, description: str = '', materialIdentifier: str = ''):
"""This method creates a Material object.
Notes
-----
This function can be accessed by:
.. code-block:: python
session.odbs[name].Material
Parameters
----------
name
A String specifying the name of the new material.
description
A String specifying user description of the material. The default value is an empty
string.
materialIdentifier
A String specifying material identifier for customer use. The default value is an empty
string.
Returns
-------
A Material object.
"""
self.materials[name] = material = Material(name, description, materialIdentifier)
return material