The OdbPart object is similar to the kernel Part object and contains nodes and elements, but not geometry.
import odbAccess session.odbs[name].parts[name]
This method creates an OdbPart object. Nodes and elements are added to this object at a later stage.
session.odbs[name].Part
Required arguments
A String specifying the part name.
A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, and AXISYMMETRIC.
A SymbolicConstant specifying the type of the Part object. Possible values are DEFORMABLE_BODY and ANALYTIC_RIGID_SURFACE.
Optional arguments
Return value
An OdbPart object.
Exceptions
This method adds elements to an OdbPart object using element labels and nodal connectivity.
Warning: Adding elements not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Required arguments
A sequence of Ints specifying the element labels.
A sequence of sequences of Ints specifying the nodal connectivity.
A String specifying the element type.
Optional arguments
A String specifying a name for this element set. The default value is the empty string.
A SectionCategory object for this element set.
Return value
Exceptions
This method adds elements to an OdbPart object using a sequence of element labels and nodal connectivity.
Warning: Adding elements not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Required arguments
A sequence of sequences of Ints specifying the element labels and nodal connectivity, in the form ((label, c1, c2, c3, c4), (label, c1, c2, c3, c4), ...).
A String specifying the element type. The value can be user defined.
Optional arguments
A String specifying a name for this element set. The default value is None.
A SectionCategory object for this element set.
Return value
Exceptions
This method adds nodes to an OdbPart object using node labels and coordinates.
Warning: Adding nodes not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Required arguments
A sequence of Ints specifying the node labels.
A sequence of sequences of Floats specifying the nodal coordinates.
Optional argument
A String specifying a name for this node set. The default value is None.
Return value
Exceptions
This method adds nodes to an OdbPart object using a sequence of node labels and coordinates.
Warning: Adding nodes not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Required argument
A sequence of tuples specifying the node labels and coordinates, in the form ((label, x, y, z), (label, x, y, z), ...).
Optional argument
A String specifying a name for this node set. The default value is None.
Return value
Exceptions
This method assigns a beam section orientation to a region of a part instance.
Required arguments
An OdbSet specifying a region on an instance.
A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.
A sequence of three Floats specifying the approximate local -direction of the beam cross-section.
Optional arguments
Return value
Exceptions
This method assigns a material orientation to a region of a part instance.
Required arguments
An OdbSet specifying a region on an instance.
An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.
Optional arguments
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
A SymbolicConstant specifying the stack or thickness direction of the material. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
Return value
Exceptions
This method assigns a rebar reference orientation to a region of a part instance.
Required arguments
An OdbSet specifying a region on an instance.
An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.
Optional arguments
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
Return value
Exceptions
This method is used to retrieved an element with a specific label from a part object.
Required argument
An Int specifying the element label.
Optional arguments
Return value
An OdbMeshElement object.
Exceptions
If no element with the specified label exists:
This method is used to retrieved a node with a specific label from a part object.
Required argument
An Int specifying the node label.
Optional arguments
Return value
An OdbMeshNode object.
Exceptions
If no node with the specified label exists:
This method is used to define a two-dimensional AnalyticSurface object on the part object.
Required arguments
The name of the analytic surface.
A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.
Optional argument
A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
Return value
Exceptions
If OdbPart is of type THREE_D:
This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.
Required arguments
The name of the analytic surface.
A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.
Optional argument
A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
Return value
Exceptions
If OdbPart is not of type THREE_D:
This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.
Required arguments
The name of the analytic surface.
A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.
Optional argument
A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
Return value
Exceptions
If OdbPart is not of type THREE_D:
This method defines an OdbRigidBody on the part object.
Required argument
An OdbSet specifying the reference node assigned to the rigid body.
Optional arguments
A symbolic constant specify if the location of the reference node is to be defined by the user. Possible values are INPUT and CENTER_OF_MASS. The default value is INPUT.
A Boolean specifying an isothermal rigid body. The default value is OFF. This parameter is used only for a fully-coupled thermal stress analysis.
An OdbSet specifying an element set assigned to the rigid body.
An OdbSet specifying pin-type nodes assigned to the rigid body.
An OdbSet specifying tie-type nodes assigned to the rigid body.
Return value
Exceptions
If referenceNode is not a node set:
The OdbPart object has members with the same names and descriptions as the arguments to the Part method.
In addition, the OdbPart object can have the following members:
An OdbMeshNodeArray object.
An OdbMeshElementArray object.
A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
A SectionAssignmentArray object.
A BeamOrientationArray object.
A MaterialOrientationArray object.
A RebarOrientationArray object.
An OdbRigidBodyArray object.
An AnalyticSurface object specifying analytic Surface defined on the instance.