This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
MeshDisplayOptions.py
69 lines (59 loc) · 2.64 KB
/
MeshDisplayOptions.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from abaqusConstants import *
class MeshDisplayOptions:
"""The MeshDisplayOptions object stores settings that specify how the assembly is displayed
in a particular viewport when
session.viewports[name].assemblyDisplay.mesh=ON
The MeshDisplayOptions 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.meshOptions
session.viewports[name].layers[name].assemblyDisplay.meshOptions
session.viewports[name].layers[name].partDisplay.meshOptions
session.viewports[name].partDisplay.meshOptions
"""
def setValues(
self,
nodeLabels: Boolean = OFF,
elementLabels: Boolean = OFF,
meshVisibleEdges: SymbolicConstant = EXTERIOR,
featureAngle: float = 20,
meshEdgesInShaded: Boolean = ON,
meshTechnique: Boolean = OFF,
seeds: Boolean = OFF,
):
"""This method modifies the MeshDisplayOptions object.
Parameters
----------
nodeLabels
A Boolean specifying whether node labels are shown. The default value is OFF.
elementLabels
A Boolean specifying whether element labels are shown. The default value is OFF.
meshVisibleEdges
A SymbolicConstant specifying how the mesh's edges are drawn. Possible values are:
- ALL, specifying that all edges are shown.
- EXTERIOR, specifying that only exterior edges are shown.
- FEATURE, specifying that edges are shown based on *featureAngle*.
- FREE, specifying that only free edges are shown.
- NONE, specifying that no display edges are shown.
The default value is EXTERIOR.
featureAngle
A Float specifying the angle in degrees to be used in calculating a feature edge plot.
Possible values are 0 ≤≤ *featureAngle* ≤≤ 90. The default value is 20.0.
meshEdgesInShaded
A Boolean specifying whether mesh edges are displayed in shaded mode. The default value
is ON.
meshTechnique
A Boolean specifying whether the regions of the assembly will be color coded based on
the meshing technique assigned to the regions. This argument is ignored in partDisplay.
The default value is OFF.
seeds
A Boolean specifying whether seeds are shown. This argument is ignored in partDisplay.
The default value is OFF.
Raises
------
RangeError
"""
pass