Abaqus Session¶
Session commands are used to create objects that are not stored with the model; for example, viewports and display groups. Abaqus/CAE retains Session objects only for the duration of the session; they are not saved when the model database is saved.
Classes¶
Session¶
- class Session[源代码]¶
基类:
AnimationSession
,CanvasSession
,DisplayGroupSession
,FieldReportSession
,JobSession
,OdbSession
,PathSession
,XYSession
The Session object has no constructor. Abaqus creates the session member when a session is started.
备注
This object can be accessed by:
session
备注
Check Session on help.3ds.com/2020.
Public Data Attributes:
Inherited from
SessionBase
A Boolean specifying whether an Abaqus interactive session is running.
A Boolean specifying whether Abaqus is executing a replay file.
A Float specifying the memory usage value for the Abaqus/CAE kernel process in megabytes.
A Float specifying the maximum value for the memory usage for the Abaqus/CAE kernel process in megabytes.
A Float specifying the limit for the memory use for the Abaqus/CAE kernel process in megabytes.
A repository of Color objects.
A JournalOptions object specifying how to record selection of geometry in the journal and replay files.
A MemoryReductionOptions object specifying options for running in reduced memory mode.
A NodeQuery object specifying nodes and their coordinates in a path.
A ConstrainedSketcherOptions object specifying common options for all sketches.
A ViewerOptions object.
An AnimationOptions object.
An AVIOptions object.
An ImageAnimationOptions object.
An ImageAnimation object.
A QuickTimeOptions object.
A repository of Viewport objects.
A RepositorySupport object.
A FieldReportOptions object.
A FreeBodyReportOptions object.
A FieldReportOptions object.
A FreeBodyReportOptions object.
A repository of Odb objects.
A repository of ScratchOdb objects.
A DefaultOdbDisplay object.
A DefaultPlot object.
A DefaultChartOptions object.
A repository of OdbData objects.
A repository of MdbData objects.
A repository of Path objects.
A repository of FreeBody objects.
A repository of Stream objects.
A repository of Spectrum objects.
A CurrentProbeValues object.
A ProbeOptions object.
A ProbeOptions object.
A ProbeReport object.
A ProbeReport object.
A SelectedProbeValues object.
A PrintOptions object.
An EpsOptions object.
A PageSetupOptions object.
A PngOptions object.
A PsOptions object.
A SvgOptions object.
A TiffOptions object.
An AutoColors object specifying the color palette to be used for color coding.
An AutoColors object specifying the color palette to be used forXYCurve objects.
A repository of XYData objects.
A repository of XYCurve objects.
A repository of XYPlot objects.
A repository of Chart objects.
An XYReportOptions object.
An XYReportOptions object.
A repository of View objects.
A repository of NetworkDatabaseConnector objects.
A repository of DisplayGroup objects.
A GraphicsInfo object.
A GraphicsOptions object.
A GraphicsOptions object.
A ViewportAnnotationOptions object.
A repository of Queue objects.
A String specifying the name of the current viewport.
A Dictionary object specifying the viewports and their associated models.
A repository of Image objects.
A repository of Movie objects.
A LightOptions object.
A DrawingArea object.
A MesherOptions object specifying how to control default settings in the Mesh module.
A repository of Drawing objects.
Public Methods:
Inherited from
AnimationSession
writeImageAnimation
(fileName, format[, ...])This method writes the animations present in the list of canvas objects to a file.
Movie
(name, fileName[, startFrame, ...])This method creates a Movie object from the contents of the specified file.
Inherited from
CanvasSession
Viewport
(name[, origin, width, height, ...])This method creates a Viewport object with the specified origin and dimensions.
Inherited from
DisplayGroupSession
DisplayGroup
(name, leaf)This method creates a DisplayGroup object.
Inherited from
FieldReportSession
writeFieldReport
(filename, append, sortItem, ...)This method writes a FieldOutput object to a user-defined ASCII file.
writeFreeBodyReport
(fileName, append[, ...])This method writes a FreeBody object to a user-defined ASCII file.
Inherited from
JobSession
Queue
(name, queueName[, hostName, fileCopy, ...])This method creates a Queue object.
Inherited from
OdbSession
ScratchOdb
(odb)This method creates a new ScratchOdb object.
openOdb
(name[, path, readOnly])This method opens an existing output database (.odb) file and creates a new Odb object. This method is accessed only via the session object inside Abaqus/CAE and adds the new Odb object to the session.odbs repository. This method allows you to open multiple output databases at the same time and to use the repository key to specify a particular output database. For example::.
upgradeOdb
(existingOdbPath, upgradedOdbPath)This method upgrades an existing Odb object to the current release and writes the upgraded version of the Odb object to a file.
Inherited from
PathSession
Path
(name, type, expression, ...)This method creates a Path object.
Spectrum
(name, colors)This method creates a Spectrum object and places it in the spectrums repository.
Stream
(name, numPointsOnRake[, pointA, ...])This method creates aStream object and places it in the streams repository.
Inherited from
XYSession
AreaStyle
([color, fill, style])This method creates an AreaStyle.
LineStyle
([color, show, style, thickness])This method creates a LineStyle.
QuantityType
([label, type])This method creates a QuantityType object.
SymbolStyle
([color, show, marker, size])This method creates a SymbolStyle object.
TextStyle
([color, show, font, rotationAngle])This method creates a TextStyle.
XYData
()XYDataFromFile
(fileName[, name, ...])This method creates an XYData object from data in an ASCII file.
XYDataFromHistory
(odb, outputVariableName, steps)This method creates an XYData object by reading history data from an Odb object.
xyDataListFromField
(odb, outputPosition, ...)This method creates a list of XYData objects by reading field data from an Odb object.
XYDataFromFreeBody
(odb[, force, moment, ...])This method creates a list of XYData objects by computing free body data from an Odb object.
XYDataFromShellThickness
(odb, ...[, ...])This method creates a list of XYData objects by reading through the thickness field data from an Odb object.
XYDataFromPath
(path, name[, ...])This method creates an XYData object from path information.
Inherited from
XYSessionBase
linearizeStress
(name, path, startPoint, ...)This method is used to perform stress linearization along a defined stress line.
setPathTolerance
([tolerance])This method is used to set the tolerance to be used when creating XYData objects by extracting results along Path objects.
This method is used to get the tolerance used when creating XYData objects by extracting results along Path objects.
setLimitForXYDataPlots
([limit])This method is used to set the limit for number of XY data objects while creating XYData from field output.
This method is used to get the limit for number of XY data objects while creating XYData from field output.
Inherited from
SessionBase
setValues
([kernelMemoryLimit])This method modifies the Session object.
enableCADConnection
(CADName[, portNum])This method enables the Abaqus/CAE listening port for the specified CAD system.
This method checks the status of CAD Connection.
disableCADConnection
(CADName)This method disables an associative import CAD connection that was enabled.
enableParameterUpdate
(CADName, CADVersion[, ...])This method enables parameter updates for ProE and NX by establishing a connection with the listening port previously setup by the CAD application.
setCADPortNumber
(CADName, Port)This method enables parameter updates for CATIA V5 and CATIA V6 by establishing a connection with the listening port previously setup by the CAD application.
updateCADParameters
(modelName, CADName, ...)This method updates the parameters for the specified model using the specified parameter file.
disableParameterUpdate
(CADName)This method disables an associative CAD connection using parameters.
printToFile
(fileName[, format, ...])This method prints canvas objects to a file using the attributes stored in the PrintOptions object and the appropriate format options object.
printToPrinter
([printCommand, numCopies, ...])This method prints canvas objects to a Windows printer or to a PostScript printer.
saveOptions
(directory)This method saves your customized display settings.
writeVrmlFile
(fileName[, format, canvasObjects])This method exports the current viewport objects to a file.
write3DXMLFile
(fileName[, format, canvasObjects])This method exports the current viewport objects to a file.
writeOBJFile
(fileName[, canvasObjects])This method exports the current viewport objects to a file.
Member Details:
Other Classes¶
- class AutoColors[源代码]¶
基类:
object
The AutoColors object defines a color palette.
备注
This object can be accessed by:
session.autoColors
备注
Member Details:
- class Color[源代码]¶
基类:
object
The Color object contains the RGB definition of a system color.
备注
This object can be accessed by:
session.colors[name]
备注
Check Color on help.3ds.com/2020.
Member Details:
-
rgb : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the RGB value of the color. The Float values must be between 0.0 and 1.0.
-
rgb : --is-rst--:py:class:`float` | :py:obj:`None` =
- class Drawing(name)[源代码]¶
基类:
object
A drawing is the container for a geometric object. The Drawing object stores the vertex data and various settings that determine how the drawing will be displayed.
备注
This object can be accessed by:
session.drawings[name]
备注
Check Drawing on help.3ds.com/2020.
Member Details:
-
addArrayDraw(type, startIndex, numVertices, polygonMode=
FILL
)[源代码]¶ This method adds a rendering command to the drawing and can be called multiple times to add additional rendering commands. When the drawing is referenced by a Viewport, the drawing commands are used the render the Drawing. The rendering command constructs the specified type of geometric primitive using numVertices array elements starting at element index startIndex.
- 参数:¶
- type¶
A SymbolicConstant specifying the type of graphics primitive rendered by this command. Possible values are POINTS, LINES, LINE_LOOP, LINE_STRIP, TRIANGLES, TRIANGLE_STRIP, TRIANGLE_FAN, QUADS, and QUAD_STRIP.
- startIndex¶
An Integer specifying the index of the first vertex to render.
- numVertices¶
An Integer specifying the total number of vertices to render.
- polygonMode=
FILL
¶ A SymbolicConstant specifying how polygonal graphics primitives will be rendered by this command. Possible values are FILL, EDGES, and POINTS. The default value is FILL.
- 返回:¶
The total number of rendering commands that have been specified.
- 返回类型:¶
- 抛出:¶
ValueError – If (startIndex + numVertices - 1) is larger than the length of the vertex array:
ValueError – Drawing request extends past array size of vertices, - If (startIndex + numVertices - 1) is larger than the length of the normal array and normals are required for the graphics primitive: Drawing request extends past array size of normals. - If (startIndex + numVertices - 1) is larger than the length of the color array and vertex colors are required for the graphics primitive: Drawing request extends past array size of colors.
-
addIndexDraw(type, indices, polygonMode=
FILL
)[源代码]¶ This method adds a rendering command to the drawing and can be called multiple times to add additional rendering commands. When the drawing is referenced by a Viewport, the drawing commands are used the render the Drawing. The rendering command constructs the specified type of geometric primitive using numVertices array elements starting at element index startIndex.
- 参数:¶
- type¶
A SymbolicConstant specifying the type of graphics primitive rendered by this command. Possible values are POINTS, LINES, LINE_LOOP, LINE_STRIP, TRIANGLES, TRIANGLE_STRIP, TRIANGLE_FAN, QUADS, and QUAD_STRIP.
- indices¶
A sequence of Integer values specifying index of each vertex to render.
- polygonMode=
FILL
¶ A SymbolicConstant specifying how polygonal graphics primitives will be rendered by this command. Possible values are FILL, EDGES, and POINTS. The default value is FILL.
- 返回:¶
The total number of rendering commands that have been specified.
- 返回类型:¶
- 抛出:¶
If any value in the indices sequence negative: ValueError Index values must be positive, - If any value in the indices sequence is larger than the length of the vertex array:
ValueError – Drawing request extends past array size of vertices, - If any value in the indices sequence is larger than the length of the normal array and normals are required for the graphics primitive: Drawing request extends past array size of normals. - If any value in the indices sequence is larger than the length of the color array and vertex colors are required for the graphics primitive: Drawing request extends past array size of colors.
-
colorCount : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the number of colors in the color array after a call to the setColors method. The default value is 0.
-
cullBackfaces : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether polygonal graphics primitives facing away from the viewer should be culled (not rendered). The default value is OFF.The winding order, and not the normal, of the graphics primitive is used to determine its facing.
-
edgeColor : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the Red, Green, and Blue component values for the edge color. Possible values for each component are between 0.0 and 1.0.
-
edgesInShaded : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether edge and point drawing commands will be issued in a FILLED or SHADED display. The default value is ON.If no edge or point drawing commands have been defined, the polygonal drawing commands will be issued in WIREFRAME and HIDDEN_LINE displays with the polygonMode set to EDGES. If only edge and point drawing commands have been defined, the Drawing will not be rendered in FILLED or SHADED displays.
-
frontFaceOrder : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'CCW'
[源代码]¶ A SymbolicConstant specifying the winding order for polygonal graphics primitives that face the viewer. Possible values are:CCW, specifying front face winding order is counter-clockwise.CW, specifying front face winding order is clockwise.The default value is CCW.
-
lineSize : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the width of the line, in millimeters, used to render edges. Possible values are 0.0 ≤ lineSize ≤ 5.0 with 0.0 being interpreted as the thinnest possible line. The default value is 0.0.A value of 0.0 will be one pixel on the output device. One pixel on the screen is generally visible but one pixel on a 1200 DPI printer may not be clear.
-
normalCount : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the number of normal vectors in the normal array after a call to the setNormals method. The default value is 0.
-
pointColor : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A tuple of three Floats specifying the Red, Green, and Blue component values for the point color. Possible values for each component are between 0.0 and 1.0.
-
pointSize : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying the width of points, in millimeters, used to render points. Possible values are 0.0 ≤ lineSize ≤ 5.0 with 0.0 being interpreted as the smallest possible point. The default value is 0.0.A value of 0.0 will be one pixel on the output device. One pixel on the screen is generally visible but one pixel on a 1200 DPI printer may not be clear.
- setColors(colorDimension, colorData)[源代码]¶
This method accepts the color data for each vertex. It defines in an array of colors with a length equal to the length of the colorData sequence divided by colorDimension.
备注
- 参数:¶
- colorDimension¶
An Integer in the range of 3 to 4 specifying how many Float values are needed to compose a single color.
- colorData¶
A sequence of Float values in the range of 0.0 to 1.0 that will be used to compose the colors. There must be colorDimension values in the sequence for each color. The first color will be associated with the fist vertex and so on.The first Float will be the red value for the first color. The second Float will be the green value and the third will be the blue value. When colorDimension is 4 the 4th Float will be the alpha value for the first color but is ignored.If only one color is specified, all vertices will use the color value.
- 返回:¶
The number of colors described.
- 返回类型:¶
- 抛出:¶
RangeError – If an invalid colorDimension is specified.
ValueError – If colorData is an empty sequence.
ValueError – If setColors has already been called and this call is sending fewer colors.
- setEdgeColor(edgeColor)[源代码]¶
This method allows a separate, single color to be used when rendering the edges of the drawing. Once called, edges will be rendered using the specified color but facets will continue to use the colors specified in the setColors method. An empty sequence can be specified to resume using the colors arrays for edges.
- 参数:¶
- edgeColor¶
A sequence of 0 or 3 Float values in the range of 0.0 to 1.0 that will be used to compose the edge color.If the initial Float value is -1, the viewport background color will be used for the edge color.
- 抛出:¶
If edgeColor is not a sequence of 0 or 3 Floats: ValueError: edgeColor must be a tuple with 3 values
- setNormals(normalData)[源代码]¶
This method accepts the normal data for each vertex. It defines in an array of normal vectors with a length equal to the length of the normalData sequence divided by 3.
备注
- 参数:¶
- normalData¶
A sequence of Float values that will be used to compose the normals. There must be 3 values in the sequence for each normal.If only one normal is specified, all vertices will use the normal value.
- 返回:¶
The number of normals described.
- 返回类型:¶
- 抛出:¶
RangeError –
ValueError – If normalData is sequence with less than 3 values.
ValueError – If setNormals has already been called and this call is sending fewer values.
- setPointColor(pointColor)[源代码]¶
This method allows a separate, single color to be used when rendering the points of the drawing. Once called, points will be rendered using the specified color but facets will continue to use the colors specified in the setColors method. An empty sequence can be specified to resume using the colors arrays for points.
- 参数:¶
- pointColor¶
A sequence of 0 or 3 Float values in the range of 0.0 to 1.0 that will be used to compose the point color.If the initial Float value is -1, the viewport background color will be used for the edge color.
- 抛出:¶
If pointColor is a not sequence of 0 or 3 Floats: ValueError: pointColor must be a tuple with 3 values
- setValues(
- show=
0
, - cullBackfaces=
0
, - frontFaceOrder=
CCW
, - smoothShade=
1
, - edgesInShaded=
1
, - translucency=
1
, - lineSize=
0
, - pointSize=
0
, - depthTest=
1
, This method modifies the rendering of the Drawing object.
备注
- 参数:¶
- show=
0
¶ A Boolean specifying whether the drawing object will be rendered when referenced. The default value is OFF.
- cullBackfaces=
0
¶ A Boolean specifying whether polygonal graphics primitives facing away from the viewer should be culled (not rendered). The default value is OFF.The winding order, and not the normal, of the graphics primitive is used to determine its facing.
- frontFaceOrder=
CCW
¶ A SymbolicConstant specifying the winding order for polygonal graphics primitives that face the viewer. Possible values are:CCW, specifying front face winding order is counter-clockwise.CW, specifying front face winding order is clockwise.The default value is CCW.
- smoothShade=
1
¶ A Boolean specifying whether the lighting of polygonal graphics primitives is consistent for each facet or calculated for each displayed pixel. The default value is ON.When False, only the last normal for each facet will be used in the lighting calculation.
- edgesInShaded=
1
¶ A Boolean specifying whether edge and point drawing commands will be issued in a FILLED or SHADED display. The default value is ON.If no edge or point drawing commands have been defined, the polygonal drawing commands will be issued in WIREFRAME and HIDDEN_LINE displays with the polygonMode set to EDGES. If only edge and point drawing commands have been defined, the Drawing will not be rendered in FILLED or SHADED displays.
- translucency=
1
¶ A Float specifying the opacity for polygonal graphics primitives. Possible values are 0.0 ≤ translucency ≤ 1.0 with 0.0 being completely transparent (invisible) and 1.0 being opaque. The default value is 1.0.A value greater than 0.3 will cause the translucent facets to be sorted by depth before being rendered and has the side effect of disabling two-sided lighting for those facets.
- lineSize=
0
¶ A Float specifying the width of the line, in millimeters, used to render edges. Possible values are 0.0 ≤ lineSize ≤ 5.0 with 0.0 being interpreted as the thinnest possible line. The default value is 0.0.A value of 0.0 will be one pixel on the output device. One pixel on the screen is generally visible but one pixel on a 1200 DPI printer may not be clear.
- pointSize=
0
¶ A Float specifying the width of points, in millimeters, used to render points. Possible values are 0.0 ≤ lineSize ≤ 5.0 with 0.0 being interpreted as the smallest possible point. The default value is 0.0.A value of 0.0 will be one pixel on the output device. One pixel on the screen is generally visible but one pixel on a 1200 DPI printer may not be clear.
- depthTest=
1
¶ A Boolean specifying whether an object’s depth will be considered during rendering. The default value is ON.When OFF, the object will not be hidden by other objects in front of it.
Added in version 2018: The
depthTest
argument was added.
- show=
- 抛出:¶
RangeError –
If an invalid translucency value is specified: RangeError: translucency must be in the range 0.0 <= value <= 1.0 - If an invalid lineSize value is specified: RangeError: lineSize must be in the range 0.0 <= value <= 5.0 - If an invalid pointSize value is specified: RangeError: pointSize must be in the range 0.0 <= value <= 5.0
- setVertices(vertexDimension, vertexData)[源代码]¶
This method accepts the vertex data that defines the Drawing object. It defines in an array of vertices with a length equal to the length of the vertexData sequence divided by vertexDimension.
备注
- 参数:¶
- 返回:¶
The number of vertices described.
- 返回类型:¶
- 抛出:¶
RangeError – If an invalid vertexDimension is specified.
ValueError – If vertexData is an empty sequence.
ValueError – If setVertices has already been called and this call is sending fewer vertices.
-
show : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the drawing object will be rendered when referenced. The default value is OFF.
-
smoothShade : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the lighting of polygonal graphics primitives is consistent for each facet or calculated for each displayed pixel. The default value is ON.When False, only the last normal for each facet will be used in the lighting calculation.
-
translucency : --is-rst--:py:class:`float` =
1
[源代码]¶ A Float specifying the opacity for polygonal graphics primitives. Possible values are 0.0 ≤ translucency ≤ 1.0 with 0.0 being completely transparent (invisible) and 1.0 being opaque. The default value is 1.0.A value greater than 0.3 will cause the translucent facets to be sorted by depth before being rendered and has the side effect of disabling two-sided lighting for those facets.
-
addArrayDraw(type, startIndex, numVertices, polygonMode=
- class Image(name, fileName)[源代码]¶
基类:
object
The Image object is used to store color values and attributes associated with a raster file. Upon creation, the Image object is added to the session.images repository.
备注
This object can be accessed by:
session.images[name]
备注
Check Image on help.3ds.com/2020.
Member Details:
- ImageFromMovie(name, movieName, frame, time)[源代码]¶
This method creates an Image object from a given frame of an existing Movie object.
备注
- 参数:¶
- name¶
A String specifying the repository name for the image.
- movieName¶
A String specifying the name of the movie from which the image is to be extracted. The movie must exist in the session.movies repository.
- frame¶
An Int specifying the movie frame number defining the image to be extracted.
- time¶
A Float specifying the time of the movie defining the image to be extracted.
- 返回:¶
An Image object.
- 返回类型:¶
- 抛出:¶
ValueError – If movieName does not exist.
ValueError – If frame references an non existing frame.
ValueError – If time references an non existing frame.
TypeError – keyword error on time, If time and frame are given in the same command.
- class JournalOptions[源代码]¶
基类:
object
A JournalOptions object specifies how to record selection of geometry in the journal and replay files. journalOptions can also be used to set the numeric formatting options for field report output, geometry commands output, and a default format for other numeric output. The JournalOptions object has no constructor. Abaqus creates the journalOptions member when a session is started.
备注
This object can be accessed by:
session.journalOptions
备注
Member Details:
-
NumberFormat(blankPad=
1
, format=ENGINEERING
, numDigits=6
, precision=0
)[源代码]¶ This method creates a NumberFormat object.
备注
This function can be accessed by:
session.defaultFieldReportOptions.NumberFormat session.fieldReportOptions.NumberFormat session.journalOptions.NumberFormat
备注
- 参数:¶
- blankPad=
1
¶ A Boolean specifying whether the printed digits should be padded with blank characters to ensure equal sized fields. The blankPad argument is useful when your printed output includes columns. The default value is ON.
- format=
ENGINEERING
¶ A SymbolicConstant specifying the formatting type. Possible values are ENGINEERING, SCIENTIFIC, and AUTOMATIC. The default value is ENGINEERING.
- numDigits=
6
¶ An Int specifying the number of digits to be displayed in the result. numDigits >0>0. The default value is 6.
- precision=
0
¶ An Int specifying the number of decimal places to which the number is to be truncated for display. precision ≤0≤0. If precision =0, no truncation is applied. The default value is 0.
- blankPad=
- 返回:¶
A NumberFormat object.
- 返回类型:¶
-
numberFormat : --is-rst--:py:class:`~abaqus.Session.NumberFormat.NumberFormat` =
<abaqus.Session.NumberFormat.NumberFormat object>
[源代码]¶ Format of the number
- setValues(
- replayGeometry=
COMPRESSEDINDEX
, - recoverGeometry=
COMPRESSEDINDEX
, - defaultFormat=
None
, - fieldReportFormat=
None
, - geometryFormat=
None
, This method modifies the JournalOptions object.
- 参数:¶
- replayGeometry=
COMPRESSEDINDEX
¶ A SymbolicConstant specifying the format of the geometry in the replay file. Possible values are COORDINATE, INDEX, and COMPRESSEDINDEX. The default value is COMPRESSEDINDEX.
- recoverGeometry=
COMPRESSEDINDEX
¶ A SymbolicConstant specifying the format of the geometry in the recovery file. Possible values are COORDINATE, INDEX, and COMPRESSEDINDEX. The default value is COMPRESSEDINDEX.
- defaultFormat=
None
¶ A NumberFormat object specifying the default format for numeric output. The default values are the same as the default values for the NumberFormat object.
- fieldReportFormat=
None
¶ A NumberFormat object specifying the default format for numbers in a field report output. The default values are the same as the default values for the NumberFormat object.
- geometryFormat=
None
¶ A NumberFormat object specifying the default format for numbers in geometry commands output. The default values are the same as the default values for the NumberFormat object.
- replayGeometry=
-
NumberFormat(blankPad=
-
class NumberFormat(blankPad=
1
, format=ENGINEERING
, numDigits=6
, precision=0
)[源代码]¶ 基类:
object
The NumberFormat object is a formatting template used to define formatting options for certain numeric output.This page discusses:Access[NumberFormat(…)](https://help.3ds.com/2022/english/DSSIMULIA_Established /SIMACAEKERRefMap/simaker-c-numberformatpyc.htm?ContextScope=all#simaker- numberformatnumberformatpyc)Members.
备注
This object can be accessed by:
import visualization session.defaultFieldReportOptions.numberFormat session.fieldReportOptions.numberFormat session.journalOptions.defaultFormat session.journalOptions.fieldReportFormat session.journalOptions.geometryFormat
备注
Member Details:
-
blankPad : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the printed digits should be padded with blank characters to ensure equal sized fields. The blankPad argument is useful when your printed output includes columns. The default value is ON.
-
format : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'ENGINEERING'
[源代码]¶ A SymbolicConstant specifying the formatting type. Possible values are ENGINEERING, SCIENTIFIC, and AUTOMATIC. The default value is ENGINEERING.
-
blankPad : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class MemoryReductionOptions[源代码]¶
基类:
object
The MemoryReductionOptions object controls the default settings that Abaqus/CAE uses for running in reduced memory mode. The MemoryReductionOptions object has no constructor. Abaqus creates the MemoryReductionOptions member when a session is started.
备注
This object can be accessed by:
session.memoryReductionOptions
Member Details:
-
setValues(reducedMemoryMode=
1
, percentThreshold=75
)[源代码]¶ This method modifies the MemoryReductionOptions object.
-
setValues(reducedMemoryMode=
- class NetworkDatabaseConnector(
- name,
- hostName,
- directory,
- remoteAbaqusDriverName=
''
, - remoteLoginMechanism=
SSH
, - sshPath=
''
, - serverPort=
0
, - connectionPort=
0
, - serverTimeout=
86400
, - allowAutomaticStartup=
1
, 基类:
object
The NetworkDatabaseConnector object allows you to access an output database on a remote system.
备注
This object can be accessed by:
session.networkDatabaseConnectors[name]
Member Details:
-
allowAutomaticStartup : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to start the remote network database connector server. The default value is ON.
-
connected : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying if the connection between the client and the server is established.
-
connectionPort : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the connection port on the remote computer. The default value is 0.
- directory : --is-rst--:py:class:`str`[源代码]¶
A String specifying the directory on the remote computer.
-
remoteAbaqusDriverName : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of command to execute Abaqus/CAE on the remote computer.
-
remoteLoginMechanism : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SSH'
[源代码]¶ A SymbolicConstant specifying the remote shell command on the local system. Possible values are RSH and SSH. The default value is SSH.
-
serverPort : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the server port on the remote computer. If serverPort =0, the host and remote systems are allowed to establish their own port numbers. The default value is 0.
-
serverTimeout : --is-rst--:py:class:`int` =
86400
[源代码]¶ 86400 corresponds to one day. The server exits if it does not receive any communication from the client during the time specified. The default value is 86400.
- Type:¶
An Int specifying the timeout in seconds for the remote server. For example
- setValues(
- remoteAbaqusDriverName=
''
, - remoteLoginMechanism=
SSH
, - sshPath=
''
, - serverPort=
0
, - connectionPort=
0
, - serverTimeout=
86400
, - allowAutomaticStartup=
1
, This method modifies the NetworkDatabaseConnector object.
- 参数:¶
- remoteAbaqusDriverName=
''
¶ A String specifying the name of command to execute Abaqus/CAE on the remote computer.
- remoteLoginMechanism=
SSH
¶ A SymbolicConstant specifying the remote shell command on the local system. Possible values are RSH and SSH. The default value is SSH.
- sshPath=
''
¶ A String specifying the path to the`ssh` command on the local system. The default value is an empty string.
- serverPort=
0
¶ An Int specifying the server port on the remote computer. If serverPort =0, the host and remote systems are allowed to establish their own port numbers. The default value is 0.
- connectionPort=
0
¶ An Int specifying the connection port on the remote computer. The default value is 0.
- serverTimeout=
86400
¶ An Int specifying the timeout in seconds for the remote server. For example: 86400 corresponds to one day. The server exits if it does not receive any communication from the client during the time specified. The default value is 86400.
- allowAutomaticStartup=
1
¶ A Boolean specifying whether to start the remote network database connector server. The default value is ON.
- remoteAbaqusDriverName=
-
sshPath : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the path to the`ssh` command on the local system. The default value is an empty string.
-
start(serverPort=
0
, serverTimeout=86400
)[源代码]¶ This method starts the remote network database connector server on the remote host.
- 参数:¶
- serverPort=
0
¶ An Int specifying the server port on the remote computer. If serverPort =0, the host and remote systems are allowed to establish their own port numbers. The default value is 0.
- serverTimeout=
86400
¶ An Int specifying the timeout in seconds for the remote server. For example: 86400 corresponds to one day. The server exits if it does not receive any communication from the client during the time specified. The default value is 86400.
- serverPort=
-
allowAutomaticStartup : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class SessionBase[源代码]¶
基类:
object
The Session object has no constructor. Abaqus creates the session member when a session is started.
备注
This object can be accessed by:
session
备注
Member Details:
-
animationOptions : --is-rst--:py:class:`~abaqus.Animation.AnimationOptions.AnimationOptions` =
<abaqus.Animation.AnimationOptions.AnimationOptions object>
[源代码]¶ An AnimationOptions object.
-
attachedToGui : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether an Abaqus interactive session is running.
-
autoColors : --is-rst--:py:class:`~abaqus.Session.AutoColors.AutoColors` =
<abaqus.Session.AutoColors.AutoColors object>
[源代码]¶ An AutoColors object specifying the color palette to be used for color coding.
-
aviOptions : --is-rst--:py:class:`~abaqus.Animation.AVIOptions.AVIOptions` =
<abaqus.Animation.AVIOptions.AVIOptions object>
[源代码]¶ An AVIOptions object.
-
charts : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.XY.Chart.Chart`] =
{}
[源代码]¶ A repository of Chart objects.
-
colors : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Session.Color.Color`] =
{}
[源代码]¶ A repository of Color objects.
-
currentProbeValues : --is-rst--:py:class:`~abaqus.PathAndProbe.CurrentProbeValues.CurrentProbeValues` =
<abaqus.PathAndProbe.CurrentProbeValues.CurrentProbeValues object>
[源代码]¶ A CurrentProbeValues object.
-
currentViewportName : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the current viewport.
-
curves : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.XY.XYCurve.XYCurve`] =
{}
[源代码]¶ A repository of XYCurve objects.
-
customData : --is-rst--:py:class:`~abaqus.CustomKernel.RepositorySupport.RepositorySupport` =
<abaqus.CustomKernel.RepositorySupport.RepositorySupport object>
[源代码]¶ A RepositorySupport object.
-
defaultChartOptions : --is-rst--:py:class:`~abaqus.XY.DefaultChartOptions.DefaultChartOptions` =
<abaqus.XY.DefaultChartOptions.DefaultChartOptions object>
[源代码]¶ A DefaultChartOptions object.
-
defaultFieldReportOptions : --is-rst--:py:class:`~abaqus.FieldReport.FieldReportOptions.FieldReportOptions` =
<abaqus.FieldReport.FieldReportOptions.FieldReportOptions object>
[源代码]¶ A FieldReportOptions object.
-
defaultFreeBodyReportOptions : --is-rst--:py:class:`~abaqus.FieldReport.FreeBodyReportOptions.FreeBodyReportOptions` =
<abaqus.FieldReport.FreeBodyReportOptions.FreeBodyReportOptions object>
[源代码]¶ A FreeBodyReportOptions object.
-
defaultGraphicsOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.GraphicsOptions.GraphicsOptions` =
<abaqus.DisplayOptions.GraphicsOptions.GraphicsOptions object>
[源代码]¶ A GraphicsOptions object.
-
defaultLightOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.LightOptions.LightOptions` =
<abaqus.DisplayOptions.LightOptions.LightOptions object>
[源代码]¶ A LightOptions object.
-
defaultMesherOptions : --is-rst--:py:class:`~abaqus.Mesh.MesherOptions.MesherOptions` =
<abaqus.Mesh.MesherOptions.MesherOptions object>
[源代码]¶ A MesherOptions object specifying how to control default settings in the Mesh module.
-
defaultOdbDisplay : --is-rst--:py:class:`~abaqus.OdbDisplay.DefaultOdbDisplay.DefaultOdbDisplay` =
<abaqus.OdbDisplay.DefaultOdbDisplay.DefaultOdbDisplay object>
[源代码]¶ A DefaultOdbDisplay object.
-
defaultPlot : --is-rst--:py:class:`~abaqus.XY.DefaultPlot.DefaultPlot` =
<abaqus.XY.DefaultPlot.DefaultPlot object>
[源代码]¶ A DefaultPlot object.
-
defaultProbeOptions : --is-rst--:py:class:`~abaqus.PathAndProbe.ProbeOptions.ProbeOptions` =
<abaqus.PathAndProbe.ProbeOptions.ProbeOptions object>
[源代码]¶ A ProbeOptions object.
-
defaultProbeReport : --is-rst--:py:class:`~abaqus.PathAndProbe.ProbeReport.ProbeReport` =
<abaqus.PathAndProbe.ProbeReport.ProbeReport object>
[源代码]¶ A ProbeReport object.
-
defaultViewportAnnotationOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.ViewportAnnotationOptions.ViewportAnnotationOptions` =
<abaqus.DisplayOptions.ViewportAnnotationOptions.ViewportAnnotationOptions object>
[源代码]¶ A ViewportAnnotationOptions object.
-
defaultXYReportOptions : --is-rst--:py:class:`~abaqus.XY.XYReportOptions.XYReportOptions` =
<abaqus.XY.XYReportOptions.XYReportOptions object>
[源代码]¶ An XYReportOptions object.
- disableCADConnection(CADName)[源代码]¶
This method disables an associative import CAD connection that was enabled.
- disableParameterUpdate(CADName)[源代码]¶
This method disables an associative CAD connection using parameters.
-
displayGroups : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.DisplayGroup.DisplayGroup.DisplayGroup`] =
{}
[源代码]¶ A repository of DisplayGroup objects.
-
drawingArea : --is-rst--:py:class:`~abaqus.Canvas.DrawingArea.DrawingArea` =
<abaqus.Canvas.DrawingArea.DrawingArea object>
[源代码]¶ A DrawingArea object.
-
drawings : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Session.Drawing.Drawing`] =
{}
[源代码]¶ A repository of Drawing objects.
-
enableCADConnection(CADName, portNum=
None
)[源代码]¶ This method enables the Abaqus/CAE listening port for the specified CAD system.
- 参数:¶
- CADName¶
A String specifying the CAD system. Available options are Pro/ENGINEER, CATIA V5, CATIA V6, NX and SolidWorks.
- portNum=
None
¶ An Integer specifying the port number to be used by the CAD system to communicate with Abaqus/CAE. If unspecified, attempts will be made to identify an open port. The default ports used are as follow: Pro/E : 49178CATIA V5 : 49179SolidWorks : 49180NX : 49181CATIA V6 : 49182
- 返回:¶
The connection port number used for the CAD connection.
- 返回类型:¶
-
enableParameterUpdate(CADName, CADVersion, CADPort=
None
)[源代码]¶ This method enables parameter updates for ProE and NX by establishing a connection with the listening port previously setup by the CAD application.
- 参数:¶
- CADName¶
A String specifying the CAD system for which parameter update will be enabled. Available options are Pro/ENGINEER and NX.
- CADVersion¶
A String specifying the CAD system version. Allowable options take the form of the specific CAD system plus a version string. Examples for Pro/ENGINEER are “Wildfire5” and “Creo4.” An NX example is “NX11.”
- CADPort=
None
¶ An Integer specifying the port number to be used by Abaqus/CAE to communicate with the CAD system. If unspecified, attempts will be made to identify an open port. This port number is not the same as the portNum used by the associative import interface. The default CAD listening ports are as follow:ProE : 3344NX : 3344
-
epsOptions : --is-rst--:py:class:`~abaqus.Print.EpsOptions.EpsOptions` =
<abaqus.Print.EpsOptions.EpsOptions object>
[源代码]¶ An EpsOptions object.
-
fieldReportOptions : --is-rst--:py:class:`~abaqus.FieldReport.FieldReportOptions.FieldReportOptions` =
<abaqus.FieldReport.FieldReportOptions.FieldReportOptions object>
[源代码]¶ A FieldReportOptions object.
-
freeBodies : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PathAndProbe.FreeBody.FreeBody`] =
{}
[源代码]¶ A repository of FreeBody objects.
-
freeBodyReportOptions : --is-rst--:py:class:`~abaqus.FieldReport.FreeBodyReportOptions.FreeBodyReportOptions` =
<abaqus.FieldReport.FreeBodyReportOptions.FreeBodyReportOptions object>
[源代码]¶ A FreeBodyReportOptions object.
-
graphicsInfo : --is-rst--:py:class:`~abaqus.DisplayOptions.GraphicsInfo.GraphicsInfo` =
<abaqus.DisplayOptions.GraphicsInfo.GraphicsInfo object>
[源代码]¶ A GraphicsInfo object.
-
graphicsOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.GraphicsOptions.GraphicsOptions` =
<abaqus.DisplayOptions.GraphicsOptions.GraphicsOptions object>
[源代码]¶ A GraphicsOptions object.
-
imageAnimation : --is-rst--:py:class:`~abaqus.Animation.ImageAnimation.ImageAnimation` =
<abaqus.Animation.ImageAnimation.ImageAnimation object>
[源代码]¶ An ImageAnimation object.
-
imageAnimationOptions : --is-rst--:py:class:`~abaqus.Animation.ImageAnimationOptions.ImageAnimationOptions` =
<abaqus.Animation.ImageAnimationOptions.ImageAnimationOptions object>
[源代码]¶ An ImageAnimationOptions object.
-
images : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Session.Image.Image`] =
{}
[源代码]¶ A repository of Image objects.
-
journalOptions : --is-rst--:py:class:`~abaqus.Session.JournalOptions.JournalOptions` =
<abaqus.Session.JournalOptions.JournalOptions object>
[源代码]¶ A JournalOptions object specifying how to record selection of geometry in the journal and replay files.
-
kernelMemoryFootprint : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the memory usage value for the Abaqus/CAE kernel process in megabytes.
-
kernelMemoryLimit : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the limit for the memory use for the Abaqus/CAE kernel process in megabytes.
-
kernelMemoryMaxFootprint : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the maximum value for the memory usage for the Abaqus/CAE kernel process in megabytes.
-
mdbData : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PlotOptions.MdbData.MdbData`] =
{}
[源代码]¶ A repository of MdbData objects.
-
memoryReductionOptions : --is-rst--:py:class:`~abaqus.Session.MemoryReductionOptions.MemoryReductionOptions` =
<abaqus.Session.MemoryReductionOptions.MemoryReductionOptions object>
[源代码]¶ A MemoryReductionOptions object specifying options for running in reduced memory mode.
-
movies : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Animation.Movie.Movie`] =
{}
[源代码]¶ A repository of Movie objects.
-
networkDatabaseConnectors : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Session.NetworkDatabaseConnector.NetworkDatabaseConnector`] =
{}
[源代码]¶ A repository of NetworkDatabaseConnector objects.
-
nodeQuery : --is-rst--:py:class:`~abaqus.PathAndProbe.NodeQuery.NodeQuery` =
<abaqus.PathAndProbe.NodeQuery.NodeQuery object>
[源代码]¶ A NodeQuery object specifying nodes and their coordinates in a path.
-
odbData : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PlotOptions.OdbData.OdbData`] =
{}
[源代码]¶ A repository of OdbData objects.
-
odbs : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.Odb.Odb`] =
{}
[源代码]¶ A repository of Odb objects.
-
pageSetupOptions : --is-rst--:py:class:`~abaqus.Print.PageSetupOptions.PageSetupOptions` =
<abaqus.Print.PageSetupOptions.PageSetupOptions object>
[源代码]¶ A PageSetupOptions object.
-
paths : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PathAndProbe.Path.Path`] =
{}
[源代码]¶ A repository of Path objects.
-
pngOptions : --is-rst--:py:class:`~abaqus.Print.PngOptions.PngOptions` =
<abaqus.Print.PngOptions.PngOptions object>
[源代码]¶ A PngOptions object.
-
printOptions : --is-rst--:py:class:`~abaqus.Print.PrintOptions.PrintOptions` =
<abaqus.Print.PrintOptions.PrintOptions object>
[源代码]¶ A PrintOptions object.
-
printToFile(fileName, format=
PNG
, canvasObjects=()
, compression=0
)[源代码]¶ This method prints canvas objects to a file using the attributes stored in the PrintOptions object and the appropriate format options object.
- 参数:¶
- fileName¶
A String specifying the file to which the image is to be written. If no file extension is supplied, an extension is added based on the selected image format (.ps, .eps, .png, .tif, .svg, or .svgz).
- format=
PNG
¶ A SymbolicConstant specifying the image format. Possible values are PNG, SVG, TIFF, PS, and EPS. The default value is PNG.
- canvasObjects=
()
¶ A sequence of canvas objects (viewports, text strings, or arrows) to print. The default is to print all canvas objects.
- compression=
0
¶ A Boolean specifying the format for an SVG file. It is only valid to use this argument when format is SVG. Possible values are False (Uncompressed) and True (Compressed).
-
printToPrinter(printCommand=
''
, numCopies=1
, canvasObjects=()
)[源代码]¶ This method prints canvas objects to a Windows printer or to a PostScript printer. The attributes used for printing to a Windows printer are stored in the PrintOptions object and the PageSetupOptions object; the attributes used for printing to a PostScript printer are stored in the PrintOptions object and the PsOptions object.
- 参数:¶
- printCommand=
''
¶ A String specifying the operating system command or printer name to issue for printing to the printer. The default value is “lpr” or the value specified by the printOptions method. If you create a script to print directly to a Windows printer, the printCommand must take the following form:
session.printToPrinter.setValues( printCommand='PRINTER[number of characters in name]:printername PROPERTIES[number of characters in properties]:document properties' )
The
PROPERTIES
is a list of characters that represents the printing preferences for the selected Windows printer. The properties are not required in a script; the printed output will use the current settings for the selected printer. You can use ‘PRINTER[7]: DEFAULT’ to specify the default Windows printer.- numCopies=
1
¶ An Int specifying the number of copies to print. Possible values are 1 ≤ numCopies ≤ 100. The default value is 1.
- canvasObjects=
()
¶ A sequence of canvas objects (viewports, text strings, or arrows) to print. The default is to print all canvas objects.
- printCommand=
- 抛出:¶
SystemError – invalid print command, If printCommand is invalid.
SystemError – print command failed, If the print command fails.
RangeError – If numCopies is out of range.
TypeError – keyword error on compression, If compression is specified when format is not SVG.
-
probeOptions : --is-rst--:py:class:`~abaqus.PathAndProbe.ProbeOptions.ProbeOptions` =
<abaqus.PathAndProbe.ProbeOptions.ProbeOptions object>
[源代码]¶ A ProbeOptions object.
-
probeReport : --is-rst--:py:class:`~abaqus.PathAndProbe.ProbeReport.ProbeReport` =
<abaqus.PathAndProbe.ProbeReport.ProbeReport object>
[源代码]¶ A ProbeReport object.
-
psOptions : --is-rst--:py:class:`~abaqus.Print.PsOptions.PsOptions` =
<abaqus.Print.PsOptions.PsOptions object>
[源代码]¶ A PsOptions object.
-
queues : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Job.Queue.Queue`] =
{}
[源代码]¶ A repository of Queue objects.
-
quickTimeOptions : --is-rst--:py:class:`~abaqus.Animation.QuickTimeOptions.QuickTimeOptions` =
<abaqus.Animation.QuickTimeOptions.QuickTimeOptions object>
[源代码]¶ A QuickTimeOptions object.
-
replayInProgress : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether Abaqus is executing a replay file.
-
scratchOdbs : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.ScratchOdb.ScratchOdb`] =
{}
[源代码]¶ A repository of ScratchOdb objects.
-
selectedProbeValues : --is-rst--:py:class:`~abaqus.PathAndProbe.SelectedProbeValues.SelectedProbeValues` =
<abaqus.PathAndProbe.SelectedProbeValues.SelectedProbeValues object>
[源代码]¶ A SelectedProbeValues object.
-
sessionState : --is-rst--:py:class:`dict` | :py:obj:`None` =
None
[源代码]¶ A Dictionary object specifying the viewports and their associated models. The Dictionary key specifies the viewport name. The Dictionary value is a Dictionary specifying the model name.
- setCADPortNumber(CADName, Port)[源代码]¶
This method enables parameter updates for CATIA V5 and CATIA V6 by establishing a connection with the listening port previously setup by the CAD application. This port number is used to send the parameter information to the CAD system.
-
setValues(kernelMemoryLimit=
None
)[源代码]¶ This method modifies the Session object.
- 参数:¶
- kernelMemoryLimit=
None
¶ A Float specifying the memory limit value for the Abaqus/CAE kernel process in megabytes. If the limit is exceeded, Abaqus/CAE displays an error message.The default memory limit value for Windows 32-bit systems if not set is 1800 MB. Increasing the memory limit is not recommended unless you are using a Windows 32-bit system with the boot option /3GB /userva = SizeInMBytes to extend the amount of memory available for Abaqus/CAE. In this case the limit can be changed to 2800 MB.If the kernel memory size reaches the abq_ker_memory value or the virtual memory limit of the machine, the following message will be displayed:
Operation did not complete due to a memory allocation failure.
For optimal performance, the memory limit should be set to a value less than the physical amount of memory on the machine.The minimum setting allowed is 256 MB.
- kernelMemoryLimit=
-
sketcherOptions : --is-rst--:py:class:`~abaqus.Sketcher.ConstrainedSketchOptions.ConstrainedSketcherOptions.ConstrainedSketcherOptions` =
<abaqus.Sketcher.ConstrainedSketchOptions.ConstrainedSketcherOptions.ConstrainedSketcherOptions object>
[源代码]¶ A ConstrainedSketcherOptions object specifying common options for all sketches.
-
spectrums : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PathAndProbe.Spectrum.Spectrum`] =
{}
[源代码]¶ A repository of Spectrum objects.
-
streams : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PathAndProbe.Stream.Stream`] =
{}
[源代码]¶ A repository of Stream objects.
-
svgOptions : --is-rst--:py:class:`~abaqus.Print.SvgOptions.SvgOptions` =
<abaqus.Print.SvgOptions.SvgOptions object>
[源代码]¶ A SvgOptions object.
-
tiffOptions : --is-rst--:py:class:`~abaqus.PredefinedField.TiffOptions.TiffOptions` =
<abaqus.PredefinedField.TiffOptions.TiffOptions object>
[源代码]¶ A TiffOptions object.
- updateCADParameters( )[源代码]¶
This method updates the parameters for the specified model using the specified parameter file.
- 参数:¶
- modelName¶
A String specifying the model name to update.
- CADName¶
A String specifying the CAD system for which Abaqus updates the parameters. The available options are ‘Pro/ENGINEER’, ‘CATIA V5’ and ‘CATIA V6’.
- parameterFile¶
A parameter file containing the parameters that were exposed in the CAD system using the
ABQ_
prefix.- CADPartFile¶
A file name specifying the CAD part file for which parameter update is triggered.For CADName = ‘CATIA V5’ or ‘CATIA V6’, you can specify either products or parts using this argument. If you specify a product, Abaqus updates all of the parts associated with that product.For CADName = ‘Pro/ENGINEER’, this argument is optional, and you can specify update for parts only. However, a single file can be associated with multiple parts in the case of family tables. In this case, Abaqus updates all listed parts.
- CADPartName=
''
¶ An String specifying the part name to update. This part name should match the part name in the originating CAD system.If you specify neither CADPartFile nor CADPartName during an update in which you specified CADName = ‘Pro/ENGINEER’, Abaqus updates all of the parts in the specified file.
-
viewerOptions : --is-rst--:py:class:`~abaqus.OdbDisplay.ViewerOptions.ViewerOptions` =
<abaqus.OdbDisplay.ViewerOptions.ViewerOptions object>
[源代码]¶ A ViewerOptions object.
-
viewports : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Canvas.Viewport.Viewport`] =
{}
[源代码]¶ A repository of Viewport objects.
-
views : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.UtilityAndView.View.View`] =
{}
[源代码]¶ A repository of View objects.
-
write3DXMLFile(fileName, format=
0
, canvasObjects=()
)[源代码]¶ This method exports the current viewport objects to a file.
- 参数:¶
- fileName¶
A String specifying the file to which the graphics data is to be written. If no file extension is supplied, (.3dxml) will be added.
- format=
0
¶ A Boolean specifying the format. Possible values are False (Uncompressed) and True (Compressed).
- canvasObjects=
()
¶ A sequence of canvas objects to export.
-
writeOBJFile(fileName, canvasObjects=
()
)[源代码]¶ This method exports the current viewport objects to a file.
-
writeVrmlFile(fileName, format=
0
, canvasObjects=()
)[源代码]¶ This method exports the current viewport objects to a file.
- 参数:¶
- fileName¶
A String specifying the file to which the graphics data is to be written. If no file extension is supplied, an extension is added based on the selected format (.wrl, .wrz).
- format=
0
¶ A Boolean specifying the format. Possible values are False (Uncompressed) and True (Compressed).
- canvasObjects=
()
¶ A sequence of canvas objects (viewports, text strings, or arrows) to export.
-
xyColors : --is-rst--:py:class:`~abaqus.Session.AutoColors.AutoColors` =
<abaqus.Session.AutoColors.AutoColors object>
[源代码]¶ An AutoColors object specifying the color palette to be used forXYCurve objects.
-
xyDataObjects : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.XY.XYData.XYData`] =
{}
[源代码]¶ A repository of XYData objects.
-
animationOptions : --is-rst--:py:class:`~abaqus.Animation.AnimationOptions.AnimationOptions` =