|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Add furniture into the default furniture library from a plugin » » » » Post: Re: Add furniture into the default furniture library from a plugin |
Print at May 13, 2026, 8:21:50 PM |
| 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 May 13, 2026, 8:21:50 PM |