How to Assign Nested View Model in Runtime?

I have two artboards (artboards 2 and 3) rendered as artboard lists in my main artboard (artboard 1). Each artboard has its own view model (1, 2, 3). View model 3 has a nested instance of view model 2, so that the color of the dot in artboard 3 can be drawn from the color property in view model 2. The nested view model for each View Model 3 instance to assigned to the corresponding View Model 2 instance — so that the two lists mirror each other.

I am able to load each list at runtime and create instances, but I am having trouble assigning the instance of “Property of View Model 2”. Is there any example code that shows how this is done?

nested_view_model.revnested_view_model.riv