getSimulationStepCount#

Fully qualified name: isaacsim::physics::manager::getSimulationStepCount

uint64_t isaacsim::physics::manager::getSimulationStepCount(
registration::SimulationId simulationId,
)#

Gets the physics step count reported by a simulation.

The count resets when a new simulation starts.

Note

Exceptions raised by the selected backend query callback propagate to the caller.

Note

The simulation may be queried while inactive, but it must remain registered.

Parameters:

simulationId – [in] Identifier of the simulation to query.

Returns:

The backend’s current step count, or 0 if the simulation is unknown or does not expose the query. A backend may increment this count when a step starts, before asynchronous work completes.