Writes the .dwg file data of this object.
This function is called by dwgIn() to allow the object to write its data.
When overriding this function: