OpenAPI, Simulation Toolkit, and Instances

When simulating an instance using the GUI there is a convenient button to update the slots of an existing instance with the current values of the simulation, as well as to create a new instance using the current values. 

Is there a clean way to do this using CameoAPI calls? I know how to initiate a simulation from the API, and I can get back a SimulationResult object from that. What I don't know is how to use the SimulationResult object to update the instance (or create a new one), with all the right slots populated with the right values.

Has anyone done this? Are there API calls to accomplish it?