The OdbDisplay object stores the context of an output database for a viewport. The OdbDisplay object has no constructor. Abaqus creates the defaultOdbDisplay member when you import the Visualization module. Abaqus creates the odbDisplay member when a viewport is created, using the attributes from the previous active viewport. The previous active viewport contains the attributes from the defaultOdbDisplay object for the session. The attributes from the defaultOdbDisplay object are copied from the previous active viewport to create the new viewport.
OdbDisplay objects are accessed in one of two ways:
The default output database display options. These settings are used as defaults when other odbDisplay members are created and can be set to customize user preferences.
The output database display options associated with a particular viewport.
session.viewports[name].layers[name].odbDisplay import visualization session.viewports[name].odbDisplay
This method specifies a new position for the camera. It is available only when movieMode=ON (in the View object). The new camera position is the origin of the coordinate system specified by the cameraCsysName member of the BasicOptions object.
Arguments
Return value
Exceptions
This method specifies the field output variable or FieldOutput object to be used when displaying the deformed shape of the model.
Required arguments
One of the following two mutually exclusive arguments must be provided:
A String specifying the field output variable.
A String specifying the FieldOutput object.
Optional arguments
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies the step and frame for the OdbDisplay object.
Required arguments
An Int specifying the step index. Possible values are 0 step (numSteps – 1).
An Int specifying the frame in the specified step. Valid values are 0 frame (numFramesInStep – 1). If frame (numFramesInStep – 1) the last frame will be displayed.
Optional arguments
Return value
Exceptions
If the viewport is not associated with any Odb object:
If the Odb object does not contain valid step data:
If an invalid step index is passed in as argument:
This method specifies the frame for the OdbDisplay object.
Required argument
An OdbFrame object.
Optional arguments
Return value
Exceptions
This method specifies the field output variable for which to obtain results.
Required arguments
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
A SymbolicConstant specifying the position from which to obtain data. Possible values are NODAL, INTEGRATION_POINT, ELEMENT_FACE, ELEMENT_NODAL, ELEMENT_CENTROID, WHOLE_ELEMENT, WHOLE_REGION, WHOLE_PART_INSTANCE, WHOLE_MODEL, and GENERAL_PARTICLE. Data can be obtained only from the position at which they were written to the output database during the analysis.
Optional arguments
A sequence of a SymbolicConstant and a String. Possible values for the SymbolicConstant are INVARIANT and COMPONENT. The String specifies an available component or invariant for the specified variableLabel. This argument is required only if a refinement is available for the specified variableLabel.
A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:
sectionPoint={'shell < MAT > < 7 section points >':'SPOS, (fraction = 1.0)', 'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)', }
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies the section point for the current primary, symbol and status variables.
Required arguments
A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:
sectionPoint={'shell < MAT > < 7 section points >':'SPOS, (fraction = 1.0)', 'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)', }
A String specifying the active ply name.
Optional arguments
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies the field output variable for filtering element display based on a status criteria.
Required arguments
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
A SymbolicConstant specifying the position from which to obtain data. Possible values are NODAL, INTEGRATION_POINT, ELEMENT_FACE, ELEMENT_NODAL, ELEMENT_CENTROID, WHOLE_ELEMENT, WHOLE_REGION, WHOLE_PART_INSTANCE, WHOLE_MODEL, and GENERAL_PARTICLE. Data can be obtained only from the position at which they were written to the output database during the analysis.
Optional arguments
A sequence of a SymbolicConstant and a String. Possible values for the SymbolicConstant are INVARIANT and COMPONENT. The String specifies an available component or invariant for the specified variableLabel. This argument is required only if a refinement is available for the specified variableLabel.
A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:
sectionPoint={'shell < MAT > < 7 section points >':'SPOS, (fraction = 1.0)', 'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)', }
A Float specifying the minimum result value to be considered for element removal.
A Float specifying the maximum result value to be considered for element removal.
A Boolean utilized when both statusMinimum and statusMaximum are given. Elements will be removed when they contain values between the minimum and maximum, inclusive, when true. Elements will be removed when they contain values outside of the minimum and maximum, exclusive, when false.
A Boolean to specify if the status variable is to be active.
A Boolean to specify if the active status variable is to remove elements from undeformed plots. The default value is False.
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies the field output variable for which to obtain results used for symbol plots. This variable must be in the form of vector or tensor data. The output quantity can also be specified with this command to control the display of resultants, or components.
Required arguments
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
A SymbolicConstant specifying the position from which to obtain data. Possible values are NODAL, INTEGRATION_POINT, ELEMENT_FACE, ELEMENT_NODAL, ELEMENT_CENTROID, WHOLE_ELEMENT, WHOLE_REGION, WHOLE_PART_INSTANCE, WHOLE_MODEL, and GENERAL_PARTICLE. Data can be obtained only from the position at which they were written to the output database during the analysis.
Optional arguments
A sequence of a SymbolicConstant and a String. Possible values for the SymbolicConstant are INVARIANT and COMPONENT. The String specifies an available component or invariant for the specified variableLabel. This argument is required only if a refinement is available for the specified variableLabel.
A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:
sectionPoint={'shell < MAT > < 7 section points >':'SPOS, (fraction = 1.0)', 'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)', }
A SymbolicConstant specifying the tensor quantity to be displayed with the symbol. This value is set in the SymbolOptions object.
A SymbolicConstant specifying the vector quantity to be displayed with the symbol. This value is set in the SymbolOptions object.
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies the field output variable for which to obtain results used for stream plots. This variable must be in the form of nodal vector data.
Required argument
A String specifying the field output variable.
Optional arguments
Return value
Exceptions
If the viewport is not associated with any Odb object:
This method specifies member values for the OdbDisplay object.
Required arguments
Optional arguments
A List of DisplayGroup objects.
A Boolean specifying whether to display the cut. The default value is OFF.
A List of ViewCut objects.
Return value
Exceptions
The OdbDisplay object can have the following members:
A String specifying the name of the output database associated with the OdbDisplay object.
A tuple of Strings specifying field steps.
Each item in the sequence consists of a tuple that contains the following step information:
element0: A String specifying the step name.
element1: A String specifying the step description.
element2: A Float specifying the time value at the start of the step.
element3: A Float specifying the time period of the step.
element4: A Float specifying the user modified time period of the step.
element5: An Int specifying the domain type of the step. Possible values are:
0: Time domain
1: Frequency domain
2: Modal domain
3: Arc Length (Riks) domain
element6: A String specifying the default frame label.
element7: A sequence of strings specifying the frame labels for all available frames in the step.
element8: A sequence of floats specifying the frame values for all available frames in the step.
element9: A Int specifying whether the step is user defined. Possible values are 0 indicating the step is defined in the analysis and 1 indicating the step is user defined.
element10: A sequence of machine readable strings encoding the currently active frame numbers.
An OdbFieldVarList object.
An OdbModelFieldVarList object.
A repository of OdbSet objects specifying the set label. The repository is read-only.
A repository of OdbSet objects specifying the set label. The repository is read-only.
A repository of OdbSet objects specifying the set label. The repository is read-only.
A DisplayOptions object.
A ContourOptions object.
A CommonOptions object.
A SymbolOptions object.
A SuperimposeOptions object.
A DisplayBodyOptions object.
A FreeBodyOptions object.
A StreamOptions object.
A ViewCutOptions object.
A repository of ViewCut objects.
A DisplayGroup object specifying the current display group and referring to an object in the displayGroups member of Session.
A DisplayGroupInstanceRepository object.
A BasicOptions object.
An OrientationOptions object.
A tuple of Strings specifying the step label and the frame label when the current step is user defined. Alternatively, fieldFrame maybe specified as a pair of Ints with the step index and the frame index, when the current step is defined in the analysis.
A tuple specifying variables.
Each item in the sequence consists of a tuple containing the following elements:
Element 0: A String specifying the variable label.
Element 1: An Int specifying the output position. Possible integer values are:
0: UNDEFINED_POSITION
1: NODAL
2: INTEGRATION_POINT
3: ELEMENT_FACE
4: ELEMENT_NODAL
5: WHOLE_ELEMENT
6: ELEMENT_CENTROID
7: WHOLE_REGION
8: WHOLE_PART_INSTANCE
9: WHOLE_MODEL
10: GENERAL_PARTICLE
Element 2: An Int specifying the data type. Possible values are:
0: ENUMERATION
1: BOOLEAN
2: INTEGER
3: SCALAR
4: VECTOR
5: QUATERNION_2D
6: QUATERNION_3D
7: TENSOR
8: TENSOR_3D_FULL
9: TENSOR_3D_PLANAR
10: TENSOR_3D_SURFACE
11: TENSOR_2D_PLANAR
12: TENSOR_2D_SURFACE
Element 3: An Int specifying the storage type. Possible values are:
0: FLOAT
1: DOUBLE
2: INTEGER
3: BOOLEAN
Element 4: An Int specifying the refinement type. Possible values are:
0: NO_REFINEMENT
1: INVARIANT
2: COMPONENT
Element 5: A String specifying the refinement label.
Element 6: An Int specifying the refinement index.
Element 7: An Int specifying whether section point information is available. Possible values are 1 when section point information is available; 0, when this information is unavailable.
Element 8: A sequence of a String specifying the name of the ply and category selection tuples (see below) specifying the section point information.
A category selection tuple consists of the following elements:
Element 0: A String specifying the category label.
Element 1: An Int specifying whether to use both top and bottom section points to obtain results. Possible values are 1 to use both section points and 0 to use only the top section point.
Element 2: An Int specifying the top section point index.
Element 3: A String specifying the top section label.
Element 4: An Int specifying the bottom section point index.
Element 5: A String specifying the bottom section label.
Element 6: An Int specifying the category id.
Element 9: An Int specifying whether the data are complex. Possible values are 1 when the data are complex; 0, when the data is not complex.
Element 10: A Float specifying the minimum possible value for the data.
Element 11: A Float specifying the maximum possible value for the data.
Element 12: An Int specifying whether the data is derived. Possible values are 1 when the data is derived; 0, when the data is not derived.
A tuple specifying variables.
For information on the sequence, see the member primaryVariable.
A tuple of SymbolicConstants specifying variables.
For information on the sequence, see the member primaryVariable.
A tuple of SymbolicConstants specifying variables.
For information on the sequence, see the member primaryVariable.
A tuple of SymbolicConstants specifying a Boolean to specify if elements are to be removed in undeformed states based on an active status variable
A tuple of SymbolicConstants specifying a Boolean to specify if the status range should be inside a specified minimum and maximum. The range will be outside when false.
A tuple of Floats specifying a Float value for the minimum status range value.
A tuple of Floats specifying a Float value for the maximum status range value.
A tuple of SymbolicConstants specifying a Boolean to specify if elements are to be removed based on the status variable
A pair of Ints specifying the step index and the frame index of the first available frame. This sequence is read-only.
A pair of Ints specifying the step index and the frame index of the frame previous to the current frame. This sequence is read-only.
A pair of Ints specifying the step index and the frame index of the frame following the current frame. This sequence is read-only.
A pair of Ints specifying the step index and the frame index of the last available frame. This sequence is read-only.