length#

property EdgePrimitive.length: float | bool#

Length of the edge.

Returns:
float or bool

Edge length in model units when edge has two vertices, False otherwise.

References

>>> oEditor.GetEdgeLength

Examples

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