Hi,
I have a new furniture library created with furniture library. I want to add it to my plugin so that when they open sweethome 3d, the plugin file will automatically load those new furnitures into the category.
Could someone please help on how to do this.
I really need this to be done pretty soon, so your help will be more than appreciated in this.
Thank you!
Add furniture library to java code
This topic has been viewed 6372 times and has 2 replies
Re: Add furniture library to java code
I never tried it but this tip should work: read the furniture in your library file with the constructor of DefaultFurnitureCatalog class that takes URLs in parameter. Then add the furniture of this temporary catalog to the Sweet Home 3D catalog returned by user preferences getFurnitureCatalog method.
Emmanuel Puybaret, Sweet Home 3D creator
-
anandunadkat
- Posts: 17
- Joined: Tue Jan 15, 2013 3:22 pm
Re: Add furniture library to java code
Thanks for your reply. I dont want it to read from furniture folder because that would mean that users will have to manually put it in the folder.. How does the URL work? Have you got any idea?
Who is online
Users browsing this forum: No registered users and 2 guests