FR
Joined: Nov 10, 2010
Post Count: 8
Status:
Offline
How to add information in the file .SH3D
Hello everyone,
I need to save, for each of the furniture positioned on the 2D plan (an integer that will serve me as an identifier). However I don't know where to change the code to save this information in the file SH3D, and then retrieve it. Do you know if this is possible? If yes, could you give me a track to do this?
Thank you for your feedback.
Pierrick.
[Note from moderator: please no translation. If you prefer to speak French, please post in the French section]
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Nov 15, 2010, 12:42:18 PM]
FR
Joined: Nov 10, 2010
Post Count: 8
Status:
Offline
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
Thank you for your answer. I think I haven't been enough precise. In fact, I have to integrate SweetHome in a PHP application, when I insert a furniture in the plan, a popup is displayed, and the user has to fulfill some informations, when he sends the form, it saves these informations in a database, with a generated ID which correspond to the furniture in SweetHome, this is this ID that I need to retrieve and to save in the SH3D file...
Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status:
Offline
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
PB,
This is beyond me. Check it with Emmanuel. Sounds as if you need to program this in Java. SH3D is open source, so the code is available. If you have trouble doing it yourself, I'm sure Emmanual can be convinced to do it for you, if the price is right.
Hans
----------------------------------------
Hans
FR
Joined: Nov 10, 2010
Post Count: 8
Status:
Offline
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
I know I have to program this in Java... but I don't know enough SH3D, that's why I need some help ! Anyway, thank you for having taken time to look at my problem.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
Maybe you could use the description property to store your information. Until now, this modifiable property isn't used yet, so if you store your information in it, it won't appear in the user interface but will be saved.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator