This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
StepOption.py
60 lines (48 loc) · 2.43 KB
/
StepOption.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
from abaqusConstants import *
class StepOption:
"""A StepOption is an object used to define step options in a design response.
Attributes
----------
lowerMode: SymbolicConstant
The SymbolicConstant ALL or an Int specifying the lower mode in the range of modes to
consider in the step. **lowerMode** is ignored for steps without modes. The default value
is ALL.
upperMode: SymbolicConstant
The SymbolicConstant ALL or an Int specifying the upper mode in the range of modes to
consider in the step. **upperMode** is ignored for steps without modes. The default value
is ALL.
loadCase: SymbolicConstant
The SymbolicConstant ALL or a String specifying the name of the load case. **loadCase** is
ignored when the specified **step** does not contain a load case. The default value is
ALL.
step: SymbolicConstant
The SymbolicConstant ALL or a String specifying the name of the step. The default value
is ALL.
model: str
A string specifying the name of the model from which the steps are supposed to be used
in the design response. Specify only if the steps are not from the current model.
Notes
-----
This object can be accessed by:
.. code-block:: python
import optimization
mdb.models[name].optimizationTasks[name].designResponses[name].stepOptions[i]
"""
# The SymbolicConstant ALL or an Int specifying the lower mode in the range of modes to
# consider in the step. *lowerMode* is ignored for steps without modes. The default value
# is ALL.
lowerMode: SymbolicConstant = ALL
# The SymbolicConstant ALL or an Int specifying the upper mode in the range of modes to
# consider in the step. *upperMode* is ignored for steps without modes. The default value
# is ALL.
upperMode: SymbolicConstant = ALL
# The SymbolicConstant ALL or a String specifying the name of the load case. *loadCase* is
# ignored when the specified *step* does not contain a load case. The default value is
# ALL.
loadCase: SymbolicConstant = ALL
# The SymbolicConstant ALL or a String specifying the name of the step. The default value
# is ALL.
step: SymbolicConstant = ALL
# A string specifying the name of the model from which the steps are supposed to be used
# in the design response. Specify only if the steps are not from the current model.
model: str = ""