40.35 StreamOptions object

The StreamOptions object stores values and attributes associated with a stream plot. The StreamOptions object has no constructor command. Abaqus creates a defaultOdbDisplay.streamOptions member when you import the Visualization module. Abaqus creates a StreamOptions member when it creates the OdbDisplay object, using the values from defaultOdbDisplay.streamOptions. Abaqus creates the odbDisplay member when a viewport is created, using the values from defaultOdbDisplay.

StreamOptions objects are accessed in one of two ways:

Access
import visualization
session.defaultOdbDisplay.streamOptions
session.viewports[name].layers[name].odbDisplay.streamOptions
session.viewports[name].odbDisplay.streamOptions


40.35.1 setValues(...)

This method modifies the StreamOptions object.

Required arguments

None.

Optional arguments

colorMethod

A SymbolicConstant specifying the method for coloring stream lines. Possible values are UNIFORM, SPECTRUM, and CONTINUOUS. The default value is UNIFORM.

uniformColor

A String specifying uniform color of the stream lines. The default value is "#FFFF00".

lineThickness

A Float specifying the stream line thickness. The default value is 6.0.

showArrow

A Boolean specifying whether to show arrows. The default value is OFF.

numArrows

An Int specifying the number of arrows on each stream line. The default value is 10.

Return value

None

Exceptions

None.


40.35.2  Members

The StreamOptions object has members with the same names and descriptions as the arguments to the setValues method.