|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Add furniture into the default furniture library from a plugin |
|
| Print at Jan 29, 2026, 12:18:29 AM | View all posts in this thread on one page |
| Posted by chicosRV at Jun 8, 2012, 10: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 11, 2012, 12:03:38 AM |
|
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 Jan 29, 2026, 12:18:29 AM |