{"id":17102,"date":"2017-07-03T11:00:57","date_gmt":"2017-07-03T15:00:57","guid":{"rendered":"https:\/\/blogs.solidworks.com\/tech\/?p=17102"},"modified":"2017-06-29T11:11:48","modified_gmt":"2017-06-29T15:11:48","slug":"create-interactive-content-solidworks-composer","status":"publish","type":"post","link":"https:\/\/blogs.solidworks.com\/tech\/2017\/07\/create-interactive-content-solidworks-composer.html","title":{"rendered":"Create Interactive Content with SOLIDWORKS Composer"},"content":{"rendered":"<h2>One of our\u00a0favorite things about SOLIDWORKS Composer is the way you can take your images to a whole new level, with the ability to create content that you can navigate quickly and easily. So how can we do that?<\/h2>\n<p>The first thing to do is to create some image views. This highlights another great feature of using <a href=\"https:\/\/www.solidsolutions.co.uk\/solidworks\/Technical-Communication\/Packages\/Composer.aspx\">SOLIDWORKS Composer<\/a>. We don&#8217;t\u00a0have to worry about mates or display states for this. I can do what I want to position the geometry without worrying that I am breaking the SOLIDWORKS model.<\/p>\n<p>For this blog we are\u00a0using the SSM Trike which was a design project from a group of our interns.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17126 size-full\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"1280\" height=\"1280\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike.png 1280w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike-120x120.png 120w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike-300x300.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike-768x768.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike-615x615.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-SOLIDWORKS-Trike-728x728.png 728w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>So for this we\u00a0wanted to show a couple of options for content. Here you will see the colour options for the bike as well as links for the spare parts. We are\u00a0going to use SVG output files for this. They are scalable vector graphics so, no matter the size, we\u00a0wont get pixelated results.<\/p>\n<p>So first set up all your views, here are a couple of them:<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-PartsList-Composer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17125 size-full\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-PartsList-Composer.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"607\" height=\"607\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-PartsList-Composer.png 607w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-PartsList-Composer-120x120.png 120w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-PartsList-Composer-300x300.png 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/a><\/p>\n<p>As you can see we have colour options and parts lists. What we could show is limited only by our own imagination, or requirements of the customers.<\/p>\n<p>To add the interactivity we need to add links to our objects in the views. For the front page we\u00a0set a link to the relevant SVG file. So for the colour options we\u00a0linked to the TRIKE-RED.svg file. Since this is for web content\u00a0we need to do this. By keeping the link simple like this we\u00a0know that as long as we\u00a0keep all the SVG files in the same folder we\u00a0will be ok.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17121\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Properties-Composer.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"437\" height=\"427\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Properties-Composer.png 437w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Properties-Composer-300x293.png 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>Then all we need to do is continue with this process, adding links in each of the views. Remember that if we have an object, or &#8216;actor&#8217; to use the <a href=\"https:\/\/www.solidsolutions.co.uk\/solidworks\/Technical-Communication\/Packages\/Composer.aspx\">SOLIDWORKS Composer<\/a> term, that we have updated with link information, we can update that object across multiple views.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17123\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Views-Composer.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"479\" height=\"104\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Views-Composer.png 479w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Views-Composer-300x65.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<p>This allows us to use single items to link to other files. But there is another way! This involves using Hotspots.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17122\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Assembly-Composer.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"479\" height=\"104\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Assembly-Composer.png 479w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Assembly-Composer-300x65.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<p>Hotspots allows you to create groups of objects to act as a common link. This is useful to allow users to navigate around a system and highlights the complete group instead of the individual parts. You can colour the hot spot and when you hover over the hotspot you see the dynamic highlighting. This comes through nicely into the SVG file.<\/p>\n<p>Hotspots also give another additional treat. That is it allows you to customise the highlight colour for links. The swatches for the colour options were all originally highlighting in green. This was then changed to a hot spot with an appropriate shade applied to ensure that hovering over the link had no adverse effect on the display. Otherwise you see a green tint to any object with a link applied.<\/p>\n<p>Remember that links can also work for other non composer files. Do you want to play a video? Display a PDF or link to another page? All this is possible. Look out for the PDF logo in the main bar assembly. It will link to a pdf drawing of the part. Also selecting the Play button will link to a short video of the trike.<\/p>\n<p>Once you have all your files created it\u2019s time to add it into a website.<\/p>\n<p>The following is a simple page that embeds the file. If the html page is in the same folder as the SVG files this will work nicely and is good for testing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-17120\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Code-Composer-615x358.png\" alt=\"Solid Solutions Solidworks Trike\" width=\"615\" height=\"358\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Code-Composer-615x358.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Code-Composer-300x175.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Solidsolutions-Solidworks-Code-Composer.png 716w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>So we come to the final step. Test, test, test. Make sure that all of the links are up to date. It is all too easy to miss one out. Get colleagues to check too.<\/p>\n<p><a href=\"https:\/\/www.solidsolutions.co.uk\/SolidWorks\/Technical-Communication\/Interactive-Examples\/Kids-Trike.aspx\">See\u00a0the Kids Trike Parts list live on our website:<\/a><\/p>\n<p><a href=\"https:\/\/www.solidsolutions.co.uk\/SolidWorks\/Technical-Communication\/Interactive-Examples\/Kids-Trike.aspx\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17127\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SOLIDWORKS-Composer-Online-Parts-SolidSolutions.png\" alt=\"SOLIDWORKS-Composer-Online-Parts-SolidSolutions\" width=\"400\" height=\"362\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SOLIDWORKS-Composer-Online-Parts-SolidSolutions.png 400w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SOLIDWORKS-Composer-Online-Parts-SolidSolutions-300x272.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>We have a few other <a href=\"https:\/\/www.solidsolutions.co.uk\/solidworks\/Technical-Communication\/Interactive-Examples\/default.aspx\">Composer interactive examples<\/a> on our website so feel free to take a look.<\/p>\n<p>This is just the tip of the iceberg for what can be done with <a href=\"https:\/\/www.solidsolutions.co.uk\/solidworks\/Technical-Communication\/Packages\/Composer.aspx\">SOLIDWORKS Composer<\/a>\u00a0and even better news is that the product is currently on <a href=\"https:\/\/www.solidsolutions.co.uk\/lp\/solidworks-special-offer.aspx\">offer<\/a> until the end of June 2017.<\/p>\n<hr \/>\n<h6><strong>Gordon Stewart<br \/>\n<\/strong><strong>Elite SOLIDWORKS Applications Engineer &#8211;\u00a0Solid Solutions <\/strong><\/h6>\n","protected":false},"excerpt":{"rendered":"<p>One of our\u00a0favorite things about SOLIDWORKS Composer is the way you can take your images to a whole new level, with the ability to create content that you can navigate quickly and easily. So how can we do that? The<\/p>\n... <a href=\"https:\/\/blogs.solidworks.com\/tech\/2017\/07\/create-interactive-content-solidworks-composer.html\">Continued<\/a>","protected":false},"author":138,"featured_media":17348,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[23,35,36],"tags":[1994,179,60,453],"class_list":["post-17102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-composer","category-tips-tricks","category-usability","tag-image-views","tag-solidworks-composer-2","tag-tech-tip","tag-tips-and-tricks"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/17102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/comments?post=17102"}],"version-history":[{"count":7,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/17102\/revisions"}],"predecessor-version":[{"id":17350,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/17102\/revisions\/17350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media\/17348"}],"wp:attachment":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media?parent=17102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/categories?post=17102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/tags?post=17102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}