from ..Calibration.Calibration import Calibration
from ..Model.ModelBase import ModelBase


class CalibrationModel(ModelBase):
    """Abaqus creates a Model object named `Model-1` when a session is started.

    Notes
    -----
    This object can be accessed by:

    .. code-block:: python

        mdb.models[name]

    """

    def Calibration(self, name: str) -> Calibration:
        """This method creates a Calibration object.

        Notes
        -----
            This function can be accessed by:
            
            .. code-block:: python
            
                mdb.models[name].Calibration
        
        Parameters
        ----------
        name
            A String specifying the name of the new calibration.

        Returns
        -------
            A Calibration object.
        """
        self.calibrations[name] = calibration = Calibration(name)
        return calibration

from ..Calibration.Calibration import Calibration
from ..Model.ModelBase import ModelBase


class CalibrationModel(ModelBase):
    """Abaqus creates a Model object named `Model-1` when a session is started.

    Notes
    -----
    This object can be accessed by:

    .. code-block:: python

        mdb.models[name]

    """

    def Calibration(self, name: str) -> Calibration:
        """This method creates a Calibration object.

        Notes
        -----
            This function can be accessed by:
            
            .. code-block:: python
            
                mdb.models[name].Calibration
        
        Parameters
        ----------
        name
            A String specifying the name of the new calibration.

        Returns
        -------
            A Calibration object.
        """
        self.calibrations[name] = calibration = Calibration(name)
        return calibration

Abaqus creates a Model object named `Model-1` when a session is started.      Notes     -----     This object can be accessed by:      .. code-block:: python          mdb.models[name] This method creates a Calibration object.          Notes         -----             This function can be accessed by:                          .. code-block:: python                              mdb.models[name].Calibration                  Parameters         ----------         name             A String specifying the name of the new calibration.          Returns         -------             A Calibration object.