Connect and join curves of our document.
Drawing > Auto Connect
Command: AutoConnect
Steps:
Click on the icon, it will search all the visible curves, and join them automatically.