Print at Dec 19, 2025, 9:59:27 PM View all posts in this thread on one page
Posted by SteveZ at Jun 14, 2013, 12:41:46 AM
Adding new field in forniture.
I would like to add a new field in the description of the forniture, indicating an ID of the object. How can I do this? Where I have to put my hands in the code?

Posted by SteveZ at Jun 14, 2013, 4:44:55 PM
Re: Adding new field in forniture.
Well, browsing the source code I have found an attribute ID in object piece, but what I actually mean by ID is user defined ID. Namely an extra string field where a user can define an unique manner a piece of fornitoure and change if he will.

Posted by Puybaret at Jun 14, 2013, 5:37:04 PM
Re: Adding new field in forniture.
Maybe you could use description field. If you want it in the user interface, you just have to comment the line
case DESCRIPTION :
in HomeFurnitureController.
Note that this field will be displayed to all users sooner or later.

By the way, it would be nice to present your project to the community.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator