Odb Display¶
Odb display commands are used to store the context of an output database for a viewport.
Other Classes¶
- class CommonOptions[源代码]¶
-
The CommonOptions object stores values and attributes that are common to all plot states. The CommonOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.commonOptions member when you import the Visualization module. Abaqus creates a commonOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.commonOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. CommonOptions objects are accessed in one of two ways: - The default common options. These settings are used as defaults when other commonOptions members are created. These settings can be set to customize user preferences. - The common options associated with a particular viewport. The CommonOptions object is derived from the DGCommonOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.commonOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions session.viewports[name].layers[name].odbDisplay.commonOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions session.viewports[name].odbDisplay.commonOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.commonOptions
备注
Member Details:
-
autoDeformationScaleValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the deformation scale factor value when deformationScaling = AUTO. This value is read-only.
-
beamN1Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the beam n1n1-direction. The default value is "Blue".
-
beamN2Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the beam n2n2-direction. The default value is "Red".
-
beamTangentColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the tangent to a beam. The default value is "White".
-
colorCodeOverride : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
-
coordinateScale : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
-
coordinateScaleFactors : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
-
deformationScaling : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'AUTO'
[源代码]¶ A SymbolicConstant specifying the deformation scale factor mode. Possible values are AUTO, UNIFORM, and NONUNIFORM. The default value is AUTO.
-
edgeColorFillShade : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
-
edgeColorWireHide : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "White".
-
edgeLineStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
-
edgeLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
elemLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the element labels. The default value is "Cyan".
-
elemLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the element labels. The default value is OFF.
-
elementShrink : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
-
elementShrinkFactor : --is-rst--:py:class:`int` =
5
[源代码]¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤ elementShrinkPercentage ≤ 90. The default value is 5.
-
faceLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the face labels. The default value is "Red".
-
faceLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the face labels. The default value is OFF.
-
faceNormalColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the normal to a nonbeam element or to a surface. The default value is "Red".
-
fillColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "White".
-
labelFont : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the label font to be used for all model labels. The default value is "--courier-medium-r-normal---120---m---".
-
nodeLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the node labels. The default value is "Yellow".
-
nodeLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the node labels. The default value is OFF.
-
nodeSymbolColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the node symbols. The default value is "Yellow".
-
nodeSymbolSize : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SMALL'
[源代码]¶ A SymbolicConstant specifying the node symbol size. Possible values are SMALL, MEDIUM, and LARGE. The default value is SMALL.
-
nodeSymbolType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'HOLLOW_CIRCLE'
[源代码]¶ A SymbolicConstant specifying the node symbol types. Possible values are:
FILLED_CIRCLE
FILLED_SQUARE
FILLED_DIAMOND
FILLED_TRI
HOLLOW_CIRCLE
HOLLOW_SQUARE
HOLLOW_DIAMOND
HOLLOW_TRI
CROSS
XMARKER
The default value is HOLLOW_CIRCLE.
-
nodeSymbols : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the node symbols. The default value is OFF.
-
nonuniformScaleFactor : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the deformation scaling in each of the three coordinate directions when deformationScaling = NONUNIFORM. The default value is (autoDeformationScaleValue, autoDeformationScaleValue, autoDeformationScaleValue).
-
normalArrowLength : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MEDIUM'
[源代码]¶ A SymbolicConstant specifying the length of the normal arrows. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
-
normalArrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIRE'
[源代码]¶ A SymbolicConstant specifying the arrowhead style of the normal arrows. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
-
normalDisplay : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'ELEMENT'
[源代码]¶ A SymbolicConstant specifying whether to draw element normals or surface normals. Possible values are ELEMENT and SURFACE. The default value is ELEMENT.
-
normalLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the thickness of the normal arrows. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
normals : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to draw arrows that indicate the directions of element and surface normals. The default value is OFF.
-
renderStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SHADED'
[源代码]¶ A SymbolicConstant specifying the render style of the plot. Possible values are WIREFRAME, FILLED, HIDDEN, and SHADED. The default value is SHADED.
- setValues(
- options=
None
, - renderStyle=
SHADED
, - visibleEdges=
EXTERIOR
, - deformationScaling=
AUTO
, - uniformScaleFactor=
None
, - nonuniformScaleFactor=
()
, - edgeColorWireHide=
''
, - edgeColorFillShade=
''
, - edgeLineStyle=
SOLID
, - edgeLineThickness=
VERY_THIN
, - fillColor=
''
, - colorCodeOverride=
1
, - labelFont=
''
, - elemLabels=
0
, - elemLabelColor=
''
, - faceLabels=
0
, - faceLabelColor=
''
, - nodeLabels=
0
, - nodeLabelColor=
''
, - nodeSymbols=
0
, - nodeSymbolType=
HOLLOW_CIRCLE
, - nodeSymbolColor=
''
, - nodeSymbolSize=
SMALL
, - elementShrink=
0
, - elementShrinkFactor=
5
, - coordinateScale=
0
, - coordinateScaleFactors=
()
, - normals=
0
, - normalDisplay=
ELEMENT
, - faceNormalColor=
''
, - beamN1Color=
''
, - beamN2Color=
''
, - beamTangentColor=
''
, - normalArrowLength=
MEDIUM
, - normalLineThickness=
VERY_THIN
, - normalArrowheadStyle=
WIRE
, - translucency=
0
, - translucencyFactor=
0
, This method modifies the CommonOptions object.
- 参数:¶
- options=
None
¶ A CommonOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- renderStyle=
SHADED
¶ A SymbolicConstant specifying the render style of the plot. Possible values are WIREFRAME, FILLED, HIDDEN, and SHADED. The default value is SHADED.
- visibleEdges=
EXTERIOR
¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is EXTERIOR.NONE can be used only when renderStyle = SHADED.
- deformationScaling=
AUTO
¶ A SymbolicConstant specifying the deformation scale factor mode. Possible values are AUTO, UNIFORM, and NONUNIFORM. The default value is AUTO.
- uniformScaleFactor=
None
¶ A Float specifying the uniform deformation scaling constant when deformationScaling = UNIFORM. The default value is autoDeformationScaleValue.
- nonuniformScaleFactor=
()
¶ A sequence of three Floats specifying the deformation scaling in each of the three coordinate directions when deformationScaling = NONUNIFORM. The default value is (autoDeformationScaleValue, autoDeformationScaleValue, autoDeformationScaleValue).
- edgeColorWireHide=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "White".
- edgeColorFillShade=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
- edgeLineStyle=
SOLID
¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
- edgeLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- fillColor=
''
¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "White".
- colorCodeOverride=
1
¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
- labelFont=
''
¶ A String specifying the label font to be used for all model labels. The default value is "--courier-medium-r-normal---120---m---".
- elemLabels=
0
¶ A Boolean specifying whether to plot the element labels. The default value is OFF.
- elemLabelColor=
''
¶ A String specifying the color to be used to plot the element labels. The default value is "Cyan".
- faceLabels=
0
¶ A Boolean specifying whether to plot the face labels. The default value is OFF.
- faceLabelColor=
''
¶ A String specifying the color to be used to plot the face labels. The default value is "Red".
- nodeLabels=
0
¶ A Boolean specifying whether to plot the node labels. The default value is OFF.
- nodeLabelColor=
''
¶ A String specifying the color to be used to plot the node labels. The default value is "Yellow".
- nodeSymbols=
0
¶ A Boolean specifying whether to plot the node symbols. The default value is OFF.
- nodeSymbolType=
HOLLOW_CIRCLE
¶ A SymbolicConstant specifying the node symbol types. Possible values are:
FILLED_CIRCLE
FILLED_SQUARE
FILLED_DIAMOND
FILLED_TRI
HOLLOW_CIRCLE
HOLLOW_SQUARE
HOLLOW_DIAMOND
HOLLOW_TRI
CROSS
XMARKER
The default value is HOLLOW_CIRCLE.
- nodeSymbolColor=
''
¶ A String specifying the color to be used to plot the node symbols. The default value is "Yellow".
- nodeSymbolSize=
SMALL
¶ A SymbolicConstant specifying the node symbol size. Possible values are SMALL, MEDIUM, and LARGE. The default value is SMALL.
- elementShrink=
0
¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
- elementShrinkFactor=
5
¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤ elementShrinkPercentage ≤ 90. The default value is 5.
- coordinateScale=
0
¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
- coordinateScaleFactors=
()
¶ A sequence of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
- normals=
0
¶ A Boolean specifying whether to draw arrows that indicate the directions of element and surface normals. The default value is OFF.
- normalDisplay=
ELEMENT
¶ A SymbolicConstant specifying whether to draw element normals or surface normals. Possible values are ELEMENT and SURFACE. The default value is ELEMENT.
- faceNormalColor=
''
¶ A String specifying the color to be used to plot the normal to a nonbeam element or to a surface. The default value is "Red".
- beamN1Color=
''
¶ A String specifying the color to be used to plot an arrow along the beam n1n1-direction. The default value is "Blue".
- beamN2Color=
''
¶ A String specifying the color to be used to plot an arrow along the beam n2n2-direction. The default value is "Red".
- beamTangentColor=
''
¶ A String specifying the color to be used to plot an arrow along the tangent to a beam. The default value is "White".
- normalArrowLength=
MEDIUM
¶ A SymbolicConstant specifying the length of the normal arrows. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
- normalLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the thickness of the normal arrows. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- normalArrowheadStyle=
WIRE
¶ A SymbolicConstant specifying the arrowhead style of the normal arrows. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
- translucency=
0
¶ A Boolean specifying whether to set translucency. The default value is OFF.
- translucencyFactor=
0
¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
- options=
- 抛出:¶
RangeError --
-
translucency : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to set translucency. The default value is OFF.
-
translucencyFactor : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
-
uniformScaleFactor : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the uniform deformation scaling constant when deformationScaling = UNIFORM. The default value is autoDeformationScaleValue.
-
visibleEdges : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'EXTERIOR'
[源代码]¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is EXTERIOR.NONE can be used only when renderStyle = SHADED.
-
autoDeformationScaleValue : --is-rst--:py:class:`float` | :py:obj:`None` =
- class ContourOptions[源代码]¶
-
The ContourOptions object stores values and attributes associated with a contour plot. The ContourOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.contourOptions member when you import the Visualization module. Abaqus creates a contourOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.contourOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. ContourOptions objects are accessed in one of two ways: - The default contour options. These settings are used as defaults when other contourOptions members are created. These settings can be set to customize user preferences. - The contour options associated with a particular viewport. The ContourOptions object is derived from the DGContourOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.contourOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions session.viewports[name].layers[name].odbDisplay.contourOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions session.viewports[name].odbDisplay.contourOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.contourOptions
备注
Member Details:
-
animationAutoLimits : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'ALL_FRAMES'
[源代码]¶ A SymbolicConstant specifying the method to be used when contour limits are automatically computed for animation. animationAutoLimits will only effect the minimum limit and/or maximum limit when minAutoCompute and/or maxAutoCompute = True. Possible values are FIRST_AND_LAST, CURRENT_FRAME, RECOMPUTE_EACH_FRAME, and ALL_FRAMES. The default value is ALL_FRAMES.
-
autoMaxValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the maximum value to be used in the plot. The value is computed from the output data to be contoured. This value is read-only.
-
autoMinValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the minimum value to be used in the plot. The value is computed from the output data to be contoured. This value is read-only.
-
averagedOrientationDisplay : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying the display of the nodal averaged coordinate systems used when averaging element vector or tensor data. The default value is OFF.
-
colorByMatchingPlies : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the contour color is driven by the matching ply. The default value is OFF.
-
contourEdgeColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the contour edges when contourType = BANDED or ISOSURFACE. The default value is "Grey60".
-
contourEdgeStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the edge line style to be used to plot the contour edges when contourType = BANDED or ISOSURFACE. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
-
contourEdgeThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the edge line thickness to be used to plot the edge of the contour intervals when contourType = BANDED or ISOSURFACE. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
contourEdges : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the edges of each contour interval when contourType = BANDED or ISOSURFACE. The default value is OFF.
-
contourMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'TEXTURE_MAPPED'
[源代码]¶ A SymbolicConstant specifying the contour rendering method. Possible values are TEXTURE_MAPPED and TESSELLATED. The default value is TEXTURE_MAPPED.
-
contourStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'UNIFORM'
[源代码]¶ A SymbolicConstant specifying the interval style of the contour plot. Possible values are CONTINUOUS and UNIFORM. The default value is UNIFORM.
-
contourType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'BANDED'
[源代码]¶ A SymbolicConstant specifying the contour type. Possible values are LINE, BANDED, QUILT, and ISOSURFACE. The default value is BANDED.
-
edgeColorBandedQuilt : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the edge color to be used when contourType = BANDED or QUILT. The default value is "Black".
-
edgeColorLine : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the edge color to be used when contourType = LINE. The default value is "White".
-
extrapolatedAveraging : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to auto-compute contour limits using extrapolated values alone or extrapolated values that are averaged. The default value is OFF.
- intervalLineAttributes : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A tuple of tuples of SymbolicConstants specifying the line style and line thickness for each interval in the plot when contourType = LINE. The size of the outer sequence must be equal to numIntervals-1. The inner sequence consists of two SymbolicConstants specifying the line style and line thickness. For possible values, refer to the edgeLineStyle and edgeLineThickness members of the DGCommonOptions object. The default is ((SOLID, VERY_THIN), ).
-
intervalType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'UNIFORM'
[源代码]¶ A SymbolicConstant specifying the interval type of the contour plot. Possible values are UNIFORM, LOG, and USER_DEFINED. The default value is UNIFORM.
-
intervalValues : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ A tuple of Floats specifying the interval values when intervalType = USER_DEFINED.
-
legendHideOutsideLimits : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to hide the values outside the specified min/max in the contour legend. This setting hides the autoMinValue and autoMaxValue from the spectrum when legendHideOutsideLimits = ON.The default value is OFF.
- ..versionadded:: 2019
The
legendHideOutsideLimits
attribute was added.
-
matchingPlyLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the label for the matching ply shows up in the viewport. The default value is OFF.
-
maxAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the contour range maximum value should be computed from the output data to be contoured. The default value is ON.
-
maxValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the contour range maximum value to be used in the plot when maxAutoCompute = ON. The default value is autoMaxValue.
-
minAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the contour range minimum value should be computed from the output data to be contoured. The default value is ON.
-
minValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the contour range minimum value to be used in the plot when minAutoCompute = ON. The default value is autoMinValue.
-
numIntervals : --is-rst--:py:class:`int` =
12
[源代码]¶ An Int specifying the number of intervals when contourStyle = UNIFORM. Possible values are 2 ≤ numIntervals ≤ 24. The default value is 12.
-
outsideLimitsAboveColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used for values that exceed the limits of the plot when outsideLimitsMode = SPECIFY. The default value is "Grey80".
-
outsideLimitsBelowColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used for values that exceed the limits of the plot when outsideLimitsMode = SPECIFY. The default value is "Grey20".
- outsideLimitsMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A SymbolicConstant specifying the color of contour values that exceed the limits of the plot. Possible values are SPECTRUM and SPECIFY.When outsideLimitsMode = SPECTRUM, the maximum and minimum contour spectrum colors are used for values that exceed the limits of the plot. When outsideLimitsMode = SPECIFY, the values of outsideLimitsAboveColor and outsideLimitsBelowColor are used for values that exceed the limits of the plot.
-
reversedContourLegendRange : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the contour legend should show the lowest value at the top and the highest value at the bottom (reversedContourLegendRange=ON) or vice versa. The default value is OFF.
- ..versionadded:: 2018
The
reversedContourLegendRange
attribute was added.
- setValues(
- options=
None
, - contourType=
BANDED
, - contourMethod=
TEXTURE_MAPPED
, - tickmarkPlots=
0
, - contourStyle=
UNIFORM
, - numIntervals=
12
, - intervalType=
UNIFORM
, - intervalValues=
()
, - maxAutoCompute=
1
, - maxValue=
None
, - minAutoCompute=
1
, - minValue=
None
, - animationAutoLimits=
ALL_FRAMES
, - edgeColorLine=
''
, - edgeColorBandedQuilt=
''
, - spectrum=
''
, - reversedContourLegendRange=
0
, - outsideLimitsMode=
None
, - outsideLimitsAboveColor=
''
, - outsideLimitsBelowColor=
''
, - intervalLineAttributes=
None
, - contourEdges=
0
, - contourEdgeColor=
''
, - contourEdgeStyle=
SOLID
, - contourEdgeThickness=
VERY_THIN
, - tickmarkAxisLength=
MEDIUM
, - tickmarkBaseValue=
0
, - tickmarkOrientation=
N2
, - tickmarkCurveColor=
''
, - averagedOrientationDisplay=
0
, - extrapolatedAveraging=
0
, - showMaxLocation=
0
, - showMinLocation=
0
, - legendHideOutsideLimits=
0
, This method modifies the ContourOptions object.
- 参数:¶
- options=
None
¶ A ContourOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- contourType=
BANDED
¶ A SymbolicConstant specifying the contour type. Possible values are LINE, BANDED, QUILT, and ISOSURFACE. The default value is BANDED.
- contourMethod=
TEXTURE_MAPPED
¶ A SymbolicConstant specifying the contour rendering method. Possible values are TEXTURE_MAPPED and TESSELLATED. The default value is TEXTURE_MAPPED.
- tickmarkPlots=
0
¶ A Boolean specifying whether tick mark plots should be displayed on line-type elements. If tickmarkPlots = ON, Abaqus displays a tick mark plot. If tickmarkPlots = OFF, Abaqus displays contours on the element faces. The default value is OFF.
- contourStyle=
UNIFORM
¶ A SymbolicConstant specifying the interval style of the contour plot. Possible values are CONTINUOUS and UNIFORM. The default value is UNIFORM.
- numIntervals=
12
¶ An Int specifying the number of intervals when contourStyle = UNIFORM. Possible values are 2 ≤ numIntervals ≤ 24. The default value is 12.
- intervalType=
UNIFORM
¶ A SymbolicConstant specifying the interval type of the contour plot. Possible values are UNIFORM, LOG, and USER_DEFINED. The default value is UNIFORM.
- intervalValues=
()
¶ A sequence of Floats specifying the interval values when intervalType = USER_DEFINED.
- maxAutoCompute=
1
¶ A Boolean specifying whether the contour range maximum value should be computed from the output data to be contoured. The default value is ON.
- maxValue=
None
¶ A Float specifying the contour range maximum value to be used in the plot when maxAutoCompute = ON. The default value is autoMaxValue.
- minAutoCompute=
1
¶ A Boolean specifying whether the contour range minimum value should be computed from the output data to be contoured. The default value is ON.
- minValue=
None
¶ A Float specifying the contour range minimum value to be used in the plot when minAutoCompute = ON. The default value is autoMinValue.
- animationAutoLimits=
ALL_FRAMES
¶ A SymbolicConstant specifying the method to be used when contour limits are automatically computed for animation. animationAutoLimits will only effect the minimum limit and/or maximum limit when minAutoCompute and/or maxAutoCompute = True. Possible values are FIRST_AND_LAST, CURRENT_FRAME, RECOMPUTE_EACH_FRAME, and ALL_FRAMES. The default value is ALL_FRAMES.
- edgeColorLine=
''
¶ A String specifying the edge color to be used when contourType = LINE. The default value is "White".
- edgeColorBandedQuilt=
''
¶ A String specifying the edge color to be used when contourType = BANDED or QUILT. The default value is "Black".
- spectrum=
''
¶ A String specifying the name of the color spectrum to be used in the contour plot. The default value is "Rainbow".
- reversedContourLegendRange=
0
¶ A Boolean specifying whether the contour legend should show the lowest value at the top and the highest value at the bottom (reversedContourLegendRange = ON) or vice versa. The default value is OFF.
Added in version 2018: The
reversedContourLegendRange
argument was added.- outsideLimitsMode=
None
¶ A SymbolicConstant specifying the color of contour values that exceed the limits of the plot. Possible values are SPECTRUM and SPECIFY.When outsideLimitsMode = SPECTRUM, the maximum and minimum contour spectrum colors are used for values that exceed the limits of the plot. When outsideLimitsMode = SPECIFY, the values of outsideLimitsAboveColor and outsideLimitsBelowColor are used for values that exceed the limits of the plot.
- outsideLimitsAboveColor=
''
¶ A String specifying the color to be used for values that exceed the limits of the plot when outsideLimitsMode = SPECIFY. The default value is "Grey80".
- outsideLimitsBelowColor=
''
¶ A String specifying the color to be used for values that exceed the limits of the plot when outsideLimitsMode = SPECIFY. The default value is "Grey20".
- intervalLineAttributes=
None
¶ A sequence of sequences of SymbolicConstants specifying the line style and line thickness for each interval in the plot when contourType = LINE. The size of the outer sequence must be equal to numIntervals-1. The inner sequence consists of two SymbolicConstants specifying the line style and line thickness. For possible values, refer to the edgeLineStyle and edgeLineThickness members of the DGCommonOptions object. The default is ((SOLID, VERY_THIN), ).
- contourEdges=
0
¶ A Boolean specifying whether to plot the edges of each contour interval when contourType = BANDED or ISOSURFACE. The default value is OFF.
- contourEdgeColor=
''
¶ A String specifying the color to be used to plot the contour edges when contourType = BANDED or ISOSURFACE. The default value is "Grey60".
- contourEdgeStyle=
SOLID
¶ A SymbolicConstant specifying the edge line style to be used to plot the contour edges when contourType = BANDED or ISOSURFACE. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
- contourEdgeThickness=
VERY_THIN
¶ A SymbolicConstant specifying the edge line thickness to be used to plot the edge of the contour intervals when contourType = BANDED or ISOSURFACE. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- tickmarkAxisLength=
MEDIUM
¶ A SymbolicConstant specifying the length of the tick mark plot axes. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
- tickmarkBaseValue=
0
¶ A Float specifying the base contour value defining the tick mark axis contour value that intersects the elements. Possible values are autoMinValue ≤ tickmarkBaseValue ≤ autoMaxValue. The default value is 0.0.
- tickmarkOrientation=
N2
¶ A SymbolicConstant specifying the orientation of the tick mark plots. Possible values are N1 and N2. The default value is N2.
- tickmarkCurveColor=
''
¶ A String specifying the color to be used to plot the tick mark curve. The default value is "Cyan".
- averagedOrientationDisplay=
0
¶ A Boolean specifying the display of the nodal averaged coordinate systems used when averaging element vector or tensor data. The default value is OFF.
- extrapolatedAveraging=
0
¶ A Boolean specifying whether to auto-compute contour limits using extrapolated values alone or extrapolated values that are averaged. The default value is OFF.
- showMaxLocation=
0
¶ A Boolean specifying whether to display location of maximum value. The default value is OFF.
- showMinLocation=
0
¶ A Boolean specifying whether to display location of minimum value. The default value is OFF.
- legendHideOutsideLimits=
0
¶ A Boolean specifying whether to hide the values outside the specified minimum/maximum for the contour interval when legendHideOutsideLimits = ON. The default value is OFF.
Added in version 2019: The
legendHideOutsideLimits
argument was added.
- options=
- 抛出:¶
RangeError --
-
showMaxLocation : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to display location of maximum value. The default value is OFF.
-
showMinLocation : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to display location of minimum value. The default value is OFF.
-
spectrum : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the color spectrum to be used in the contour plot. The default value is "Rainbow".
-
tickmarkAxisLength : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MEDIUM'
[源代码]¶ A SymbolicConstant specifying the length of the tick mark plot axes. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
-
tickmarkBaseValue : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the base contour value defining the tick mark axis contour value that intersects the elements. Possible values are autoMinValue ≤ tickmarkBaseValue ≤ autoMaxValue. The default value is 0.0.
-
tickmarkCurveColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the tick mark curve. The default value is "Cyan".
-
tickmarkOrientation : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'N2'
[源代码]¶ A SymbolicConstant specifying the orientation of the tick mark plots. Possible values are N1 and N2. The default value is N2.
-
tickmarkPlots : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether tick mark plots should be displayed on line-type elements. If tickmarkPlots = ON, Abaqus displays a tick mark plot. If tickmarkPlots = OFF, Abaqus displays contours on the element faces. The default value is OFF.
-
animationAutoLimits : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
- class DefaultOdbDisplay[源代码]¶
基类:
object
The DefaultOdbDisplay object is a limited-functionality version of the OdbDisplay object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay
备注
Member Details:
-
basicOptions : --is-rst--:py:class:`~abaqus.PlotOptions.BasicOptions.BasicOptions` =
<abaqus.PlotOptions.BasicOptions.BasicOptions object>
[源代码]¶ A BasicOptions object.
-
commonOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.CommonOptions.CommonOptions` =
<abaqus.OdbDisplay.CommonOptions.CommonOptions object>
[源代码]¶ A CommonOptions object.
-
contourOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.ContourOptions.ContourOptions` =
<abaqus.OdbDisplay.ContourOptions.ContourOptions object>
[源代码]¶ A ContourOptions object.
-
displayBodyOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.DisplayBodyOptions.DisplayBodyOptions` =
<abaqus.OdbDisplay.DisplayBodyOptions.DisplayBodyOptions object>
[源代码]¶ A DisplayBodyOptions object.
-
freeBodyOptions : --is-rst--:py:class:`~abaqus.PlotOptions.FreeBodyOptions.FreeBodyOptions` =
<abaqus.PlotOptions.FreeBodyOptions.FreeBodyOptions object>
[源代码]¶ A FreeBodyOptions object.
-
materialOrientationOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.OrientationOptions.OrientationOptions` =
<abaqus.OdbDisplay.OrientationOptions.OrientationOptions object>
[源代码]¶ An OrientationOptions object.
-
streamOptions : --is-rst--:py:class:`~abaqus.PlotOptions.StreamOptions.StreamOptions` =
<abaqus.PlotOptions.StreamOptions.StreamOptions object>
[源代码]¶ A StreamOptions object.
-
superimposeOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.SuperimposeOptions.SuperimposeOptions` =
<abaqus.OdbDisplay.SuperimposeOptions.SuperimposeOptions object>
[源代码]¶ A SuperimposeOptions object.
-
basicOptions : --is-rst--:py:class:`~abaqus.PlotOptions.BasicOptions.BasicOptions` =
- class DisplayBodyOptions[源代码]¶
-
The DisplayBodyOptions object stores values and attributes that are common to all plot states. The DisplayBodyOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.displayBodyOptions member when you import the Visualization module. Abaqus creates a displayBodyOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.displayBodyOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. DisplayBodyOptions objects are accessed in one of two ways: - The default display body options. These settings are used as defaults when other displayBodyOptions members are created. These settings can be set to customize user preferences. - The display body options associated with a particular viewport. The DisplayBodyOptions object is derived from the DGDisplayBodyOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.displayBodyOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions session.viewports[name].layers[name].odbDisplay.displayBodyOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions session.viewports[name].odbDisplay.displayBodyOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.displayBodyOptions
备注
Member Details:
-
colorCodeOverride : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
-
coordinateScale : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
-
coordinateScaleFactors : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
-
edgeColorFillShade : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
-
edgeColorWireHide : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "White".
-
edgeLineStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
-
edgeLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
elementShrink : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
-
elementShrinkFactor : --is-rst--:py:class:`int` =
5
[源代码]¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤ elementShrinkPercentage ≤ 90. The default value is 5.
-
fillColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "White".
- setValues(
- options=
None
, - visibleEdges=
EXTERIOR
, - edgeColorWireHide=
''
, - edgeColorFillShade=
''
, - edgeLineStyle=
SOLID
, - edgeLineThickness=
VERY_THIN
, - fillColor=
''
, - colorCodeOverride=
1
, - elementShrink=
0
, - elementShrinkFactor=
5
, - coordinateScale=
0
, - coordinateScaleFactors=
()
, - translucency=
0
, - translucencyFactor=
0
, This method modifies the DisplayBodyOptions object.
- 参数:¶
- options=
None
¶ A DisplayBodyOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- visibleEdges=
EXTERIOR
¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is EXTERIOR.NONE can be used only when renderStyle = SHADED.
- edgeColorWireHide=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "White".
- edgeColorFillShade=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
- edgeLineStyle=
SOLID
¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
- edgeLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- fillColor=
''
¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "White".
- colorCodeOverride=
1
¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
- elementShrink=
0
¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
- elementShrinkFactor=
5
¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤elementShrinkPercentage* ≤ 90. The default value is 5.
- coordinateScale=
0
¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
- coordinateScaleFactors=
()
¶ A sequence of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
- translucency=
0
¶ A Boolean specifying whether to set translucency. The default value is OFF.
- translucencyFactor=
0
¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
- options=
- 抛出:¶
RangeError --
-
translucency : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to set translucency. The default value is OFF.
-
translucencyFactor : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
-
visibleEdges : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'EXTERIOR'
[源代码]¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is EXTERIOR.NONE can be used only when renderStyle = SHADED.
-
colorCodeOverride : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class OrientationOptions[源代码]¶
-
The OrientationOptions object stores values and attributes associated with a material orientation plot. The OrientationOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.materialOrientationOptions member when you import the Visualization module. Abaqus creates a materialOrientationOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.materialOrientationOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. OrientationOptions objects are accessed in one of two ways: - The default material orientation options. These settings are used as defaults when other materialOrientationOptions members are created. These settings can be set to customize user preferences. - The material orientation options associated with a particular viewport. The OrientationOptions object is derived from the DGOrientationOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.materialOrientationOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions session.viewports[name].layers[name].odbDisplay.materialOrientationOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions session.viewports[name].odbDisplay.materialOrientationOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.materialOrientationOptions
备注
Member Details:
-
arrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'NONE'
[源代码]¶ A SymbolicConstant specifying the arrowhead style for the material orientation triad. Possible values are NONE, FILLED, and WIRE. The default value is NONE.
-
axis1Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of axis 1 of the material orientation triad. The default value is "Cyan".
-
axis2Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of axis 2 of the material orientation triad. The default value is "Yellow".
-
axis3Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of axis 3 of the material orientation triad. The default value is "Red".
-
lineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the thickness of the material orientation triad. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
orientation : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'PLY'
[源代码]¶ A SymbolicConstant specifying the orientation used for composites. Possible values are PLY and LAYUP. The default value is PLY.
-
scaleMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MODEL_SIZE'
[源代码]¶ A SymbolicConstant specifying the scaling basis for the material orientation triad. Possible values are MODEL_SIZE and SCREEN_SIZE. The default value is MODEL_SIZE.
- setValues(
- options=
None
, - axis1Color=
''
, - showAxis1=
1
, - axis2Color=
''
, - showAxis2=
1
, - axis3Color=
''
, - showAxis3=
1
, - symbolSize=
12
, - lineThickness=
VERY_THIN
, - orientation=
PLY
, - arrowheadStyle=
NONE
, - scaleMode=
MODEL_SIZE
, This method modifies the OrientationOptions object.
- 参数:¶
- options=
None
¶ An OrientationOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- axis1Color=
''
¶ A String specifying the color of axis 1 of the material orientation triad. The default value is "Cyan".
- showAxis1=
1
¶ A Boolean specifying whether axis 1 of the material orientation triad should be displayed. The default value is ON.
- axis2Color=
''
¶ A String specifying the color of axis 2 of the material orientation triad. The default value is "Yellow".
- showAxis2=
1
¶ A Boolean specifying whether axis 2 of the material orientation triad should be displayed. The default value is ON.
- axis3Color=
''
¶ A String specifying the color of axis 3 of the material orientation triad. The default value is "Red".
- showAxis3=
1
¶ A Boolean specifying whether axis 3 of the material orientation triad should be displayed. The default value is ON.
- symbolSize=
12
¶ A Float specifying the size of the material orientation triad. The default value is 12.0.
- lineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the thickness of the material orientation triad. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- orientation=
PLY
¶ A SymbolicConstant specifying the orientation used for composites. Possible values are PLY and LAYUP. The default value is PLY.
- arrowheadStyle=
NONE
¶ A SymbolicConstant specifying the arrowhead style for the material orientation triad. Possible values are NONE, FILLED, and WIRE. The default value is NONE.
- scaleMode=
MODEL_SIZE
¶ A SymbolicConstant specifying the scaling basis for the material orientation triad. Possible values are MODEL_SIZE and SCREEN_SIZE. The default value is MODEL_SIZE.
- options=
- 抛出:¶
RangeError --
-
showAxis1 : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether axis 1 of the material orientation triad should be displayed. The default value is ON.
-
showAxis2 : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether axis 2 of the material orientation triad should be displayed. The default value is ON.
-
arrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
- class SuperimposeOptions[源代码]¶
-
The SuperimposeOptions object stores values and attributes associated with the undeformed shape when the display contains both the deformed shape and the undeformed shape. The SuperimposeOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.superimposeOptions member when you import the Visualization module. Abaqus creates a superimposeOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.superimposeOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. SuperimposeOptions objects are accessed in one of two ways: - The default superimpose options. These settings are used as defaults when other superimposeOptions members are created. These settings can be set to customize user preferences. - The superimpose options associated with a particular viewport. The SuperimposeOptions object is derived from the DGSuperimposeOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.superimposeOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions session.viewports[name].layers[name].odbDisplay.superimposeOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions session.viewports[name].odbDisplay.superimposeOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.superimposeOptions
备注
Member Details:
-
beamN1Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the beam n1n1-direction. The default value is "Blue".
-
beamN2Color : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the beam n2n2-direction. The default value is "Red".
-
beamTangentColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot an arrow along the tangent to a beam. The default value is "White".
-
colorCodeOverride : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
-
coordinateScale : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
-
coordinateScaleFactors : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
-
deformedOffsetMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'NONE'
[源代码]¶ A SymbolicConstant specifying the offset of the deformed shape from the undeformed shape. Possible values are NONE, UNIFORM, and NONUNIFORM. The default value is NONE.NONE specifies that there should be no offset of the deformed shape from the undeformed shape.
-
edgeColorFillShade : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
-
edgeColorWireHide : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "Green".
-
edgeLineStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
-
edgeLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
elemLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the element labels. The default value is "Cyan".
-
elemLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the element labels. The default value is OFF.
-
elementShrink : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
-
elementShrinkFactor : --is-rst--:py:class:`int` =
5
[源代码]¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤ elementShrinkPercentage ≤ 90. The default value is 5.
-
faceLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the face labels. The default value is "Red".
-
faceLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the face labels. The default value is OFF.
-
faceNormalColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the normal to a nonbeam element or to a surface. The default value is "Red".
-
fillColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "Green".
-
labelFont : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the label font to be used for all model labels. The default value is "--courier-medium-r-normal---120---m---".
-
nodeLabelColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the node labels. The default value is "Yellow".
-
nodeLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the node labels. The default value is OFF.
-
nodeSymbolColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color to be used to plot the node symbols. The default value is "Yellow".
-
nodeSymbolSize : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SMALL'
[源代码]¶ A SymbolicConstant specifying the node symbol size. Possible values are SMALL, MEDIUM, and LARGE. The default value is SMALL.
-
nodeSymbolType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'HOLLOW_CIRCLE'
[源代码]¶ A SymbolicConstant specifying the node symbol types. Possible values are:FILLED_CIRCLEFILLED_SQUAREFILLED_DIAMONDFILLED_TRIHOLLOW_CIRCLEHOLLOW_SQUAREHOLLOW_DIAMONDHOLLOW_TRICROSSXMARKERThe default value is HOLLOW_CIRCLE.
-
nodeSymbols : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to plot the node symbols. The default value is OFF.
-
nonuniformOffset : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the offset value in each of the three coordinate directions when deformedOffsetMode = NONUNIFORM. The default value is (0, 0, 0).
-
normalArrowLength : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MEDIUM'
[源代码]¶ A SymbolicConstant specifying the length of the normal arrows. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
-
normalArrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIRE'
[源代码]¶ A SymbolicConstant specifying the arrowhead style of the normal arrows. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
-
normalDisplay : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'ELEMENT'
[源代码]¶ A SymbolicConstant specifying whether to draw element normals and surface normals. Possible values are ELEMENT and SURFACE. The default value is ELEMENT.
-
normalLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the thickness of the normal arrows. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
normals : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to draw arrows that indicate the directions of element and surface normals. The default value is OFF.
-
renderStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIREFRAME'
[源代码]¶ A SymbolicConstant specifying the render style of the plot. Possible values are WIREFRAME, FILLED, HIDDEN, and SHADED. The default value is WIREFRAME.
- setValues(
- options=
None
, - renderStyle=
WIREFRAME
, - visibleEdges=
FEATURE
, - edgeColorWireHide=
''
, - edgeColorFillShade=
''
, - edgeLineStyle=
SOLID
, - edgeLineThickness=
VERY_THIN
, - colorCodeOverride=
1
, - fillColor=
''
, - labelFont=
''
, - elemLabels=
0
, - elemLabelColor=
''
, - faceLabels=
0
, - faceLabelColor=
''
, - nodeLabels=
0
, - nodeLabelColor=
''
, - nodeSymbols=
0
, - nodeSymbolType=
HOLLOW_CIRCLE
, - nodeSymbolColor=
''
, - nodeSymbolSize=
SMALL
, - elementShrink=
0
, - elementShrinkFactor=
5
, - coordinateScale=
0
, - coordinateScaleFactors=
()
, - normals=
0
, - normalDisplay=
ELEMENT
, - faceNormalColor=
''
, - beamN1Color=
''
, - beamN2Color=
''
, - beamTangentColor=
''
, - normalArrowLength=
MEDIUM
, - normalLineThickness=
VERY_THIN
, - normalArrowheadStyle=
WIRE
, - translucency=
0
, - translucencyFactor=
0
, - deformedOffsetMode=
NONE
, - uniformOffset=
0
, - nonuniformOffset=
()
, This method modifies the SuperimposeOptions object.
- 参数:¶
- options=
None
¶ A SuperimposeOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- renderStyle=
WIREFRAME
¶ A SymbolicConstant specifying the render style of the plot. Possible values are WIREFRAME, FILLED, HIDDEN, and SHADED. The default value is WIREFRAME.
- visibleEdges=
FEATURE
¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is FEATURE.NONE can be used only when renderStyle = SHADED.
- edgeColorWireHide=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = WIREFRAME or HIDDEN. The default value is "Green".
- edgeColorFillShade=
''
¶ A String specifying the color to be used to plot the edges of the model when renderStyle = FILLED or SHADED. The default value is "Black".
- edgeLineStyle=
SOLID
¶ A SymbolicConstant specifying the edge line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
- edgeLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the edge line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- colorCodeOverride=
1
¶ A Boolean specifying whether to allow color coded items in the output database to override the edge and fill color settings. The default value is ON.
- fillColor=
''
¶ A String specifying the color to be used to fill elements when renderStyle = FILLED or SHADED. The default value is "Green".
- labelFont=
''
¶ A String specifying the label font to be used for all model labels. The default value is "--courier-medium-r-normal---120---m---".
- elemLabels=
0
¶ A Boolean specifying whether to plot the element labels. The default value is OFF.
- elemLabelColor=
''
¶ A String specifying the color to be used to plot the element labels. The default value is "Cyan".
- faceLabels=
0
¶ A Boolean specifying whether to plot the face labels. The default value is OFF.
- faceLabelColor=
''
¶ A String specifying the color to be used to plot the face labels. The default value is "Red".
- nodeLabels=
0
¶ A Boolean specifying whether to plot the node labels. The default value is OFF.
- nodeLabelColor=
''
¶ A String specifying the color to be used to plot the node labels. The default value is "Yellow".
- nodeSymbols=
0
¶ A Boolean specifying whether to plot the node symbols. The default value is OFF.
- nodeSymbolType=
HOLLOW_CIRCLE
¶ A SymbolicConstant specifying the node symbol types. Possible values are:FILLED_CIRCLEFILLED_SQUAREFILLED_DIAMONDFILLED_TRIHOLLOW_CIRCLEHOLLOW_SQUAREHOLLOW_DIAMONDHOLLOW_TRICROSSXMARKERThe default value is HOLLOW_CIRCLE.
- nodeSymbolColor=
''
¶ A String specifying the color to be used to plot the node symbols. The default value is "Yellow".
- nodeSymbolSize=
SMALL
¶ A SymbolicConstant specifying the node symbol size. Possible values are SMALL, MEDIUM, and LARGE. The default value is SMALL.
- elementShrink=
0
¶ A Boolean specifying whether elements are displayed in a shrunk format. The default value is OFF.
- elementShrinkFactor=
5
¶ An Int specifying the percentage to shrink the elements when elementShrink = ON. Possible values are 0≤ elementShrinkPercentage ≤ 90. The default value is 5.
- coordinateScale=
0
¶ A Boolean specifying whether to scale coordinates. The default value is OFF.
- coordinateScaleFactors=
()
¶ A sequence of three Floats specifying the coordinate scaling in each of the three coordinate directions when coordinateScale = ON. The default value is (1, 1, 1).
- normals=
0
¶ A Boolean specifying whether to draw arrows that indicate the directions of element and surface normals. The default value is OFF.
- normalDisplay=
ELEMENT
¶ A SymbolicConstant specifying whether to draw element normals and surface normals. Possible values are ELEMENT and SURFACE. The default value is ELEMENT.
- faceNormalColor=
''
¶ A String specifying the color to be used to plot the normal to a nonbeam element or to a surface. The default value is "Red".
- beamN1Color=
''
¶ A String specifying the color to be used to plot an arrow along the beam n1n1-direction. The default value is "Blue".
- beamN2Color=
''
¶ A String specifying the color to be used to plot an arrow along the beam n2n2-direction. The default value is "Red".
- beamTangentColor=
''
¶ A String specifying the color to be used to plot an arrow along the tangent to a beam. The default value is "White".
- normalArrowLength=
MEDIUM
¶ A SymbolicConstant specifying the length of the normal arrows. Possible values are SHORT, MEDIUM, and LONG. The default value is MEDIUM.
- normalLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the thickness of the normal arrows. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- normalArrowheadStyle=
WIRE
¶ A SymbolicConstant specifying the arrowhead style of the normal arrows. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
- translucency=
0
¶ A Boolean specifying whether to set translucency. The default value is OFF.
- translucencyFactor=
0
¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
- deformedOffsetMode=
NONE
¶ A SymbolicConstant specifying the offset of the deformed shape from the undeformed shape. Possible values are NONE, UNIFORM, and NONUNIFORM. The default value is NONE.NONE specifies that there should be no offset of the deformed shape from the undeformed shape.
- uniformOffset=
0
¶ A Float specifying the uniform offset value when deformedOffsetMode = UNIFORM. The default value is 0.0.
- nonuniformOffset=
()
¶ A sequence of three Floats specifying the offset value in each of the three coordinate directions when deformedOffsetMode = NONUNIFORM. The default value is (0, 0, 0).
- options=
- 抛出:¶
RangeError --
-
translucency : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to set translucency. The default value is OFF.
-
translucencyFactor : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the translucency factor when translucency = ON. Possible values are 0.0≤ translucencyFactor ≤ 1.0. The default value is 0.3.
-
uniformOffset : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the uniform offset value when deformedOffsetMode = UNIFORM. The default value is 0.0.
-
visibleEdges : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'FEATURE'
[源代码]¶ A SymbolicConstant specifying which edges to plot. Possible values are ALL, EXTERIOR, FEATURE, FREE, and NONE. The default value is FEATURE.NONE can be used only when renderStyle = SHADED.
-
beamN1Color : --is-rst--:py:class:`str` =
- class SymbolOptions[源代码]¶
-
The SymbolOptions object stores values and attributes associated with a symbol plot. The SymbolOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.symbolOptions member when you import the Visualization module. Abaqus creates a symbolOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.symbolOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay. SymbolOptions objects are accessed in one of two ways: - The default symbol options. These settings are used as defaults when other symbolOptions members are created. These settings can be set to customize user preferences. - The symbol options associated with a particular viewport. The SymbolOptions object is derived from the DGSymbolOptions object.
备注
This object can be accessed by:
import visualization session.defaultOdbDisplay.symbolOptions session.viewports[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions session.viewports[name].layers[name].odbDisplay.symbolOptions session.viewports[name].layers[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions session.viewports[name].odbDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions session.viewports[name].odbDisplay.symbolOptions session.viewports[name].partDisplay.displayGroupInstances[name].odbDisplayOptions.symbolOptions
备注
Member Details:
-
arrowScaleMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MODEL_SIZE'
[源代码]¶ A SymbolicConstant specifying the arrow scaling mode. Possible values are MODEL_SIZE and SCREEN_SIZE. The default value is MODEL_SIZE.
-
arrowSymbolSize : --is-rst--:py:class:`int` =
6
[源代码]¶ An Int specifying the length of vector and tensor symbols. The default value is 6.
-
autoTensorMaxValue : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`float`] =
'NOT_SET'
[源代码]¶ The SymbolicConstant NOT_SET or a Float specifying the tensor maximum value when tensorMaxValueAutoCompute = ON. This value is read-only. The default value is NOT_SET.
-
autoTensorMinValue : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`float`] =
'NOT_SET'
[源代码]¶ The SymbolicConstant NOT_SET or a Float specifying the tensor minimum value when tensorMinValueAutoCompute = ON. This value is read-only. The default value is NOT_SET.
-
autoVectorMaxValue : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`float`] =
'NOT_SET'
[源代码]¶ The SymbolicConstant NOT_SET or a Float specifying the vector maximum value when vectorMaxValueAutoCompute = ON. This value is read-only. The default value is NOT_SET.
-
autoVectorMinValue : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`float`] =
'NOT_SET'
[源代码]¶ The SymbolicConstant NOT_SET or a Float specifying the vector minimum value when vectorMinValueAutoCompute = ON. This value is read-only. The default value is NOT_SET.
-
constantLengthArrows : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to use constant-length arrows for vector symbols. The default value is OFF.
-
drawLabelT : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to draw tensor labels. The default value is OFF.
-
drawLabelV : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to draw vector labels. The default value is OFF.
-
numDigitsT : --is-rst--:py:class:`int` =
2
[源代码]¶ An Int specifying the number of digits in the tensor label. The default value is 2.
-
numDigitsV : --is-rst--:py:class:`int` =
2
[源代码]¶ An Int specifying the number of digits in the vector label. The default value is 2.
-
numberFormatT : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SCIENTIFIC'
[源代码]¶ A SymbolicConstant specifying the number format for tensor. Possible values are SCIENTIFIC, FIXED, and ENGINEERING. The default value is SCIENTIFIC.
-
numberFormatV : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SCIENTIFIC'
[源代码]¶ A SymbolicConstant specifying the number format for vector. Possible values are SCIENTIFIC, FIXED, and ENGINEERING. The default value is SCIENTIFIC.
- setValues(
- options=
None
, - vectorQuantity=
RESULTANT
, - vectorLineThickness=
VERY_THIN
, - vectorArrowheadStyle=
WIRE
, - vectorColor=
''
, - vectorColorMethod=
SPECTRUM
, - vectorColorSpectrum=
''
, - vectorIntervalNumber=
12
, - symbolDensity=
1
, - constantLengthArrows=
0
, - tensorColorMethod=
SPECTRUM
, - tensorColorSpectrum=
''
, - tensorIntervalNumber=
12
, - vectorMaxValueAutoCompute=
1
, - vectorMaxValue=
None
, - vectorMinValueAutoCompute=
1
, - vectorMinValue=
None
, - tensorQuantity=
ALL_PRINCIPAL_COMPONENTS
, - arrowSymbolSize=
6
, - tensorMaxPrinColor=
''
, - tensorMinPrinColor=
''
, - tensorMidPrinColor=
''
, - tensorSelectedPrinColor=
''
, - tensorLineThickness=
VERY_THIN
, - tensorArrowheadStyle=
WIRE
, - tensorMaxValueAutoCompute=
1
, - tensorMaxValue=
None
, - tensorMinValueAutoCompute=
1
, - tensorMinValue=
None
, This method modifies the SymbolOptions object.
- 参数:¶
- options=
None
¶ A SymbolOptions object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in options. The default value is None.
- vectorQuantity=
RESULTANT
¶ A SymbolicConstant specifying the vector quantity to display. Possible values are RESULTANT and VECTOR_COMPONENT. The default value is RESULTANT.
- vectorLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the vector line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- vectorArrowheadStyle=
WIRE
¶ A SymbolicConstant specifying the vector arrowhead style. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
- vectorColor=
''
¶ A String specifying the vector color. The default value is "Red".
- vectorColorMethod=
SPECTRUM
¶ A SymbolicConstant specifying the vector color method. Possible values are UNIFORM and SPECTRUM. The default value is SPECTRUM.
- vectorColorSpectrum=
''
¶ A String specifying the vector color spectrum name. The default value is "Rainbow".
- vectorIntervalNumber=
12
¶ An Int specifying the number of color intervals for vector symbols. The default value is 12.
- symbolDensity=
1
¶ A Float specifying the factor for randomized sampling. The default value is 1.0.
- constantLengthArrows=
0
¶ A Boolean specifying whether to use constant-length arrows for vector symbols. The default value is OFF.
- tensorColorMethod=
SPECTRUM
¶ A SymbolicConstant specifying the tensor color method. Possible values are UNIFORM and SPECTRUM. The default value is SPECTRUM.
- tensorColorSpectrum=
''
¶ A String specifying the tensor color spectrum name. The default value is "Rainbow".
- tensorIntervalNumber=
12
¶ An Int specifying the number of color intervals for tensor symbols. The default value is 12.
- vectorMaxValueAutoCompute=
1
¶ A Boolean specifying whether the maximum vector value is to be computed automatically. The default value is ON.
- vectorMaxValue=
None
¶ A Float specifying the user-specified maximum vector value. The default value is autoVectorMaxValue.
- vectorMinValueAutoCompute=
1
¶ A Boolean specifying whether the minimum vector value is to be computed automatically. The default value is ON.
- vectorMinValue=
None
¶ A Float specifying the user-specified minimum vector value. The default value is autoVectorMinValue.
- tensorQuantity=
ALL_PRINCIPAL_COMPONENTS
¶ A SymbolicConstant specifying the tensor quantity to display. Possible values are ALL_PRINCIPAL_COMPONENTS, PRINCIPAL_COMPONENT, ALL_DIRECT_COMPONENTS, and DIRECT_COMPONENT. The default value is ALL_PRINCIPAL_COMPONENTS.
- arrowSymbolSize=
6
¶ An Int specifying the length of vector and tensor symbols. The default value is 6.
- tensorMaxPrinColor=
''
¶ A String specifying the color of the maximum principal tensor symbols. The default value is "Red".
- tensorMinPrinColor=
''
¶ A String specifying the color of the minimum principal tensor symbols. The default value is "Cyan".
- tensorMidPrinColor=
''
¶ A String specifying the color of the intermediate principal tensor symbols. The default value is "Yellow".
- tensorSelectedPrinColor=
''
¶ A String specifying the color of the selected principal tensor symbols. The default value is "Red".
- tensorLineThickness=
VERY_THIN
¶ A SymbolicConstant specifying the line thickness of the tensor symbols. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- tensorArrowheadStyle=
WIRE
¶ A SymbolicConstant specifying the arrowhead style of the tensor symbols. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
- tensorMaxValueAutoCompute=
1
¶ A Boolean specifying whether the maximum tensor value is to be computed automatically. The default value is ON.
- tensorMaxValue=
None
¶ A Float specifying the user-specified maximum tensor value. The default value is autoTensorMaxValue.
- tensorMinValueAutoCompute=
1
¶ A Boolean specifying whether the minimum tensor value is to be computed automatically. The default value is ON.
- tensorMinValue=
None
¶ A Float specifying the user-specified minimum tensor value. The default value is autoTensorMinValue.
- options=
- 抛出:¶
RangeError --
-
symbolDensity : --is-rst--:py:class:`float` =
1
[源代码]¶ A Float specifying the factor for randomized sampling. The default value is 1.0.
-
tensorArrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIRE'
[源代码]¶ A SymbolicConstant specifying the arrowhead style of the tensor symbols. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
-
tensorColorMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SPECTRUM'
[源代码]¶ A SymbolicConstant specifying the tensor color method. Possible values are UNIFORM and SPECTRUM. The default value is SPECTRUM.
-
tensorColorSpectrum : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the tensor color spectrum name. The default value is "Rainbow".
-
tensorIntervalNumber : --is-rst--:py:class:`int` =
12
[源代码]¶ An Int specifying the number of color intervals for tensor symbols. The default value is 12.
-
tensorLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the line thickness of the tensor symbols. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
tensorMaxPrinColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of the maximum principal tensor symbols. The default value is "Red".
-
tensorMaxValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the user-specified maximum tensor value. The default value is autoTensorMaxValue.
-
tensorMaxValueAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the maximum tensor value is to be computed automatically. The default value is ON.
-
tensorMidPrinColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of the intermediate principal tensor symbols. The default value is "Yellow".
-
tensorMinPrinColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of the minimum principal tensor symbols. The default value is "Cyan".
-
tensorMinValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the user-specified minimum tensor value. The default value is autoTensorMinValue.
-
tensorMinValueAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the minimum tensor value is to be computed automatically. The default value is ON.
-
tensorQuantity : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'ALL_PRINCIPAL_COMPONENTS'
[源代码]¶ A SymbolicConstant specifying the tensor quantity to display. Possible values are ALL_PRINCIPAL_COMPONENTS, PRINCIPAL_COMPONENT, ALL_DIRECT_COMPONENTS, and DIRECT_COMPONENT. The default value is ALL_PRINCIPAL_COMPONENTS.
-
tensorSelectedPrinColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color of the selected principal tensor symbols. The default value is "Red".
-
textColorT : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the text color for tensor. The default value is "Yellow".
-
textColorV : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the text color for vector. The default value is "Yellow".
-
textFontT : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the text font for tensor. The default value is "verdana".
-
textFontV : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the text font for vector. The default value is "verdana".
-
vectorArrowheadStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIRE'
[源代码]¶ A SymbolicConstant specifying the vector arrowhead style. Possible values are NONE, FILLED, and WIRE. The default value is WIRE.
-
vectorColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the vector color. The default value is "Red".
-
vectorColorMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SPECTRUM'
[源代码]¶ A SymbolicConstant specifying the vector color method. Possible values are UNIFORM and SPECTRUM. The default value is SPECTRUM.
-
vectorColorSpectrum : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the vector color spectrum name. The default value is "Rainbow".
-
vectorIntervalNumber : --is-rst--:py:class:`int` =
12
[源代码]¶ An Int specifying the number of color intervals for vector symbols. The default value is 12.
-
vectorLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'VERY_THIN'
[源代码]¶ A SymbolicConstant specifying the vector line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
-
vectorMaxValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the user-specified maximum vector value. The default value is autoVectorMaxValue.
-
vectorMaxValueAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the maximum vector value is to be computed automatically. The default value is ON.
-
vectorMinValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the user-specified minimum vector value. The default value is autoVectorMinValue.
-
arrowScaleMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
- class OdbDisplay[源代码]¶
基类:
object
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.
备注
This object can be accessed by:
session.viewports[name].layers[name].odbDisplay import visualization session.viewports[name].odbDisplay
备注
Member Details:
- ViewCut(
- name,
- shape,
- origin,
- normal,
- axis2,
- csysName,
- cylinderAxis,
- followDeformation=
0
, - overrideAveraging=
1
, - referenceFrame=
FIRST_FRAME
, This method creates a ViewCut object.
备注
This function can be accessed by:
session.viewports[name].layers[name].odbDisplay.ViewCut session.viewports[name].odbDisplay.ViewCut
备注
Check ViewCut on help.3ds.com/2020.
- 参数:¶
- name¶
A String specifying the repository key.
- shape¶
A SymbolicConstant specifying the shape of the ViewCut object. Possible values are PLANE, CYLINDER, SPHERE, and ISOSURFACE.
- origin¶
A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the origin of the plane, cylinder or sphere cut. This origin is not required if the cut shape is ISOSURFACE or if the cut is defined by the csysName argument.
- normal¶
A sequence of Floats specifying the X-, Y-, and Z-coordinates of the normal axis to the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this normal axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
- axis2¶
A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the second axis of the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this second axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is used to rotate the plane cut. It is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
- csysName¶
A String specifying the name of the DatumCsys object to be used to define the cut. This name is not required if the cut shape is ISOSURFACE or if the cut is defined by the origin argument.
- cylinderAxis¶
A sequence of Floats specifying the X-, Y-, and Z-coordinates of the cylinder axis defining the cut, when the cut is defined using the origin argument or a SymbolicConstant defining this cylinder axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is PLANE, SPHERE, or ISOSURFACE.
- followDeformation=
0
¶ A Boolean specifying whether the cut will follow the deformation or be static. The default value is OFF.
- overrideAveraging=
1
¶ A Boolean specifying averaging for element based fields associated with isosurface cuts will be set to compute-average with a threshold of 100% when true. The current field options will be used when false. The default value is ON.
- referenceFrame=
FIRST_FRAME
¶ A SymbolicConstant specifying which reference frame will be used when the cut follows the deformation. Possible values are FIRST_FRAME, LAST_FRAME, and CURRENT_FRAME. The default value is FIRST_FRAME.
- 返回:¶
A ViewCut object.
- 返回类型:¶
- applyStatusToUndeformed : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A tuple of SymbolicConstants specifying a Boolean to specify if elements are to be removed in undeformed states based on an active status variable
-
basicOptions : --is-rst--:py:class:`~abaqus.PlotOptions.BasicOptions.BasicOptions` =
<abaqus.PlotOptions.BasicOptions.BasicOptions object>
[源代码]¶ A BasicOptions object.
-
commonOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.CommonOptions.CommonOptions` =
<abaqus.OdbDisplay.CommonOptions.CommonOptions object>
[源代码]¶ A CommonOptions object.
-
contourOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.ContourOptions.ContourOptions` =
<abaqus.OdbDisplay.ContourOptions.ContourOptions object>
[源代码]¶ A ContourOptions object.
-
deformedVariable : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A tuple specifying variables.For information on the sequence, see the member primaryVariable.
-
display : --is-rst--:py:class:`~abaqus.PlotOptions.DisplayOptions.DisplayOptions` =
<abaqus.PlotOptions.DisplayOptions.DisplayOptions object>
[源代码]¶ A DisplayOptions object.
-
displayBodyOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.DisplayBodyOptions.DisplayBodyOptions` =
<abaqus.OdbDisplay.DisplayBodyOptions.DisplayBodyOptions object>
[源代码]¶ A DisplayBodyOptions object.
-
displayGroup : --is-rst--:py:class:`~abaqus.DisplayGroup.DisplayGroup.DisplayGroup` =
<abaqus.DisplayGroup.DisplayGroup.DisplayGroup object>
[源代码]¶ A DisplayGroup object specifying the current display group and referring to an object in the displayGroups member of Session.
-
displayGroupInstances : --is-rst--:py:class:`~abaqus.DisplayGroup.DisplayGroupInstanceRepository.DisplayGroupInstanceRepository` =
<abaqus.DisplayGroup.DisplayGroupInstanceRepository.DisplayGroupInstanceRepository object>
[源代码]¶ A DisplayGroupInstanceRepository object.
-
elementSet : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] =
{}
[源代码]¶ A repository of OdbSet objects specifying the set label. The repository is read-only.
-
fieldFrame : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ 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.
-
fieldSteps : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ 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.
-
fieldVariables : --is-rst--:py:class:`~abaqus.FieldReport.OdbFieldVarList.OdbFieldVarList` =
[]
[源代码]¶ An OdbFieldVarList object.
-
firstFrame : --is-rst--:py:class:`str` =
''
[源代码]¶ A pair of Ints specifying the step index and the frame index of the first available frame. This sequence is read-only.
-
freeBodyOptions : --is-rst--:py:class:`~abaqus.PlotOptions.FreeBodyOptions.FreeBodyOptions` =
<abaqus.PlotOptions.FreeBodyOptions.FreeBodyOptions object>
[源代码]¶ A FreeBodyOptions object.
-
lastFrame : --is-rst--:py:class:`str` =
''
[源代码]¶ A pair of Ints specifying the step index and the frame index of the last available frame. This sequence is read-only.
-
materialOrientationOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.OrientationOptions.OrientationOptions` =
<abaqus.OdbDisplay.OrientationOptions.OrientationOptions object>
[源代码]¶ An OrientationOptions object.
-
modelVariableList : --is-rst--:py:class:`~abaqus.FieldReport.OdbModelFieldVarList.OdbModelFieldVarList` =
<abaqus.FieldReport.OdbModelFieldVarList.OdbModelFieldVarList object>
[源代码]¶ An OdbModelFieldVarList object.
- moveCameraToCsys()[源代码]¶
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.
-
name : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the output database associated with the OdbDisplay object.
-
nextFrame : --is-rst--:py:class:`str` =
''
[源代码]¶ A pair of Ints specifying the step index and the frame index of the frame following the current frame. This sequence is read-only.
-
nodeSet : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] =
{}
[源代码]¶ A repository of OdbSet objects specifying the set label. The repository is read-only.
-
prevFrame : --is-rst--:py:class:`str` =
''
[源代码]¶ 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.
-
primaryVariable : --is-rst--:py:class:`tuple` =
()
[源代码]¶ 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.
- setDeformedVariable(variableLabel, field)[源代码]¶
This method specifies the field output variable or FieldOutput object to be used when displaying the deformed shape of the model.
- setPrimarySectionPoint(sectionPoint, activePly)[源代码]¶
This method specifies the section point for the current primary, symbol and status variables.
- 参数:¶
- sectionPoint¶
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)', }
- activePly¶
A String specifying the active ply name.
- 抛出:¶
- If the viewport is not associated with any Odb object: -- The current viewport is not associated with an ODB file. Requested operation cancelled.
- setPrimaryVariable(
- variableLabel,
- field,
- outputPosition,
- refinement=
None
, - sectionPoint=
None
, This method specifies the field output variable for which to obtain results.
- 参数:¶
- variableLabel¶
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
- field¶
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
- outputPosition¶
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.
- refinement=
None
¶ 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.
- sectionPoint=
None
¶ 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)', }
- 抛出:¶
Exception -- If the viewport is not associated with any Odb object The current viewport is not associated with an ODB file. Requested operation cancelled.
- setStatusVariable(
- variableLabel,
- field,
- outputPosition,
- refinement=
None
, - sectionPoint=
None
, - statusMinimum=
None
, - statusMaximum=
None
, - statusInsideRange=
0
, - useStatus=
0
, - applyStatusToUndeformed=
False
, This method specifies the field output variable for filtering element display based on a status criteria.
- 参数:¶
- variableLabel¶
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
- field¶
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
- outputPosition¶
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.
- refinement=
None
¶ 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.
- sectionPoint=
None
¶ 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)', }
- statusMinimum=
None
¶ A Float specifying the minimum result value to be considered for element removal.
- statusMaximum=
None
¶ A Float specifying the maximum result value to be considered for element removal.
- statusInsideRange=
0
¶ 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.
- useStatus=
0
¶ A Boolean to specify if the status variable is to be active.
- applyStatusToUndeformed=
False
¶ A Boolean to specify if the active status variable is to remove elements from undeformed plots. The default value is False.
- 抛出:¶
- If the viewport is not associated with any Odb object: -- The current viewport is not associated with an ODB file. Requested operation cancelled.
- setStreamVariable(variableLabel)[源代码]¶
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.
- setSymbolVariable(
- variableLabel,
- field,
- outputPosition,
- refinement=
None
, - sectionPoint=
None
, - tensorQuantity=
None
, - vectorQuantity=
None
, 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.
- 参数:¶
- variableLabel¶
A String specifying the field output variable. The variableLabel and field arguments are mutually exclusive.
- field¶
A String specifying the FieldOutput object. The variableLabel and field arguments are mutually exclusive.
- outputPosition¶
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.
- refinement=
None
¶ 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.
- sectionPoint=
None
¶ 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)', }
- tensorQuantity=
None
¶ A SymbolicConstant specifying the tensor quantity to be displayed with the symbol. This value is set in the SymbolOptions object.
- vectorQuantity=
None
¶ A SymbolicConstant specifying the vector quantity to be displayed with the symbol. This value is set in the SymbolOptions object.
- 抛出:¶
- If the viewport is not associated with any Odb object: -- The current viewport is not associated with an ODB file. Requested operation cancelled.
-
setValues(visibleDisplayGroups=
''
, viewCut=0
, viewCutNames=''
)[源代码]¶ This method specifies member values for the OdbDisplay object.
- statusInsideRange : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
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.
-
statusMaximum : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ A tuple of Floats specifying a Float value for the maximum status range value.
-
statusMinimum : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ A tuple of Floats specifying a Float value for the minimum status range value.
- statusVariable : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A tuple of SymbolicConstants specifying variables.For information on the sequence, see the member primaryVariable.
-
streamOptions : --is-rst--:py:class:`~abaqus.PlotOptions.StreamOptions.StreamOptions` =
<abaqus.PlotOptions.StreamOptions.StreamOptions object>
[源代码]¶ A StreamOptions object.
-
superimposeOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.SuperimposeOptions.SuperimposeOptions` =
<abaqus.OdbDisplay.SuperimposeOptions.SuperimposeOptions object>
[源代码]¶ A SuperimposeOptions object.
-
surfaceSet : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] =
{}
[源代码]¶ A repository of OdbSet objects specifying the set label. The repository is read-only.
-
symbolOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.SymbolOptions.SymbolOptions` =
<abaqus.OdbDisplay.SymbolOptions.SymbolOptions object>
[源代码]¶ A SymbolOptions object.
- symbolVariable : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A tuple of SymbolicConstants specifying variables.For information on the sequence, see the member primaryVariable.
- useStatus : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A tuple of SymbolicConstants specifying a Boolean to specify if elements are to be removed based on the status variable
- class ViewCut(
- name,
- shape,
- origin,
- normal,
- axis2,
- csysName,
- cylinderAxis,
- followDeformation=
0
, - overrideAveraging=
1
, - referenceFrame=
FIRST_FRAME
, 基类:
object
The ViewCut object is used to store values and attributes associate with ViewCut type objects. ViewCut objects can be created using the methods described below. The methods accessed via the OdbDisplay object cause the ViewCut object to be added to the session.viewports[name].odbDisplay.viewCuts repository.
备注
This object can be accessed by:
import visualization session.viewports[name].layers[name].odbDisplay.viewCuts[name] session.viewports[name].odbDisplay.viewCuts[name]
备注
Check ViewCut on help.3ds.com/2020.
Member Details:
-
active : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the cut is displayed.
-
angle : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the rotation angle of the cut defined with a shape set to PLANE.
-
axis2 : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:class:`float`, :py:class:`float`], :py:data:`...<Ellipsis>`]] =
()
[源代码]¶ A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the second axis of the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this second axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is used to rotate the plane cut. It is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
-
crossSectionalArea : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float returning the cross-sectional area of the cut when showFreeBodyCut is set to ON.
- ..versionadded:: 2018
The
crossSectionalArea
attribute was added.
- csysName : --is-rst--:py:class:`str`[源代码]¶
A String specifying the name of the DatumCsys object to be used to define the cut. This name is not required if the cut shape is ISOSURFACE or if the cut is defined by the origin argument.
-
cutRange : --is-rst--:py:class:`~typing.Sequence`\ \[:py:class:`float`] =
()
[源代码]¶ A pair of Floats specifying the acceptable range for positioning the cut.
-
cylinderAxis : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`]] =
()
[源代码]¶ A sequence of Floats specifying the X-, Y-, and Z-coordinates of the cylinder axis defining the cut, when the cut is defined using the origin argument or a SymbolicConstant defining this cylinder axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is PLANE, SPHERE, or ISOSURFACE.
-
followDeformation : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the cut will follow the deformation or be static. The default value is OFF.
-
motion : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'TRANSLATE'
[源代码]¶ A SymbolicConstant specifying the type of motion for the cut defined with a shape set to PLANE. Possible values are TRANSLATE and ROTATE. The default value is TRANSLATE.
-
normal : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`]] =
()
[源代码]¶ A sequence of Floats specifying the X-, Y-, and Z-coordinates of the normal axis to the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this normal axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
- origin : --is-rst--:py:class:`tuple`[源代码]¶
A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the origin of the plane, cylinder or sphere cut. This origin is not required if the cut shape is ISOSURFACE or if the cut is defined by the csysName argument.
-
overrideAveraging : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying averaging for element based fields associated with isosurface cuts will be set to compute-average with a threshold of 100% when true. The current field options will be used when false. The default value is ON.
-
position : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the position of the cut defined with a shape set to PLANE.
-
radius : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the radius of the cut defined with a shape set to CYLINDER or SPHERE.
-
referenceFrame : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'FIRST_FRAME'
[源代码]¶ A SymbolicConstant specifying which reference frame will be used when the cut follows the deformation. Possible values are FIRST_FRAME, LAST_FRAME, and CURRENT_FRAME. The default value is FIRST_FRAME.
-
rotationAxis : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'AXIS_2'
[源代码]¶ A SymbolicConstant specifying the rotation axis for the cut defined with a shape set to PLANE. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_2.
- setValues(
- angle=
None
, - motion=
TRANSLATE
, - position=
None
, - radius=
None
, - rotationAxis=
AXIS_2
, - value=
None
, - showModelAboveCut=
0
, - showModelOnCut=
1
, - showModelBelowCut=
1
, - showFreeBodyCut=
0
, - csysName=
''
, - origin=
()
, - normal=
AXIS_1
, - axis2=
AXIS_2
, - cylinderAxis=
AXIS_3
, - followDeformation=
0
, - overrideAveraging=
1
, - referenceFrame=
FIRST_FRAME
, This method modifies the ViewCut object.
备注
- 参数:¶
- angle=
None
¶ A Float specifying the rotation angle of the cut defined with a shape set to PLANE.
- motion=
TRANSLATE
¶ A SymbolicConstant specifying the type of motion for the cut defined with a shape set to PLANE. Possible values are TRANSLATE and ROTATE. The default value is TRANSLATE.
- position=
None
¶ A Float specifying the position of the cut defined with a shape set to PLANE.
- radius=
None
¶ A Float specifying the radius of the cut defined with a shape set to CYLINDER or SPHERE.
- rotationAxis=
AXIS_2
¶ A SymbolicConstant specifying the rotation axis for the cut defined with a shape set to PLANE. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_2.
- value=
None
¶ A Float specifying the value of the cut defined with a shape set to ISOSURFACE.
- showModelAboveCut=
0
¶ A Boolean specifying whether to display the model above the cut. The default value is OFF.
- showModelOnCut=
1
¶ A Boolean specifying whether to display the model on the cut. The default value is ON.
- showModelBelowCut=
1
¶ A Boolean specifying whether to display the model below the cut. The default value is ON.
- showFreeBodyCut=
0
¶ A Boolean specifying whether to display the free body cut. The default value is OFF.
- csysName=
''
¶ A String specifying the name of the DatumCsys object to be used to define the cut. This name is not required if the cut shape is ISOSURFACE or if the cut is defined by the origin argument.
- origin=
()
¶ A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the origin of the plane, cylinder or sphere cut. This origin is not required if the cut shape is ISOSURFACE or if the cut is defined by the csysName argument.
- normal=
AXIS_1
¶ A sequence of Floats specifying the X-, Y-, and Z-coordinates of the normal axis to the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this normal axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
- axis2=
AXIS_2
¶ A sequence of three Floats specifying the X-, Y-, and Z-coordinates of the second axis of the plane defining the cut, when the plane is defined using the origin argument or a SymbolicConstant defining this second axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is used to rotate the plane cut. It is not required if the cut shape is CYLINDER, SPHERE or ISOSURFACE.
- cylinderAxis=
AXIS_3
¶ A sequence of Floats specifying the X-, Y-, and Z-coordinates of the cylinder axis defining the cut, when the cut is defined using the origin argument or a SymbolicConstant defining this cylinder axis, when the cut is defined by the csysName argument. Possible values are AXIS_1, AXIS_2, AXIS_3. This axis is not required if the cut shape is PLANE, SPHERE, or ISOSURFACE.
- followDeformation=
0
¶ A Boolean specifying whether the cut will follow the deformation or be static. The default value is OFF.
- overrideAveraging=
1
¶ A Boolean specifying averaging for element based fields associated with isosurface cuts will be set to compute-average with a threshold of 100% when true. The current field options will be used when false. The default value is ON.
- referenceFrame=
FIRST_FRAME
¶ A SymbolicConstant specifying which reference frame will be used when the cut follows the deformation. Possible values are FIRST_FRAME, LAST_FRAME, and CURRENT_FRAME. The default value is FIRST_FRAME.
- angle=
- shape : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A SymbolicConstant specifying the shape of the ViewCut object. Possible values are PLANE, CYLINDER, SPHERE, and ISOSURFACE.
-
showFreeBodyCut : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to display the free body cut. The default value is OFF.
-
showModelAboveCut : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to display the model above the cut. The default value is OFF.
-
showModelBelowCut : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to display the model below the cut. The default value is ON.
-
showModelOnCut : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to display the model on the cut. The default value is ON.
-
active : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class ViewerOptions[源代码]¶
基类:
object
The ViewerOptions object specifies options to set the result caching parameters. The ViewerOptions object has no constructor. Abaqus creates the viewerOptions member when a session is started.
备注
This object can be accessed by:
import visualization session.viewerOptions
备注
Member Details:
- setValues(
- primaryVariableCaching=
1
, - deformedVariableCaching=
1
, - cutVariableCaching=
1
, - odbUpdateChecking=
1
, - odbUpdateCheckInterval=
0
, This method modifies the ViewerOptions object.
- 参数:¶
- primaryVariableCaching=
1
¶ A Boolean specifying whether results are currently cached. Caching improves the performance of subsequent access. The default value is ON.
- deformedVariableCaching=
1
¶ A Boolean specifying whether deformation vectors are currently cached. Caching improves the performance of subsequent access. The default value is ON.
- cutVariableCaching=
1
¶ A Boolean specifying whether the values used for displaying cut models are currently cached. Caching improves the performance of subsequent access. The default value is ON.
- odbUpdateChecking=
1
¶ A Boolean specifying whether the current .odb file should be checked for updates. Setting odbUpdateChecking to OFF can improve Viewer performance when accessing data from a remote file. The default value is ON.
- odbUpdateCheckInterval=
0
¶ An Int specifying the minimum time between status checks (in seconds). The default value is 0.
- primaryVariableCaching=