Abaqus Session#

class Session[source]

The Session object has no constructor. Abaqus creates the session member when a session is started.

Note

This object can be accessed by:

session

Public Data Attributes:

Inherited from SessionBase

attachedToGui

A Boolean specifying whether an Abaqus interactive session is running.

replayInProgress

A Boolean specifying whether Abaqus is executing a replay file.

kernelMemoryFootprint

A Float specifying the memory usage value for the Abaqus/CAE kernel process in megabytes.

kernelMemoryMaxFootprint

A Float specifying the maximum value for the memory usage for the Abaqus/CAE kernel process in megabytes.

kernelMemoryLimit

A Float specifying the limit for the memory use for the Abaqus/CAE kernel process in megabytes.

colors

A repository of Color objects.

journalOptions

A JournalOptions object specifying how to record selection of geometry in the journal and replay files.

memoryReductionOptions

A MemoryReductionOptions object specifying options for running in reduced memory mode.

nodeQuery

A NodeQuery object specifying nodes and their coordinates in a path.

sketcherOptions

A ConstrainedSketcherOptions object specifying common options for all sketches.

viewerOptions

A ViewerOptions object.

animationOptions

An AnimationOptions object.

aviOptions

An AVIOptions object.

imageAnimationOptions

An ImageAnimationOptions object.

imageAnimation

An ImageAnimation object.

quickTimeOptions

A QuickTimeOptions object.

viewports

A repository of Viewport objects.

customData

A RepositorySupport object.

defaultFieldReportOptions

A FieldReportOptions object.

defaultFreeBodyReportOptions

A FreeBodyReportOptions object.

fieldReportOptions

A FieldReportOptions object.

freeBodyReportOptions

A FreeBodyReportOptions object.

odbs

A repository of Odb objects.

scratchOdbs

A repository of ScratchOdb objects.

defaultOdbDisplay

A DefaultOdbDisplay object.

defaultPlot

A DefaultPlot object.

defaultChartOptions

A DefaultChartOptions object.

odbData

A repository of OdbData objects.

mdbData

A repository of MdbData objects.

paths

A repository of Path objects.

freeBodies

A repository of FreeBody objects.

streams

A repository of Stream objects.

spectrums

A repository of Spectrum objects.

currentProbeValues

A CurrentProbeValues object.

defaultProbeOptions

A ProbeOptions object.

probeOptions

A ProbeOptions object.

probeReport

A ProbeReport object.

defaultProbeReport

A ProbeReport object.

selectedProbeValues

A SelectedProbeValues object.

printOptions

A PrintOptions object.

epsOptions

An EpsOptions object.

pageSetupOptions

A PageSetupOptions object.

pngOptions

A PngOptions object.

psOptions

A PsOptions object.

svgOptions

A SvgOptions object.

tiffOptions

A TiffOptions object.

autoColors

An AutoColors object specifying the color palette to be used for color coding.

xyColors

An AutoColors object specifying the color palette to be used forXYCurve objects.

xyDataObjects

A repository of XYData objects.

curves

A repository of XYCurve objects.

xyPlots

A repository of XYPlot objects.

charts

A repository of Chart objects.

defaultXYReportOptions

An XYReportOptions object.

xyReportOptions

An XYReportOptions object.

views

A repository of View objects.

networkDatabaseConnectors

A repository of NetworkDatabaseConnector objects.

displayGroups

A repository of DisplayGroup objects.

graphicsInfo

A GraphicsInfo object.

defaultGraphicsOptions

A GraphicsOptions object.

graphicsOptions

A GraphicsOptions object.

defaultViewportAnnotationOptions

A ViewportAnnotationOptions object.

queues

A repository of Queue objects.

currentViewportName

A String specifying the name of the current viewport.

sessionState

A Dictionary object specifying the viewports and their associated models.

images

A repository of Image objects.

movies

A repository of Movie objects.

defaultLightOptions

A LightOptions object.

drawingArea

A DrawingArea object.

defaultMesherOptions

A MesherOptions object specifying how to control default settings in the Mesh module.

drawings

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.

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(*args, **kwargs)

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.

getPathTolerance()

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.

getLimitForXYDataPlots()

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.

isCADConnectionEnabled()

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.

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::.