get_action_name

omni.kit.stage_template.core.stage_core.get_action_name(name)

Converts a name to a valid action identifier.

This function takes a given name string and converts it to a lowercase string that can be used as an action identifier. It replaces hyphens and spaces with underscores.

Parameters

name (str) – The name to convert into an action identifier.

Returns

A valid action identifier derived from the input name.

Return type

str