The OdbAssembly object has no constructor; it is created automatically when an Odb object is created. Abaqus creates the rootAssembly member when an Odb object is created.
import odbAccess session.odbs[name].rootAssembly
This method assigns a connector orientation to a connector region.
Required argument
An OdbSet specifying a region.
Optional arguments
An OdbDatumCsys object specifying the first connector node local coordinate system or None, indicating the global coordinate system.
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the first connector node is applied. 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 about the first connector node axis. The default value is 0.0.
A Boolean specifying whether the same orientation settings should be used for the second node of the connector. The default value is OFF.
An OdbDatumCsys object specifying the second connector node local coordinate system or None, indicating the global coordinate system.
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the second connector node is applied. 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 about the second connector node axis. The default value is 0.0.
Return value
Exceptions
If region is not an element set:
This method is used to assign a section to a region on an instance. Only connector sections can be assigned at the assembly level.
Required arguments
An OdbSet specifying a region.
A Section object.
Optional arguments
Return value
Exceptions
If region is not an element set:
This method is used to define elements using nodes defined at the OdbAssembly and/or OdbInstance level. For connector elements connected to ground, specify the lone node in the connectivity. The position of the ground node cannot be specified. This is a limitation.
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 sequence of Strings specifying the instanceNames of each node in the nodal connectivity array. If the node is defined at the assembly level, the instance name should be an empty string
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
Only certain element types are permitted at the assembly level. e.g., connector elements.
If length of label array does not match connectivity data length:
This method adds nodes to the OdbAssembly 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
If length of labels does not match length of coordinates:
If width of coordinate array does not match assembly dimension:
This method defines an OdbRigidBody on the assembly.
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 OdbAssembly object can have the following members:
A repository of OdbInstance objects.
A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
An OdbMeshNodeArray object.
An OdbMeshElementArray object.
A repository of OdbDatumCsys objects.
A SectionAssignmentArray object.
An OdbRigidBodyArray object.
An OdbPretensionSectionArray object.
A ConnectorOrientationArray object.