calculate_radius_2D#
- Modeler2D.calculate_radius_2D(assignment: str, inner: bool = False) float#
Calculate the extremity of an object in the radial direction.
- Parameters:
- Returns:
floatRadius value.
Note
If
inner=True, then the maximum is returned; otherwise, the minimum is returned.
Examples
>>> from ansys.aedt.core.modeler.modeler_2d import Modeler2D >>> obj = Modeler2D() >>> obj.calculate_radius_2D(assignment="Box1")