ExtrusionDirection#

class ansys.geometry.core.designer.component.ExtrusionDirection(*args, **kwds)#

Bases: enum.Enum

Enum for extrusion direction definition.

Overview#

from_string

Convert a string to an ExtrusionDirection enum.

Import detail#

from ansys.geometry.core.designer.component import ExtrusionDirection

Attribute detail#

ExtrusionDirection.POSITIVE = '+'#
ExtrusionDirection.NEGATIVE = '-'#

Method detail#

classmethod ExtrusionDirection.from_string(string: str, use_default_if_error: bool = False) ExtrusionDirection#

Convert a string to an ExtrusionDirection enum.