getXformLocalPoses#

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

std::tuple<array::Array, array::Array> isaacsim::foundation::usd::openusd::getXformLocalPoses(
int64_t stageId,
const std::vector<std::string> &paths,
)#

Returns the local poses of the given Xformable prims.

Parameters:
  • stageId – [in] Stage to query.

  • paths – [in] List of absolute SdfPath strings of Xformable prims.

Throws:

std::invalid_argument – If any path does not refer to a valid or Xformable prim.

Returns:

Tuple of two arrays:

  • translations of shape (N, 3) containing [x, y, z] for each prim;

  • orientations of shape (N, 4) containing xyzw-ordered quaternions for each prim.