Save/restore scene graph?

I want to be able to save the current state of the scene graph, transfer it over the network and restore it on the other end (on potentially another platform).
This needs to include all physics object data as well.

Is there any convenient way to do this?

Currently I’m just keeping my own mini scene graph of the key objects and then making custom save/restore methods for each one. The bookkeeping is a pain though.

You can save the node path via writeBamFile…

panda3d.org/reference/python … 60b2ce3957

Cheers,
Gary