Only the current selection will be written into the output file. A dialogue box will prompt you to enter the file name to save the export design. Remember, this dialogue can be moved out of the way to see which parts of the design have been selected.