STKInvalidCastError#

class ansys.stk.core.utilities.exceptions.STKInvalidCastError#

RuntimeError

Raised when attempting to cast an object to an unsupported interface or class type.

Import detail#

from ansys.stk.core.utilities.exceptions import STKInvalidCastError