setXformLocalScales#
Fully qualified name: isaacsim::foundation::usd::openusd::setXformLocalScales
- void isaacsim::foundation::usd::openusd::setXformLocalScales( )#
Sets the local scales of the given Xformable prims.
Preserves the existing local translation and rotation.
- Parameters:
stageId – [in] Stage to operate on.
paths – [in] List of absolute SdfPath strings of Xformable prims.
scales – [in] Array of shape
(N, 3)containing[sx, sy, sz]for each prim.
- Throws:
std::invalid_argument – If any path does not refer to a valid or Xformable prim.
std::invalid_argument – If any prim does not have the canonical transform ops order [xformOp:translate, xformOp:orient, xformOp:scale].
std::invalid_argument – If a provided array’s row count does not match
pathssize, or any row has the wrong length.