midpoint#

property EdgePrimitive.midpoint: list[float] | None#

Midpoint coordinates of the edge.

Returns:
list of float values or None

Midpoint in [x, y, z] coordinates when the edge is a circle with only one vertex, None otherwise.

References

>>> oEditor.GetVertexPosition

Examples

>>> from ansys.aedt.core.modeler.cad.elements_3d import EdgePrimitive
>>> obj = EdgePrimitive()
>>> obj.midpoint