Breaking Mesh into Separate Objects

I imported a .dxf model but the walls, windows etc. are all one piece. I remember seeing there was a way to separate mesh objects or break apart a mesh into it’s separate pieces in Blender but I can’t remember where it is. I did a search too and couldn’t find anything.

Anyone know?

Thanks

Go to edit mode, press P

You can separate by selections, loose parts, or materials.

Thanks rcpongo. :slight_smile: