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]
How to add information in the file .SH3D
This topic has been viewed 3817 times and has 6 replies
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
PB,
The only way, that I can think of, is to change the names of all the furniture elements you have inserted into your design.
However, the problem is to retrieve this information, as (most?) text editors cannot open the SH3D file.
Hans
The only way, that I can think of, is to change the names of all the furniture elements you have inserted into your design.
However, the problem is to retrieve this information, as (most?) text editors cannot open the SH3D file.
Hans
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...
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...
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
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
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.
Anyway, thank you for having taken time to look at my problem.
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.
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
Re: How to add information in the file .SH3D / Ajouter une information dans le fichier .SH3D
Thank you very for your answer, it solved my problem.
Who is online
Users browsing this forum: No registered users and 1 guest