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]
Note
Check Datum on help.3ds.com/0.1..
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]
Note
Public Data Attributes:
A tuple of Floats specifying the X-, Y-, and Z-coordinates of a point located on the datum.
A tuple of Floats specifying a sequence of three Floats specifying the direction of the axis.
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
Note
Public Data Attributes:
A SymbolicConstant specifying the type of the coordinate system.
A
DatumPointobject specifying the origin of the coordinate system.A
DatumAxisobject specifying the 1-direction of the coordinate system.A
DatumAxisobject specifying the 2-direction of the coordinate system.A
DatumAxisobject 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
DatumAxisobject specifying the 1-direction of the coordinate system.
- axis2: DatumAxis = <abaqus.Datum.DatumAxis.DatumAxis object>[source]#
A
DatumAxisobject specifying the 2-direction of the coordinate system.
- axis3: DatumAxis = <abaqus.Datum.DatumAxis.DatumAxis object>[source]#
A
DatumAxisobject 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.
Note
- 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.
Note
- origin: DatumPoint = <abaqus.Datum.DatumPoint.DatumPoint object>[source]#
A
DatumPointobject 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]
Note
Public Data Attributes:
A tuple of Floats specifying the X-, Y-, and Z-coordinates of a point located on the datum.
A tuple of Floats specifying a sequence of three Floats specifying the normal.
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]
Note
Public Data Attributes:
A tuple of Floats specifying the X-, Y-, and Z-coordinates of a point located on the datum.