movePrim#

Fully qualified name: isaacsim::foundation::usd::openusd::movePrim

std::tuple<bool, std::string> isaacsim::foundation::usd::openusd::movePrim(
int64_t stageId,
const std::string &targetPath,
const std::string &destinationPath,
)#

Moves a prim from one path to another within the same stage.

Parameters:
  • stageId – [in] Stage to operate on.

  • targetPath – [in] Absolute SdfPath of the prim to move.

  • destinationPath – [in] Absolute SdfPath of the desired new location.

Returns:

Tuple of (success, finalDestinationPath). On failure, the path is empty.