This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
SymbolDisplayOptions.py
52 lines (44 loc) · 2.11 KB
/
SymbolDisplayOptions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from abaqusConstants import *
class SymbolDisplayOptions:
"""The SymbolDisplayOptions object stores settings that specify how the assembly is
displayed in a particular viewport. The SymbolDisplayOptions object has no constructor.
When you create a new viewport, the settings are copied from the current viewport.
Notes
-----
This object can be accessed by:
.. code-block::
session.viewports[name].assemblyDisplay.symbolOptions
session.viewports[name].layers[name].assemblyDisplay.symbolOptions
"""
def setValues(
self,
otherSymbolSize: int = 12,
arrowSymbolSize: int = 12,
faceSymbolDensity: int = 5,
edgeSymbolDensity: int = 5,
meshSymbolFraction: float = 1,
showFields: Boolean = ON,
):
"""This method modifies the SymbolDisplayOptions object.
Parameters
----------
otherSymbolSize
An Int specifying the size of the scalar attribute symbols. Possible values are 1 ≤≤
*scalarSymbolSize* ≤≤ 30. The default value is 12.
arrowSymbolSize
An Int specifying the size of the vector and tensor attribute symbols. Possible values
are 1 ≤≤ *vectorSymbolSize* ≤≤ 30. The default value is 12.
faceSymbolDensity
An Int specifying the relative density of the attribute symbols drawn on geometric
faces. Possible values are 1 ≤≤ *faceSymbolDensity* ≤≤ 10. The default value is 5.
edgeSymbolDensity
An Int specifying the relative density of the attribute symbols drawn on geometric
edges. Possible values are 1 ≤≤ *edgeSymbolDensity* ≤≤ 10. The default value is 5.
meshSymbolFraction
A Float specifying the fraction of the attribute symbols drawn on orphan mesh regions.
Possible values are 0.0 ≤≤ *meshSymbolFraction* ≤≤ 1.0. The default value is 1.0.
showFields
A Boolean specifying whether symbols should be scaled based on analytical field value.
The default value is ON.
"""
pass