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 4325 times and has 2 replies Next Thread
mderouss
Newbie



UK
Joined: May 14, 2020
Post Count: 8
Status: Offline
Reply to this Post  Reply with Quote 
Associate a URL with an object

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.
[May 16, 2020, 7:26:28 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: Associate a URL with an object

You could use the information# property in a SH3F file or even the information attribute of PieceOfFurniture elements in the Home.xml 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 developer
[May 21, 2020, 1:13:09 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Nauthiz
Newbie
Member's Avatar

Poland
Joined: Aug 27, 2019
Post Count: 7
Status: Offline
Reply to this Post  Reply with Quote 
Re: Associate a URL with an object

@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?...
[May 31, 2020, 9:54:03 AM] 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