Adding new field in forniture.

This topic has been viewed 5629 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
SteveZ
Posts: 4
Joined: Fri Jun 14, 2013 12:25 am

Adding new field in forniture.

Post by SteveZ »

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?
SteveZ
Posts: 4
Joined: Fri Jun 14, 2013 12:25 am

Re: Adding new field in forniture.

Post by SteveZ »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Adding new field in forniture.

Post by Puybaret »

Maybe you could use description field. If you want it in the user interface, you just have to comment the line

Code: Select all

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest