Object tag and Internet Explorer
Other Pages/Files to help You

 

   


This next section is basically all the options listed in the Autodesks help pages on whip!

A complete breakdown
of the HTML options for loading DWF files


The parts of the Object tag for Microsoft Internet Explorer include:

  • id
    id enables you to give each DWF reference a unique id that can be referenced by JScript. You can change this as desired. Do not confuse this with the classid.

  • id="Sample"
    classid
    The classid value is specific to WHIP!. Do not change this value. The value specified is used to distinguish WHIP! from other ActiveX controls. There are various versions of WHIP!


    classid="clsid:B2BE75F3-9197-11CF-ABF4-08000996E931"

  • codebase

  • The URL specified in codebase is hard coded to identify where users of the Microsoft Internet Explorer get updates of the WHIP! ActiveX Control. Typically, it should remain unchanged. The current version of the control is 4.0-95 which is expressed as 4,0,42,95 (has an extra 42 for version 00.42 of DWF files).
      For use with WHIP! as an Intranet-Only Control: Whip.cab
Use the following line as the codebase replacing the "ourserver/" with a location somewhere on your server where all users viewing the dwf pages can access the control to initiate a local download of the file.
codebase=
"ftp://ourserver/whip.cab#version=-1,-1,-1,-1"
      For use with WHIP! Control saved locally: Whip.cab
Use the following line as the codebase replacing the version number so that each time it doesn't force a download each time a page is loaded.
codebase=
"ftp://ourserver//whip.cab#version=4,0,42,95"

When you download from your local site, the Microsoft Internet Explorer will try to verify Autodesk's digital signature by attempting to connect to www.verisign.com. In an Intranet-only situation, this will fail. As a result, you will see the message:

The component appears to have been digitally "signed" by its publisher,
but the signature cannot be verified.
Do you wish to continue?
Do not be alarmed.

It is OK to continue. This is normal for an Intranet-only configuration.

  • width and height
    You can modify width and height as desired. In the example width and height are specified in pixels; however, they may also be specified as browser window percentages, for example 75%.
width=400 height=300
width=
75% height=75%
  • param name
    Param name identifies what type of parameter you are specifying for the object tag.
    • filename (required)
      The filename parameter is required. The value portion is where you specify the name of your own DWF file.


      <param name="Filename" value="Sample.dwf">

      View
      (Optional : see note)
      The view parameter is optional. The value portion is where you specify an initial view (in logical coordinates) for your DWF file. The initial view is specified by 4 values: left, right, bottom, top.


      <param name="View" value="10000+30000+20000+40000">

      Namedview
      (Optional : see note)
      The namedview parameter is optional. The value portion is where you specify the name of an initial view (using a named view already stored in the DWF file) for your DWF file. If the specified named view has not been defined in the DWF file, the option is ignored. If the value "*" (a single asterisk) is used, it instructs WHIP! to compute a view equivalent to a Fit to Window command. The view normal must be perpendicular to last saved view.
<param name="NamedView" value="*">
<param name="NamedView" value="KITCHEN">
      layerson or layersoff (Optional)
      The layerson or layersoff parameter is optional. The value portion is where you specify the name of a layer (using a layer already stored in the DWF file) for your DWF file. If the specified layer has not been defined in the DWF file, the option is ignored. You can specify more than one layer by separating the layer names with commas.
<param name="LayersOn" value="PLUMBING,FRAMING">
<param name="LayersOff" value="
PLUMBING,FRAMING">
      userinterface (Optional)
      The userinterface parameter is optional. The value portion is where you specify whether or not the WHIP! right-click menu and pointer are displayed or hidden.


      <param name="UserInterface" value="on">

      backcolor
      (Optional)
      The backcolor parameter is optional. The value portion is where you specify the color of the background for WHIP! Value is a hexadecimal number.

      <param name="BackColor" value="255">

Note: Either a view or a namedview (not both) may be used to specify an initial view. The specified initial view overrides the initial view that is stored inside the DWF file. The parameters are case insensitive; however, the values are not. In other words, you can use NamedView or namedview as a parameter, but kitchen and KITCHEN are not the same. AutoCAD saves named views in uppercase text.

 

 

- Main Menu -
- Topic Menu -

For a detailed breakdown see

Whip! HTML Options
-

Embed tag and Netscape

-
Object tag and Internet Explorer
-


Setup Pages

Introduction to DWF
-

DWF Versatility & Limitations
-
Setting up Autocad for DWF
-
Create your own DWF Drawings
-
Create your own CadViewer HTML Page
-

Create your own Whip! HTML Page
-

View Sample Drawings with CADViewer
-

View Sample Drawings with Whip!
-




Other Pages

- Main Menu -
- Topic Menu -


Tutorials

Viewing Dwf files Within a Browser
-
Using Dwf files to insert/open Dwg files
-

 

 

 

 

Lisp Examples

Example of Lisp Html Page (Saveall3.lsp)
-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
- Top of Page - Main Menu - Topic Menu - Downloads -