Associate a URL with an object

This topic has been viewed 5727 times and has 2 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
mderouss
Posts: 8
Joined: Thu May 14, 2020 12:53 am
Country: UK

Associate a URL with an object

Post by mderouss »

It would be very nice to have, as an object property, the ability to define a URL. To be really useful, there would also need to be UI that allowed this link to be launched - e.g. an entry in the rightclick menu.

This would enable many behaviours. You could add a link to the site where you intended to purchase the item. You could add a link to the site where the item's characteristics were described in detail, e.g. instructions for use. You could add a link to a local file such as a photograph or invoice.

Some URL's would trigger launch of a browser, but the user expectation would be that selecting a link to a file would trigger whatever association mechanism was relevant on the local platform.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Associate a URL with an object

Post by Puybaret »

You could use the information# property in a SH3F file or even the information attribute of PieceOfFurniture elements in the [font=courier new]Home.xml[/font] entry of a SH3D file (a SH3D file is just a zipped file). This information is able to handle clickable URLs, but you have to edit it directly in the SH3F or SH3D files at the moment.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Nauthiz
Posts: 7
Joined: Tue Aug 27, 2019 9:58 pm
Country: Poland

Re: Associate a URL with an object

Post by Nauthiz »

@Puybaret
This information is able to handle clickable URLs
I did the trick by putting the URL into the Keywords slot in Furniture Library Editor, then I opened the PluginFurnitureCatalog.properties file in a text editor and replaced all "tags#" with "information#". It works, the items are showing the little "i" icons on the furniture list, but the URLs are not clickable. How to make them so?...
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest