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.

Object features#

Datum#

class Datum[source]#

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]

DatumAxis#

class DatumAxis[source]#

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]

Public Data Attributes:

pointOn

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

direction

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


direction: tuple = ()[source]#

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

pointOn: Optional[float] = None[source]#

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

DatumCsys#

class DatumCsys[source]#

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

Public Data Attributes:

coordSysType

A SymbolicConstant specifying the type of the coordinate system.

origin

A DatumPoint object specifying the origin of the coordinate system.

axis1

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

axis2

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

axis3

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

Public Methods:

globalToLocal(coordinates)

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

localToGlobal(coordinates)

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


axis1: DatumAxis = <abaqus.Datum.DatumAxis.DatumAxis object>[source]#

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

axis2: DatumAxis = <abaqus.Datum.DatumAxis.DatumAxis object>[source]#

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

axis3: DatumAxis = <abaqus.Datum.DatumAxis.DatumAxis object>[source]#

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

coordSysType: Optional[SymbolicConstant] = None[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.

New in version 2022: The globalToLocal method was added.

Parameters:

coordinates (Tuple[float, float, float]) – 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.

New in version 2022: The localToGlobal method was added.

Parameters:

coordinates (Tuple[float, float, float]) – 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: DatumPoint = <abaqus.Datum.DatumPoint.DatumPoint object>[source]#

A DatumPoint object specifying the origin of the coordinate system.

DatumPlane#

class DatumPlane[source]#

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]

Public Data Attributes:

pointOn

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

normal

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


normal: tuple = ()[source]#

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

pointOn: Optional[float] = None[source]#

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

DatumPoint#

class DatumPoint[source]#

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]

Public Data Attributes:

pointOn

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


pointOn: Optional[float] = None[source]#

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