py3dframe.FrameTree.replace_frame#
- FrameTree.replace_frame(name, frame)[source]#
Replace a Frame in the FrameTree with another Frame.
The new Frame will inherit the parent and children of the replaced Frame.
Warning
The root frame cannot be replaced in the FrameTree with this method.
See also
FrameTree.connect_frame(): Add a frame to the FrameTree.set_root_frame(): Set the root frame of the FrameTree.