generateStageRepresentation#

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

std::string isaacsim::foundation::usd::openusd::generateStageRepresentation(
int64_t stageId,
const std::string &mode = "tree",
)#

Generates a human-readable representation of the stage hierarchy.

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

  • mode – [in] Representation format. Supported values:

    • ”tree”: indented hierarchy showing parent–child relationships.

    • ”list”: flat list of all prim paths, one per line.

Returns:

String containing the stage representation.