Is possible to disable loading the basic and default furniture library?

This topic has been viewed 4132 times and has 3 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
comp001
Posts: 3
Joined: Sun Jun 19, 2011 6:11 pm

Is possible to disable loading the basic and default furniture library?

Post by comp001 »

Hello to everybody!

I'd like to now whether is possible to disable the load of the default furniture set. I'll explain my situation first.

I'd like to use the program to allow the user only a few furniture, the one I've created, but I still have the load of the default library with the kitchen, living-room furniture, etcetera.

Is there any possibility of disabling that library?. Ok, I know that I can import my own library to the program but for avoiding the user to get confused, I prefer Sweet Home to load only my library.

Thanks in advance.

Luis, Spain.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Is possible to disable loading the basic and default furniture library?

Post by Puybaret »

If you're able to build Sweet Home 3D from the sources as indicated in the README.TXT file, you should remove lines in the Ant build.xml file that includes or moves the "build/Furniture.jar" file according to the kind of installer you want to build (for example if you want to build a Windows installer, you should remove the line 423).
If you're not able to do that, you can remove from an installed version the Furniture.jar file found in the installed folder.

Caution: if you want to distribute a modified version of Sweet Home 3D, its GNU General Public License obliges you to distribute the source code of the modified version.
Emmanuel Puybaret, Sweet Home 3D creator
comp001
Posts: 3
Joined: Sun Jun 19, 2011 6:11 pm

Re: Is possible to disable loading the basic and default furniture library?

Post by comp001 »

Thanks! I'll try and tell you the results. Of course I will distribute the modified code too with the program, no problems!. Thanks.

Luis
comp001
Posts: 3
Joined: Sun Jun 19, 2011 6:11 pm

Re: Is possible to disable loading the basic and default furniture library?

Post by comp001 »

I removed the furniture.jar and worked perfectly for me so no code-modifications needed!.

Thanks again!.

Luis
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest