Web Page Production Guide

Creating and Customizing
the CADViewer window

Once the CADViewer software has been installed on your Web server, the publisher responsible for the site and its pages can begin to make use of the CADViewer technology. The entire production process involves the following:

The following pages (linked together as part of a procedural whole) will show you how to implement the CADViewer in your site, by thoroughly detailing the applet code and parameters that you can store in key Web pages.


Required Files

The following files are required to run CADViewer:

Getting started

To place a CADViewer window in a Web page, you must first enter the requisite <APPLET> tags in the HTML file— where the viewer window is to appear. The appearance and function of this viewer (including which drawing it displays) can be then modified by the entry of applet parameters.

The basic Java APPLET entry would resemble this example:

<applet codebase="/dir/" code="ViewerApplet.class" archive="obfu.jar" width=300 height=300 MAYSCRIPT>
</applet>

This entry produces a CADViewer window with no drawing and few functional features.

A Java applet entry with additional parameters would resemble this example:

<applet codebase="/dir/" code="ViewerApplet.class" archive="obfu.jar" width=300 height=300 MAYSCRIPT>
<name="cabbase" value="obfu.cab">
<name="name" value="color.dwf">
<name="type" value="panel">
<name="redline_file" value="/dir/redlines/">
<name="redline_cgi" value="/dir/redsaver.cgi">
<name="list" value="/dir/drawings.txt">
</applet>

The above example can be used as a combination of applet parameters and *.cfg paramters as follow:

<applet codebase="/dir/" code="ViewerApplet.class" archive="obfu.jar" width=300 height=300 MAYSCRIPT>
<name="cabbase" value="obfu.cab">
<name="name" value="color.dwf">
</applet>

Here is the additional parameters defined in the *.cfg file

type=panel
redline_file=/dir/redlines/
redline_cgi=/dir/redsaver.cgi
list=/dir/drawings.txt

This entry produces a full-featured CADViewer along with a List dialog box, serving as a catalog of drawings the user can open and view. In addition, the parameters activate the redline features, including the ability to save redlines in a reopenable file on the Web server.

The key entry is the tag pair, <APPLET> </APPLET>. Certain parameters embedded within the APPLET tag itself ("codebase", "code" and "archive") cannot and should not be modified.

A full set of additional <APPLET> parameter tags are available to help you modify and enhance the CADViewer window and its features. The following pages provide complete information on what all of the applicable parameters control and how you can use them to modify the CADViewer window. See List of parameters for all available parameters.


1: Viewer-specific parameters | 2: Drawing-specific parameters | 3: Server-specific parameters

4: Viewer-parameters list | 5: Java API