Link Search Menu Expand Document

Get Persisted Objects

Tests scene get_persisted_objs.

The following source code was mirrored from the arena-py get-persisted-objs.py example.

from arena import *

scene = Scene(host="arenaxr.org", scene="test")

@scene.run_once
def main():
    object_id = "the_box"
    for obj_id,obj in scene.get_persisted_objs().items():
        print(obj)
        print()

scene.run_tasks()