The release notes for version 6.4 contain this interesting item:
* Added IDs to home objects which may be modified.
I have a use for this feature. I am writing a script to convert SH3D files to X3D files. I would like to set the ID on certain elements so that event handlers can be attached.
I have checked and the home objects in the SH3D files now indeed have ID attributes. What I can't find is where in the GUI one can change the ID of an object. Could someone tell me where to look? Thanks.
How to change ID of home objects
This topic has been viewed 3258 times and has 3 replies
Re: How to change ID of home objects
There's no method to change the ID of objects. Too dangerous!
But you can manage your own ID with a property using setProperty / getProperty methods of HomeObject super class.
But you can manage your own ID with a property using setProperty / getProperty methods of HomeObject super class.
Emmanuel Puybaret, Sweet Home 3D creator
Re: How to change ID of home objects
In Inkscape you can change the ID of any object. I thought that this changelog entry meant that we could now change the ID of a wall or a piece of furniture by entering the desired ID into a text field somewhere in the Sweethome 3D program.
So what does this changelog entry mean?
So what does this changelog entry mean?
Re: How to change ID of home objects
"which may be modified" is related to objects, not to IDs.
This changelog means that all objects which content may change have an (internal) unique ID.
This changelog means that all objects which content may change have an (internal) unique ID.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest