get_numeric#

static GeometryOperators.get_numeric(s: str) float#

Convert a string to a numeric value. Discard the suffix.

Examples

>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators
>>> obj = GeometryOperators()
>>> obj.get_numeric(s=2)