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.
import odbAccess session.odbs[name].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.
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Required arguments
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.
A sequence of Floats specifying the coordinates of the origin of the datum coordinate system.
A sequence of Floats specifying the coordinates of a point on the local 1- or -axis.
A sequence of Floats 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.
session.odbs[name].rootAssembly.DatumCsysByThreeNodes
Required arguments
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and 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 is convenient to use where there are no nodes along the axis of a hollow cylinder or at the center of a hollow sphere. The three nodes that you provide as arguments determine a circle in space. The center of the circle is the origin of the datum coordinate system. The normal to the circle is parallel to the -axis of a cylindrical coordinate system or to the -axis of a spherical coordinate system. The line from the origin to the first node defines the -axis.
session.odbs[name].rootAssembly.DatumCsysByThreeCircNodes
Required arguments
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.
An OdbMeshNode object that lies on the circular arc.
An OdbMeshNode object that lies on the circular arc.
An OdbMeshNode object that lies on the circular arc.
Optional arguments
Return value
An OdbDatumCsys object.
Exceptions
A datum coordinate system created with this method results in a system that follows the position of a node. The node location defines the origin of the datum coordinate system. The rotational displacement (UR1, UR2, UR3) of the node defines the orientation of the coordinate system axes. 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 argument is given in the form of an OdbMeshNode object.
session.odbs[name].rootAssembly.DatumCsysBy6dofNode
Required arguments
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.
An OdbMeshNode object specifying the origin of the datum coordinate system.
Optional arguments
Return value
An OdbDatumCsys object.
Exceptions
This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
session.odbs[name].rootAssembly.DatumCsys
Required arguments
A 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:
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.
A tuple of Floats specifying the coordinates of the origin of the datum coordinate system.
A tuple of Floats specifying a point on the X-axis.
A tuple of Floats specifying a point on the Y-axis.
A tuple of Floats specifying a point on the Z-axis.