|Arch -> Utilities -> Close Holes|
This tool identifies holes (circular sequence of open edges) in a Shape object and attempts to close it by adding it a new face made from that edges sequence. You must still verify yourself that the result is a solid, though.
This tool can by used in macros and from the python console by using the following function:
closes a hole in an open shape