So I just created a Project, I drew a Polyline using a start point in lower left of a project, and then entered coordinates for the four corners as @2000,@0 @0,@2000 @0,@-2000 and then joined back to the first point. I selected the Autoclose property. I then used the Google Earth exporter to export just the polyline to KML. It opens in Google Earth and looks right. I then found the KML file in the Projects folder and opened it with Notepad. There are only 5 coordinate values in the file for the 5 points of the line (to create the closed figure). For the export to Google Earth I selected the Clamp to Ground Option. My line was also 2D not 3D.
At least with this method it is not creating hundreds of small segments at least not from TBC - so if the Drone Software has hundreds of nodes they must be getting created in that software not by TBC. I do't have the time today to test every type of line (Linestring, Rectangle, Boundary, Polygon) and both 2D and 3D versions of them, but this appears to be working on our side. I enclose the KML file if you want to test it in your software - the rectangle is around our Trimble Facility in Colorado.
If the line does have a lot of nodes in it in the KMLFile - you can always edit that line of coords in Notepad and reduce it down to just the 5 points or whatever you need - it is likely quicker to create the 5 points and replace the long list rather than trying to find the 4 corners in the long list of coords. However the above approach works for me but I am not using your Drone Software ....
Alan