Basically, you should decode the file format you want to import, then try to create
Wall and
Room instances that the imported data contains. Finally, add these objects to a new
Home instance that you'll display at the screen by inspiring you from SweetHome3D main class source code.