This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
ConstraintDisplayOptions.py
46 lines (40 loc) · 1.67 KB
/
ConstraintDisplayOptions.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
from abaqusConstants import *
class ConstraintDisplayOptions:
"""The ConstraintDisplayOptions object stores settings that specify how assemblies are to
be displayed in a particular viewport when
session.viewports[name].assemblyDisplay.constraints=ON
The ConstraintDisplayOptions 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:
session.viewports[name].assemblyDisplay.constraintOptions
session.viewports[name].layers[name].assemblyDisplay.constraintOptions
"""
def setValues(
self,
constraintEquation: Boolean = ON,
tieConstraint: Boolean = ON,
rigidBodyConstraint: Boolean = ON,
displayBodyConstraint: Boolean = ON,
couplingConstrain: Boolean = ON,
):
"""This method modifies the ConstraintDisplayOptions object.
Parameters
----------
constraintEquation
A Boolean specifying whether constraint equation symbols are shown. The default value is
ON.
tieConstraint
A Boolean specifying whether tie constraint symbols are shown. The default value is ON.
rigidBodyConstraint
A Boolean specifying whether rigid body constraint symbols are shown. The default value
is ON.
displayBodyConstraint
A Boolean specifying whether display body constraint symbols are shown. The default
value is ON.
couplingConstrain
A Boolean specifying whether coupling constraint symbols are shown. The default value is
ON.
"""
pass