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.
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
This method modifies the OrientationOptions object.
Required arguments
Optional arguments
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.
A String specifying the color of axis 1 of the material orientation triad. The default value is "Cyan".
A Boolean specifying whether axis 1 of the material orientation triad should be displayed. The default value is ON.
A String specifying the color of axis 2 of the material orientation triad. The default value is "Yellow".
A Boolean specifying whether axis 2 of the material orientation triad should be displayed. The default value is ON.
A String specifying the color of axis 3 of the material orientation triad. The default value is "Red".
A Boolean specifying whether axis 3 of the material orientation triad should be displayed. The default value is ON.
A Float specifying the size of the material orientation triad. The default value is 12.0.
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.
A SymbolicConstant specifying the orientation used for composites. Possible values are PLY and LAYUP. The default value is PLY.
A SymbolicConstant specifying the arrowhead style for the material orientation triad. Possible values are NONE, FILLED, and WIRE. The default value is NONE.
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.
Return value
Exceptions
RangeError.
The OrientationOptions object can have the following members:
A Boolean specifying whether axis 1 of the material orientation triad should be displayed. The default value is ON.
A Boolean specifying whether axis 2 of the material orientation triad should be displayed. The default value is ON.
A Boolean specifying whether axis 3 of the material orientation triad should be displayed. The default value is ON.
A Float specifying the size of the material orientation triad. The default value is 12.0.
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.
A SymbolicConstant specifying the orientation used for composites. Possible values are PLY and LAYUP. The default value is PLY.
A SymbolicConstant specifying the arrowhead style for the material orientation triad. Possible values are NONE, FILLED, and WIRE. The default value is NONE.
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.
A String specifying the color of axis 1 of the material orientation triad. The default value is "Cyan".
A String specifying the color of axis 2 of the material orientation triad. The default value is "Yellow".
A String specifying the color of axis 3 of the material orientation triad. The default value is "Red".