|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Add furniture into the default furniture library from a plugin |
|
| Print at Dec 20, 2025, 10:25:52 AM | View all posts in this thread on one page |
| Posted by chicosRV at Jun 8, 2012, 8:41:27 PM |
Add furniture into the default furniture library from a pluginHello, I'd like to add furniture into the default furniture library from a plugin. Can you help me with that?? |
| Posted by Puybaret at Jun 10, 2012, 10:03:38 PM |
|
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 |
|
|
Current timezone is GMT Dec 20, 2025, 10:25:52 AM |