Source code for abaqus.XY.SymbolStyle

from abaqusConstants import *


[docs]class SymbolStyle: """The SymbolStyle object is used to define the marker properties to be used when drawing curves. SymbolStyle objects can be created using the methods described below. Notes ----- This object can be accessed by: .. code-block:: python import visualization session.charts[name].axes1[i].axisData.curves[i].symbolStyle session.charts[name].axes2[i].axisData.curves[i].symbolStyle session.charts[name].curves[name].symbolStyle session.curves[name].symbolStyle session.defaultChartOptions.defaultAxis1Options.axisData.curves[i].symbolStyle session.defaultChartOptions.defaultAxis2Options.axisData.curves[i].symbolStyle session.xyPlots[name].charts[name].axes1[i].axisData.curves[i].symbolStyle session.xyPlots[name].charts[name].axes2[i].axisData.curves[i].symbolStyle session.xyPlots[name].charts[name].curves[name].symbolStyle session.xyPlots[name].curves[name].symbolStyle """ def __init__(self, color: str = '', show: Boolean = ON, marker: SymbolicConstant = FILLED_CIRCLE, size: float = 2): """This method creates a SymbolStyle object. Notes ----- This function can be accessed by: .. code-block:: python session.SymbolStyle xyPlot.SymbolStyle Parameters ---------- color A String specifying the color to be used when drawing a marker with this SymbolStyle object. The default value is "White". show A Boolean specifying whether to draw the marker when using this SymbolStyle object. The default value is ON. marker A SymbolicConstant specifying the marker type be used when drawing symbols using this SymbolStyle object. Possible values are: - FILLED_CIRCLE - FILLED_SQUARE - FILLED_DIAMOND - FILLED_TRI - HOLLOW_CIRCLE - HOLLOW_SQUARE - HOLLOW_DIAMOND - HOLLOW_TRI - CROSS - XMARKER - POINT The default value is FILLED_CIRCLE. size A Float specifying the marker size to be used when drawing markers using this SymbolStyle object. The default value is 2.0. Returns ------- A SymbolStyle object. Raises ------ ColorError """ pass
[docs] def setValues(self, color: str = '', show: Boolean = ON, marker: SymbolicConstant = FILLED_CIRCLE, size: float = 2): """This method modifies the SymbolStyle object. Parameters ---------- color A String specifying the color to be used when drawing a marker with this SymbolStyle object. The default value is "White". show A Boolean specifying whether to draw the marker when using this SymbolStyle object. The default value is ON. marker A SymbolicConstant specifying the marker type be used when drawing symbols using this SymbolStyle object. Possible values are: - FILLED_CIRCLE - FILLED_SQUARE - FILLED_DIAMOND - FILLED_TRI - HOLLOW_CIRCLE - HOLLOW_SQUARE - HOLLOW_DIAMOND - HOLLOW_TRI - CROSS - XMARKER - POINT The default value is FILLED_CIRCLE. size A Float specifying the marker size to be used when drawing markers using this SymbolStyle object. The default value is 2.0. """ pass