Linking to Files in Net View

By creating links, you can allow members of your workgroup to load files into Softimage and run scripts.

Linking to Data Files

When you link to a data file with an extension that Softimage recognizes, members of your workgroup can drag and drop the link into Softimage. For a list of the Net View drag-and-drop rules, see the Softimage user guide.

To create a link

• Use an <a> element (anchor) and set its href attribute to the address of the file:

       <a href="dest_address">link</a>

The dest_address can be any standard URL denoting the location of the file. The link can be any text string, image <img> element, or other HTML element. For example:

    <a href="../Data/Presets/Puce.Preset">Puce</a>

For image formats that can be displayed in the HTML viewer (JPEG, PNG, and GIF), users can also drag and drop <img> elements directly. For example:

    <img src="../Pictures/Mado.jpg"/>

Linking to Scripts

You can link to external script files (.vbs and .js) like any data file as described in the previous section. However, links to script files have two behaviors:

• Dropping a link into the script editor opens the file for editing.

• Clicking a link runs the script. See Running Scripts in Net View for more information about running scripts from pages in Net View.

To run an external script file in Net View, you should use the file protocol for the href attribute. For example:

    <a href="file://zippy/Scripts/runme.vbs">Run Me</a>

Autodesk Softimage v7.5