Source code for abaqus.Odb.OdbSession

from .Odb import Odb
from .ScratchOdb import ScratchOdb
from ..Session.SessionBase import SessionBase


[docs]class OdbSession(SessionBase):
[docs] def ScratchOdb(self, odb: Odb) -> ScratchOdb: """This method creates a new ScratchOdb object. Notes ----- This function can be accessed by: .. code-block:: python session.ScratchOdb Parameters ---------- odb An Odb object specifying the output database with which to associate. Returns ------- A ScratchOdb object. """ self.scratchOdbs['odb'] = scratchOdb = ScratchOdb(odb) return scratchOdb