Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4347 times and has 2 replies Next Thread
SteveZ
Newbie




Joined: Jun 14, 2013
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Jun 14, 2013, 12:41:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
SteveZ
Newbie




Joined: Jun 14, 2013
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jun 14, 2013, 4:44:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Jun 14, 2013, 5:37:04 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved