NameUtils#
- class ansys.sam.sysml2.tools.name_utils.NameUtils#
Helps standardize element names.
Overview#
Convert a camelCase or PascalCase string to snake_case. |
|
Convert a camelCase or PascalCase string to _snake_case attribute name. |
|
Convert a snake_case string to camelCase. |
Import detail#
from ansys.sam.sysml2.tools.name_utils import NameUtils
Method detail#
- static NameUtils.to_snake_case(string: str) str#
Convert a camelCase or PascalCase string to snake_case.