|Arch -> Utilities -> Split Mesh|
This tool splits a selected Mesh object into its separate components
The Split Mesh tool can by used in macros and from the python console by using the following function:
splits the given mesh object into separated components.
If mark is False, nothing else is done. If True (default), non-manifold components will be painted in red.