@@ -150,8 +150,8 @@ def name(self) -> str:
150
150
def set_name (self , str ) -> None :
151
151
"""Set the name of the body.
152
152
153
- Notes
154
- -----
153
+ Warnings
154
+ --------
155
155
This method is only available starting on Ansys release 25R1.
156
156
"""
157
157
return
@@ -165,8 +165,8 @@ def fill_style(self) -> FillStyle:
165
165
def set_fill_style (self , fill_style : FillStyle ) -> None :
166
166
"""Set the fill style of the body.
167
167
168
- Notes
169
- -----
168
+ Warnings
169
+ --------
170
170
This method is only available starting on Ansys release 25R1.
171
171
"""
172
172
return
@@ -175,8 +175,8 @@ def set_fill_style(self, fill_style: FillStyle) -> None:
175
175
def is_suppressed (self ) -> bool :
176
176
"""Get the body suppression state.
177
177
178
- Notes
179
- -----
178
+ Warnings
179
+ --------
180
180
This method is only available starting on Ansys release 25R2.
181
181
"""
182
182
return
@@ -185,8 +185,8 @@ def is_suppressed(self) -> bool:
185
185
def set_suppressed (self , suppressed : bool ) -> None :
186
186
"""Set the body suppression state.
187
187
188
- Notes
189
- -----
188
+ Warnings
189
+ --------
190
190
This method is only available starting on Ansys release 25R2.
191
191
"""
192
192
return
@@ -213,8 +213,8 @@ def set_color(
213
213
Color to set the body to. This can be a string representing a color name
214
214
or a tuple of RGB values in the range [0, 1] (RGBA) or [0, 255] (pure RGB).
215
215
216
- Notes
217
- -----
216
+ Warnings
217
+ --------
218
218
This method is only available starting on Ansys release 25R1.
219
219
"""
220
220
return
@@ -299,8 +299,8 @@ def bounding_box(self) -> BoundingBox:
299
299
BoundingBox
300
300
Bounding box of the body.
301
301
302
- Notes
303
- -----
302
+ Warnings
303
+ --------
304
304
This method is only available starting on Ansys release 25R2.
305
305
"""
306
306
return
@@ -481,8 +481,8 @@ def rotate(
481
481
angle: ~pint.Quantity | Angle | Real
482
482
Angle (magnitude) of the rotation.
483
483
484
- Notes
485
- -----
484
+ Warnings
485
+ --------
486
486
This method is only available starting on Ansys release 24R2.
487
487
"""
488
488
return
@@ -499,8 +499,8 @@ def scale(self, value: Real) -> None:
499
499
value: Real
500
500
Value to scale the body by.
501
501
502
- Notes
503
- -----
502
+ Warnings
503
+ --------
504
504
This method is only available starting on Ansys release 24R2.
505
505
"""
506
506
return
@@ -517,8 +517,8 @@ def map(self, frame: Frame) -> None:
517
517
frame: Frame
518
518
Structure defining the orientation of the body.
519
519
520
- Notes
521
- -----
520
+ Warnings
521
+ --------
522
522
This method is only available starting on Ansys release 24R2.
523
523
"""
524
524
return
@@ -535,8 +535,8 @@ def mirror(self, plane: Plane) -> None:
535
535
plane: Plane
536
536
Represents the mirror.
537
537
538
- Notes
539
- -----
538
+ Warnings
539
+ --------
540
540
This method is only available starting on Ansys release 24R2.
541
541
"""
542
542
return
@@ -555,8 +555,8 @@ def get_collision(self, body: "Body") -> CollisionType:
555
555
CollisionType
556
556
Enum that defines the collision state between bodies.
557
557
558
- Notes
559
- -----
558
+ Warnings
559
+ --------
560
560
This method is only available starting on Ansys release 24R2.
561
561
"""
562
562
return
@@ -652,8 +652,8 @@ def shell_body(self, offset: Real) -> bool:
652
652
bool
653
653
``True`` when successful, ``False`` when failed.
654
654
655
- Notes
656
- -----
655
+ Warnings
656
+ --------
657
657
This method is only available starting on Ansys release 25R2.
658
658
"""
659
659
return
@@ -674,8 +674,8 @@ def remove_faces(self, selection: Face | Iterable[Face], offset: Real) -> bool:
674
674
bool
675
675
``True`` when successful, ``False`` when failed.
676
676
677
- Notes
678
- -----
677
+ Warnings
678
+ --------
679
679
This method is only available starting on Ansys release 25R2.
680
680
"""
681
681
return
@@ -1159,8 +1159,8 @@ def set_color( # noqa: D102
1159
1159
def set_opacity (self , opacity : float ) -> None :
1160
1160
"""Set the opacity of the body.
1161
1161
1162
- Notes
1163
- -----
1162
+ Warnings
1163
+ --------
1164
1164
This method is only available starting on Ansys release 25R2.
1165
1165
"""
1166
1166
self ._grpc_client .log .debug (f"Setting body opacity of { self .id } to { opacity } ." )
0 commit comments