Datum

Datum commands return Feature objects and inherit the methods of Feature objects. For more details, see Feature commands. Datums can be created using methods on a Part or Assembly object.

Each command also creates a Datum object in the corresponding datum repository. The Datum object is used as an argument to other commands, such as Part and Partition commands.

Other Classes

class Datum[source]

Bases: object

The Datum object is the abstract base type for other Datum objects. The Datum object has no explicit constructor. The methods and members of the Datum object are common to all objects derived from the Datum.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]
mdb.models[name].rootAssembly.modelInstances[i].datums[i]

Member Details:

class DatumAxis[source]

Bases: Datum

The DatumAxis object has no direct constructor; it is created when a Feature object is created. For example, the DatumAxisByCylFace method creates a Feature object that creates a DatumAxis object. The DatumAxis object is derived from the Datum object.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

direction : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[source]

A tuple of Floats specifying a sequence of three Floats specifying the direction of the axis.

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[source]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.

class DatumCsys[source]

Bases: Datum

The DatumCsys object has no direct constructor; it is created when a Feature object is created. For example, the DatumCsysByOffset method creates a Feature object that creates a DatumCsys object. The DatumCsys object is derived from the Datum object.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.connectorOrientations[i].localCsys1
mdb.models[name].rootAssembly.connectorOrientations[i].localCsys2
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]
import odbAccess
session.odbs[name].rootAssembly.connectorOrientations[i].localCsys1
session.odbs[name].rootAssembly.connectorOrientations[i].localCsys2

Member Details:

axis1 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[source]

A DatumAxis object specifying the 1-direction of the coordinate system.

axis2 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[source]

A DatumAxis object specifying the 2-direction of the coordinate system.

axis3 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[source]

A DatumAxis object specifying the 3-direction of the coordinate system.

coordSysType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[source]

A SymbolicConstant specifying the type of the coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

globalToLocal(coordinates)[source]

This method transforms specified coordinates in the global coordinate system into this local coordinate system.

Added in version 2022: The globalToLocal method was added.

Parameters:
coordinates

A tuple of three Floats representing the coordinates in the global coordinate system.

Returns:

A tuple of three Floats representing the coordinates in this local coordinate system.

Return type:

tuple[float, float, float]

localToGlobal(coordinates)[source]

This method transforms specified coordinates in this local coordinate system into the global coordinate system.

Added in version 2022: The localToGlobal method was added.

Parameters:
coordinates

A tuple of three Floats representing the coordinates in the local coordinate system.

Returns:

A tuple of three Floats representing the coordinates in this global coordinate system.

Return type:

tuple[float, float, float]

origin : --is-rst--:py:class:`~abaqus.Datum.DatumPoint.DatumPoint` = <abaqus.Datum.DatumPoint.DatumPoint object>[source]

A DatumPoint object specifying the origin of the coordinate system.

class DatumPoint[source]

Bases: Datum

The DatumPoint object has no direct constructor; it is created when a Feature object is created. For example, the DatumPointByCoordinate method creates a Feature object that creates a DatumPoint object. The DatumPoint object is derived from the Datum object.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[source]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.

class DatumPlane[source]

Bases: Datum

The DatumPlane object has no direct constructor; it is created when a Feature object is created. For example, the DatumPlaneByPrincipalPlane method creates a Feature object that creates a DatumPlane object. The DatumPlane object is derived from the Datum object.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

normal : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[source]

A tuple of Floats specifying a sequence of three Floats specifying the normal.

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[source]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.