Search

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.

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

How to Install SOLIDWORKS 2024
The following guide takes you through the process of cleanly installing SOLIDWORKS 2024.
Surface Modelling Tips: How to Repair & Edit Impor
Learn what imported geometry is and how to repair it in SOLIDWORKS.
Top 10 Driveworks Tips for New Users
Whether you're new to DriveWorks or looking to enhance your skills, these tips will help you work more efficiently and effectively.

 Solid Solutions | Trimech Group

MENU
Top