Writes the .dwg file format data of this object to the specified filer.
This function calls this object's dwgOutFields() function, writes loads any Xdata associated with this object.