get_action_name

omni.kit.menu.create.scripts.create.get_action_name(name)

Converts a given name to a format suitable for action identifiers.

Parameters

name (str) – The original name string to be converted.

Returns

The converted string with spaces and hyphens replaced by underscores and in lowercase.

Return type

str