
TheOdb object is the in-memory representation of an output database (ODB) file.
odb

This method creates a newOdb object.
Odb
odb_Odb&
Odb(const odb_String& name,
const odb_String& analysisTitle,
const odb_String& description,
const odb_String& path);Required argument
An odb_String specifying the repository key.
Optional arguments
An odb_String specifying the title of the output database. The default value is an empty string.
An odb_String specifying the description of the output database. The default value is an empty string.
An odb_String specifying the path to the file where the new output database (.odb ) file will be written. The default value is an empty string.
Return value
An Odb object.
Exceptions

This method closes an output database.
void close();
Arguments
Return value
Exceptions

This method returns the frame at the specified time, frequency, or mode. It will not interpolate values between frames. The method is not applicable to anOdb object containing steps with different domains or to anOdb object containing a step with load case specific data.
odb_Frame
getFrame(double frameValue,
odb_Enum::odb_MatchEnum match);Required argument
A Double specifying the value at which the frame is required.frameValue can be the total time or frequency.
Optional argument
An odb_Enum::odb_MatchEnum specifying which frame to return if there is no frame at the exact frame value. Possible values areodb_Enum::CLOSEST ,odb_Enum::BEFORE ,odb_Enum::AFTER , andodb_Enum::EXACT . The default value isodb_Enum::CLOSEST .
Whenmatch =odb_Enum::CLOSEST , Abaqus returns the closest frame. If the frame value requested is exactly halfway between two frames, Abaqus returns the frame after the value.
Whenmatch =odb_Enum::EXACT , Abaqus raises an exception if the exact frame value does not exist.
Return value
AnOdbFrame object.
Exceptions
If the exact frame is not found:

This method saves output to an output database (.odb ) file.
void save();
Arguments
Return value
Exceptions
OdbError

This method is used to update anOdb object in memory while an Abaqus analysis writes data to the associated output database.update checks if additional steps and frames have been written to the output database since it was opened or last updated. If additional steps and frames have been written to the output database,update adds them to theOdb object.
bool update();
Arguments
Return value
A Boolean specifying whether additional steps or frames were added to theOdb object.
Exceptions

This method checks whether or not a validSectorDefinition object, indicating a cyclic symmetry model, is present.
bool hasSectorDefinition();
Arguments
Return value
A Boolean specifying whether a valid sector definition is available.
Exceptions

The Odb object has members with the same names and descriptions as the arguments to the Odb method.
In addition, the Odb object can have the following members:
odb_String name() const;
odb_String analysisTitle() const;
odb_String description() const;
odb_String path() const;
bool isReadOnly() const;
odb_Assembly& rootAssembly();
odb_JobData jobData() const;
odb_PartRepository& parts();
odb_StepRepository& steps();
odb_SectionCategoryRepository& sectionCategories();
odb_SectorDefinition& sectorDefinition();
odb_InteractionRepository& interactions();
odb_InteractionPropertyRepository& interactionProperties();
odb_ConstraintRepository& constraints();A Boolean specifying whether the output database was opened with read-only access.
An OdbAssembly object.
A JobData object.
A repository of OdbPart objects.
A repository of OdbStep objects.
A repository of SectionCategory objects.
A SectorDefinition object.
A UserData object.