py3dframe.FrameTree.move_frame#

FrameTree.move_frame(name, new_parent_name=None)[source]#

Move a Frame to a new parent frame in the FrameTree.

The frame’s parent is updated to the new parent frame.

Parameters:
  • name (str) – The name of the frame to move.

  • new_parent_name (Optional[str], optional) – The name of the new parent frame. If None, the frame is moved to be a child of the root frame. Default is None.

Return type:

None