Skip to contents

Retrieves the path of all observers defined in the container and all its children

Usage

getAllObserverPathsIn(container)

Arguments

container

A Container or Simulation used to find the observers

Value

An array with one entry per observer defined in the container

See also

loadSimulation(), getContainer() and getAllContainersMatching() to retrieve objects of type Container or Simulation

Examples


simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)

# Returns the path of all quantities defined in the simulation
observerPaths <- getAllObserverPathsIn(sim)