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 authored “isaac:NameOverride” joint names before legacy names

  3. Falling back to “isaac:nameOverride” (still canonical for links) An authored empty or blocked canonical value selects the prim name.

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