GetJointBodyRelationship#

Fully qualified name: isaacsim::robot::schema::GetJointBodyRelationship

inline pxr::SdfPath isaacsim::robot::schema::GetJointBodyRelationship(
const pxr::UsdPrim &jointPrim,
int bodyIndex,
)#

Obtain the path of a joint body relationship.

Reads Body0 or Body1 from a joint while respecting the exclude-from-articulation flag.

Parameters:
  • jointPrim[in] Joint prim to query.

  • bodyIndex[in] Body relationship index (0 or 1).

Returns:

pxr::SdfPath Target path or empty path if unavailable.