getName#

Fully qualified name: isaacsim::core::includes::getName

inline std::string isaacsim::core::includes::getName(
const pxr::UsdPrim &prim,
)#

Retrieves the name of a USD prim, with support for custom overrides.

Determines the name of a prim by:

  1. Using the default prim name from USD

  2. Checking for “isaac:nameOverride” attribute to allow custom naming

  3. Using the override value if present and not empty

See also

g_kIsaacNameOveride

See also

safeGetAttribute

Parameters:

prim[in] USD prim whose name to retrieve

Returns:

std::string Name of the prim, potentially from override attribute