getPhysicsScenePaths#

Fully qualified name: isaacsim::core::simulation_manager::getPhysicsScenePaths

std::vector<std::string> isaacsim::core::simulation_manager::getPhysicsScenePaths(
uint64_t stageId,
)#

Gets the paths of all PhysicsScene prims in the specified stage.

Traverses all prims in the stage identified by the given stage ID and returns the paths of any prims that are of type UsdPhysicsScene.

Parameters:

stageId[in] The ID of the USD stage to search (from UsdStageCache).

Returns:

A vector of string paths to all PhysicsScene prims in the stage. Returns an empty vector if the stage ID is invalid.