This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
SectionPoint.py
59 lines (49 loc) · 2.92 KB
/
SectionPoint.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
class SectionPoint:
"""The SectionPoint object describes the location of a section point within a section
category.
Notes
-----
This object can be accessed by:
.. code-block:: python
import
odbAccess
session.odbs[name].parts[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].parts[name].elementSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].parts[name].nodeSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].parts[name].surfaces[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.elementSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.instances[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.instances[name].elementSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.instances[name].nodeSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.instances[name].surfaces[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.nodeSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].rootAssembly.surfaces[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].sectionCategories[name].sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].locations[i].sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elementSets[name].elements[i].sectionCategory\
.sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name].elements[i].sectionCategory.sectionPoints[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].sectionPoint
"""
def __init__(self, number: int, description: str):
"""This method creates a SectionPoint object.
Notes
-----
This function can be accessed by:
.. code-block:: python
session.odbs[*name*].sectionCategories[*name*].SectionPoint
Parameters
----------
number
An Int specifying the number of the section point. See Beam elements and Shell elements
for the numbering convention.
description
A String specifying the description of the section point.
Returns
-------
A SectionPoint object.
"""
pass