getXformLocalScales#

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

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

Returns the local scales 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:

Array of shape (N, 3) containing [sx, sy, sz] for each prim.