Split STL into Linked Vertices

Hi, I have an STL file export from another application and I’d like to automatically split all the groups of connected vertices into separate objects so I can add materials, move them etc. Is there any tool which will automatically do this? I’m aware of the “select linked” tool in “edit mode” but would like an automated solution for the entire imported object.

For background, I’m exporting the STL from Siemens NX cad software to render animations in Blender.

Thanks!

Select all vertices and P / separate by loose parts

Thanks for the response Richard. The separate by loose parts option just runs and runs for me, so I think my geometry may be too complicated for that.

My solution was to split up my model in cad as separate STL’s, and import them (the parts registered correctly in their STL files, so I didn’t have to line everything up).

Thanks