The OdbDatumCsys object contains a coordinate system that can be stored in an output database. You can create the datum coordinate system in the Visualization module during an Abaqus/CAE session and save the datum coordinate system to the output database before you exit Abaqus/CAE. Alternatively, the analysis code can write the datum coordinate system to the output database.
odb.rootAssembly().datumCsyses()[name]
This method creates an OdbDatumCsys object using three points. A datum coordinate system created with this method results in a fixed system.
odb.rootAssembly().DatumCsysByThreePoints
odb_DatumCsys& DatumCsysByThreePoints(const odb_String& name, odb_Enum::odb_DatumCsysTypeEnum coordSysType, const odb_SequenceFloat& origin, const odb_SequenceFloat& point1, const odb_SequenceFloat& point2);
Required arguments
An odb_String specifying the repository key.
An odb_Enum::odb_DatumCsysTypeEnum specifying the type of coordinate system. Possible values are odb_Enum::CARTESIAN, odb_Enum::CYLINDRICAL, and odb_Enum::SPHERICAL.
An odb_SequenceFloat specifying the coordinates of the origin of the datum coordinate system.
An odb_SequenceFloat specifying the coordinates of a point on the local 1- or
-axis.
An odb_SequenceFloat specifying the coordinates of a point in the 1–2 or
–
plane.
Optional arguments
Return value
An OdbDatumCsys object.
Exceptions
This method creates an OdbDatumCsys object using the coordinates of three OdbMeshNode objects. A datum coordinate system created with this method results in a system that follows the position of the three nodes. Results, such as those for displacement, are resolved into the orientation of the datum coordinate system without regard to the position of its origin. The last three arguments are given in the form of an OdbMeshNode object.
odb.rootAssembly().DatumCsysByThreeNodes
odb_DatumCsys& DatumCsysByThreeNodes(const odb_String& name, odb_Enum::odb_DatumCsysTypeEnum coordSysType, const odb_Node& origin, const odb_Node& point1, const odb_Node& point2);
Required arguments
An odb_String specifying the repository key.
An odb_Enum::odb_DatumCsysTypeEnum specifying the type of coordinate system. Possible values are odb_Enum::CARTESIAN, odb_Enum::CYLINDRICAL, and odb_Enum::SPHERICAL.
An OdbMeshNode object specifying a node at the origin of the datum coordinate system.
An OdbMeshNode object specifying a node on the local 1- or
-axis.
An OdbMeshNode object specifying a node in the 1–2 or
–
plane.
Optional arguments
Return value
An OdbDatumCsys object.
Exceptions
This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
odb.rootAssembly().DatumCsys
odb_DatumCsys& DatumCsys(const odb_String& name, const odb_DatumCsys& datumCsys);
Required arguments
An odb_String specifying the repository key.
An OdbDatumCsys object specifying the object to be copied.
Optional arguments
Return value
An OdbDatumCsys object.
Exceptions
The OdbDatumCsys object has the following members:
odb_String name() const; odb_Enum::odb_DatumCsysTypeEnum coordSysType() const; const float* origin() const; float origin(int index) const; const float* xAxis() const; float xAxis(int index) const; const float* yAxis() const; float yAxis(int index) const; const float* zAxis() const; float zAxis(int index) const;
An odb_String specifying the repository key.
An odb_Enum::odb_DatumCsysTypeEnum specifying the type of coordinate system. Possible values are odb_Enum::CARTESIAN, odb_Enum::CYLINDRICAL, and odb_Enum::SPHERICAL.
An odb_SequenceFloat specifying the coordinates of the origin of the datum coordinate system.
An odb_SequenceFloat specifying a point on the X-axis.
An odb_SequenceFloat specifying a point on the Y-axis.
An odb_SequenceFloat specifying a point on the Z-axis.