Linking SVGs in Composer

Monday July 20, 2015 at 9:46am
SVGs are an exceptionally useful and versatile export option from SOLIDWORKS Composer. This blog explains the process required to export, link and prepare the files for uploading.
Linking SVGs in Composer

SVGs are an exceptionally useful and versatile export option from SOLIDWORKS Composer.  As they are vector files they will not pixelate (regardless of their size) and can be viewed with Internet Explorer.

In this blogpost, I’m going to walk through the process required to export, link and prepare the files for uploading.

Initially I have setup the document with the required views, ready to export.

We shall output the files via the Technical Illustration Workshop, using the Multiple option to export all the views in a single operation.

For my example, I am mimicking a Spare Parts catalogue for a Jigsaw. For this, there are multiple layers to the website. An initial Landing Page, a Main Spare Page, a Sub-Spare Page and multiple Shopping Level pages

Now we require the links, to connect all the views together. This is done by using the Events Property of the desired Geometric and Collaborative Actors.

Links enable us to connect to views, websites, files, animations and FTP sites. Below is a breakdown of the available link types and their descriptions.



In our case, we shall use the file option and link to the exported SVG files. Once completed, re-export the SVGs overwriting the original files.  

To create a fully interactive SVG document, we need to make a Start or Homepage. This will be created in Notepad as some simple HTML code and saved out as a HTML document. The frame below is all that is required, just change the text in the red boxes to your files and preferences.

Once completed, simply open the Start / Homepage in Internet Explorer and navigate through your SVGs. The standard forward and back Internet options will work, although you could add your own custom buttons linked to different views.

A few things to consider: For Internet explorer 9/10 to support our html template you may need to copy and then extract  this Html template from here to C:\Program Files\SOLIDWORKS Corp **VERSION**\SOLIDWORKS Composer\Html (make a back up of the existing SOLIDWORKSSvg.html first).

Some completed examples of these can be viewed upon our website here.

Richard Earley

Applications Engineer

Related Blog Posts

Kicking Tee - Predicting Injection Moulding with S
For our second challenge in our Rugby Lions themed competition with South African reseller MECAD we modelled an adjustable kicking tee, now we want to take things a step further and make sure our design is prepared for manufacture. The kicking tee co...
Creating a Kicking Tee - Modelling Walkthrough
As the Rugby Lions Series continues Solid Solutions and MECAD are continuing to compete off the pitch using SOLIDWORKS. Our second challenge was to create a Kicking Tee, a small yet key piece of equipment that is used almost every game. Various desig...
Rugby Lions Challenge - Scrum Machine
As the Rugby Lions South Africa tour continues we are launching into a series of CAD competitions between Solid Solutions and MECAD - South African SOLIDWORKS Reseller, battling it out in SOLIDWORKS, as our countries' teams are battling it out on the...

 Part of Solid Solutions Group

MENU
Top