Add furniture into the default furniture library from a plugin
This topic has been viewed 3729 times and has 1 replies
Add furniture into the default furniture library from a plugin
Hello, I'd like to add furniture into the default furniture library from a plugin. Can you help me with that??
Re: Add furniture into the default furniture library from a plugin
Just create some instances of com.eteks.sweethome3d.model.CatalogPieceOfFurniture and add them to the furniture catalog returned by getFurnitureCatalog method available in the user preferences. To configure correctly CatalogPieceOfFurniture instances, have a look to com.eteks.sweethome3d.io.DefaultFurnitureCatalog class.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest