This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
Load.py
82 lines (63 loc) · 2.28 KB
/
Load.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
70
71
72
73
74
75
76
77
78
79
80
81
82
from ..Region.Region import Region
class Load:
"""The Load object is the abstract base type for other Load objects. The Load object has no
explicit constructor. The methods and members of the Load object are common to all
objects derived from Load.
Attributes
----------
name: str
A String specifying the load repository key.
region: Region
A :py:class:`~abaqus.Region.Region.Region` object specifying the region to which the load is applied.
Notes
-----
This object can be accessed by:
.. code-block:: python
import load
mdb.models[name].loads[name]
"""
# A String specifying the load repository key.
name: str = ""
# A Region object specifying the region to which the load is applied.
region: Region = Region()
def deactivate(self, stepName: str):
"""This method deactivates the load in the specified step and all its subsequent steps.
Parameters
----------
stepName
A String specifying the name of the step in which the load is deactivated.
"""
pass
def move(self, fromStepName: str, toStepName: str):
"""This method moves the load state object from one step to a different step.
Parameters
----------
fromStepName
A String specifying the name of the step from which the load state is moved.
toStepName
A String specifying the name of the step to which the load state is moved.
"""
pass
def reset(self, stepName: str):
"""This method resets the load state of the specified step to the state of the previous
general analysis step.
Parameters
----------
stepName
A String specifying the name of the step in which the load state is reset.
"""
pass
def resume(self):
"""This method resumes the load that was previously suppressed."""
pass
def suppress(self):
"""This method suppresses the load."""
pass
def delete(self, indices: tuple):
"""This method allows you to delete existing loads.
Parameters
----------
indices
A sequence of Ints specifying the index of each load to delete.
"""
pass