WHIP!

WHIP! 4.0-102 Read Me

Netscape
  • Plug-In for Netscape Navigator
  • MSIE
  • ActiveX Control for Microsoft Internet Explorer
  • WHIP! UI
  • Viewing DWF files using WHIP!
  • AIU
  • Generating DWF files using AutoCAD
  • publish
  • Publishing DWF files for WHIP!
  • WHIP! UI
  • Programming with WHIP!

  • Plug-In for Netscape Navigator

    Installing the plug-in

    1. Download whip4.exe from the Autodesk web site.
    2. Make sure Netscape Navigator is not running.
    3. Make sure your directories for temporary files, for example C:\TEMP, are empty.
    4. Run whip4.exe by clicking it, and follow the on-screen instructions to install WHIP!

    Since WHIP! relies on newer system libraries than what is provided with the operating system, whip4.exe updates some of libraries on your system. As a result, you must have administrator privileges on your machine to install WHIP.

    Uninstalling the plug-in

    To uninstall, simply follow the directions in Add/Remove Programs in of the Windows Control Panel.

    If for some reason this fails and you want to make sure that release 4 of the plug-in is removed from your system, you can follow these steps:

    1. Delete the plug-in:
      c:\Program Files\Netscape\Navigator\Program\plugins\npdwf.dll
      c:\Program Files\Netscape\Navigator\Program\plugins\WhipPlugin.class
      
      The directory name may be different. It should specify the location where Netscape Navigator plug-ins are stored.
    2. Select the Start button on the toolbar then select Run and enter the following line:
      c:\windows\system32\regsvr32.exe /u c:\Program Files\Netscape\whip.ocx
      
      This will unregister the whip.ocx. Note that the path may be something other than Program Files\Netscape. Change this line to match your directory structure.
    3. Delete the OCX files. (The parent directory might be different.)
      del c:\Program Files\Netscape\whip.inf
      del c:\Program Files\Netscape\whip.ocx
      del c:\Program Files\Netscape\whip.cnt
      del c:\Program Files\Netscape\whip.hlp
      
    4. Delete the support files. (The files are the system directory under the Windows directory; however, your Windows system directory may have a different name).
      del c:\windows\system32\dllongw.dll
      del c:\windows\system32\gdifontw.hdi
      del c:\windows\system32\gdiw.hdi
      del c:\windows\system32\heidiw.dll
      del c:\windows\system32\mtlw.dll
      del c:\windows\system32\rblastw.hdi
      del c:\windows\system32\szbw.hdi
      del c:\windows\system32\texturew.dll
      del c:\windows\system32\whipcrak.wav
      del c:\windows\system32\whiptkw.dll
      
    5. If you are performing a manual cleanup in an attempt to rerun the whip4.exe installer, clear out any files in your TEMP (for example, C:\TEMP) directory as defined by your $TEMP environment variable. The install process places temporary files in this directory.
    6. If the OCX fails to register during an installation attempt, you should ensure that your system has the following versions of the following DLLs:

      DLL Version
      MFC42.DLL 6.00.8267.0
      MSVCIRT.DLL 6.00.8168.0
      MSVCP60.DLL 6.00.8168.0
      MSVCRT.DLL 6.00.8267.0
      OLEPRO32.DLL 5.0.4265

      These are typically found in the c:\windows\system32 directory. If you find you have older versions of these files, you should rename them, for example mfc42.tmp, and reattempt the installation.

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    Known Limitations with the ActiveX Control

    What's New

    Users of Release 3.1 will find the following changes with regard to WHIP! support for the Netscape Navigator:

    What's New with the ActiveX Control


    ActiveX Control for Microsoft Internet Explorer

    Installing the control

    There are two ways to install the ActiveX Control. One way is to download whip4.exe and run it. The other is to use the auto downloading feature of Microsoft Internet Explorer.

    Note that users who want to use both Microsoft Internet Explorer and Netscape Navigator on the same machine should install WHIP! using whip4.exe instead of using the auto downloading feature.

    To manually install the control:
    1. Download whip4.exe from the Autodesk web site.
    2. Make sure Microsoft Internet Explorer is not running.
    3. Make sure your directories for temporary files, for example C:\TEMP, are empty.
    4. Run whip4.exe by clicking it, and follow the on-screen instructions to install WHIP!

    On the other hand, auto downloading is the ability to download files, executables, or DLLs required to view an object embedded in an HTML file "automatically." With respect to the WHIP! ActiveX Control, a user who views an HTML file containing a DWF reference is prompted that the DWF file requires the WHIP! control. Users see the download request as a certificate authenticating that the download is coming from Autodesk. If the download is accepted, the MSIE browser then "automatically" downloads the appropriate DLLs and installs them into appropriate directories on the user's machine.

    To auto download WHIP!:

    1. Set the security level for your browser to Medium or None.
    2. Navigate to http://www.autodesk.com/products/whip/test.htm.
    3. View the Authenticode certificate and click Yes to download.

    Since WHIP! relies on newer system libraries than what is provided with the operating system, whip4.exe and whip.cab update some of libraries on your system. As a result, you must have administrator privileges on your machine to install WHIP.

    Uninstalling the control

    The proper way to uninstall an ActiveX Control is to navigate to the directory where the control resides and use the "Remove Program file" item on the operating system's file menu; however, if for some reason you need to manually uninstall Release 4 of the control, please follow these steps to undo the results of the auto downloading (or whip4.exe installation):

    1. Select the Start button on the toolbar then select Run and enter the following line:
      c:\windows\system32\regsvr32.exe /u c:\windows\occache\whip.ocx
      
      The path may be something other than windows, for example it might be WIN95. Furthermore, Microsoft Internet Explorer users will find that the occache directory has been renamed to "downloaded program files" as in:
      c:\windows\system32\regsvr32.exe /u c:\winnt\downloaded program files\whip.ocx
      
      Change this line as needed to match your directory structure. This will unregister the whip.ocx.
    2. Delete the OCX files. (The parent directory might be different.)
      del c:\windows\occache\whip.inf
      del c:\windows\occache\whip.ocx
      del c:\windows\occache\whip.cnt
      del c:\windows\occache\whip.hlp
      
    3. Delete the support files installed by whip.cab. (The files are the system directory under the windows directory; however it can be another name).
      del c:\windows\system32\dllongw.dll
      del c:\windows\system32\gdifontw.hdi
      del c:\windows\system32\gdiw.hdi
      del c:\windows\system32\heidiw.dll
      del c:\windows\system32\mtlw.dll
      del c:\windows\system32\rblastw.hdi
      del c:\windows\system32\szbw.hdi
      del c:\windows\system32\texturew.dll
      del c:\windows\system32\whipcrak.wav
      del c:\windows\system32\whiptkw.dll
      
    4. If the OCX fails to register during an installation attempt, you should ensure that your system has the following versions of the following DLLs:

      DLL Version
      MFC42.DLL 6.00.8267.0
      MSVCIRT.DLL 6.00.8168.0
      MSVCP60.DLL 6.00.8168.0
      MSVCRT.DLL 6.00.8267.0
      OLEPRO32.DLL 5.0.4265

      These are typically found in the c:\windows\system32 directory. If you find you have older versions of these files, you should rename them, for example mfc42.tmp, and reattempt the installation.

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    Known Limitations with viewing DWF files with WHIP!

    What's New

    Users of Release 3.1 will find the following changes with regard to WHIP! support for Microsoft Internet Explorer:

    What's New with viewing DWF files with WHIP!


    Viewing DWF files using WHIP!

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    Known Limitations with generating DWF files using AutoCAD

    What's New

    Users of WHIP! Release 3.1 will find the following changes with regard to using WHIP! to view DWF files:

    What's New with generating DWF files using AutoCAD


    Generating DWF files using AutoCAD

    Installing the AutoCAD Internet Utilities

    AutoCAD 2000

    The AutoCAD Internet Utilities are installed with AutoCAD 2000 as part of a Typical Installation.

    ASCII DWF Format

    A typical ASCII DWF file generated by AutoCAD R14 looks like:

    (DWF V00.36)
    (Author schmiej)
    (Description 'demonstrates old DWF capabilities')
    (Creator 'AutoCAD 14')
    (Created 904937222 '09/04/98 12:27:02')
    (Modified 904937222 '09/04/98 12:27:02')
    (SourceFilename All.dwg)
    (SourceCreated 904936495 '09/04/98 12:14:55')
    (SourceModified 904937216 '09/04/98 12:26:56')
    (NamedView 681383,937112 1370232,1496861 INITIAL)
    (Units 'millimeters' 
    		((27600.1 0 0 0)
    		(0 27600.1 0 0)
    		(0 0 1 0)
    		(819209 669187 0 1)))
    (Embed 'image/vnd.dwg;' 'AutoCAD-r14' 'All.dwg' '')
    (View 681383,937112 1370232,1496861)
    (ColorMap 256
    	0,0,0,255 128,0,0,255 0,128,0,255 128,128,0,255
    	0,0,128,255 128,0,128,255 0,128,128,255 192,192,192,255
    	192,220,192,255 166,202,240,255 0,0,0,255 0,0,51,255
    	0,0,102,255 0,0,153,255 0,0,204,255 0,0,255,255
    	0,51,0,255 0,51,51,255 0,51,102,255 0,51,153,255
    	0,51,204,255 0,51,255,255 0,102,0,255 0,102,51,255
    	0,102,102,255 0,102,153,255 0,102,204,255 0,102,255,255
    	0,153,0,255 0,153,51,255 0,153,102,255 0,153,153,255
    	0,153,204,255 0,153,255,255 0,204,0,255 0,204,51,255
    	0,204,102,255 0,204,153,255 0,204,204,255 0,204,255,255
    	0,255,0,255 0,255,51,255 0,255,102,255 0,255,153,255
    	0,255,204,255 0,255,255,255 51,0,0,255 51,0,51,255
    	51,0,102,255 51,0,153,255 51,0,204,255 51,0,255,255
    	51,51,0,255 51,51,51,255 51,51,102,255 51,51,153,255
    	51,51,204,255 51,51,255,255 51,102,0,255 51,102,51,255
    	51,102,102,255 51,102,153,255 51,102,204,255 51,102,255,255
    	51,153,0,255 51,153,51,255 51,153,102,255 51,153,153,255
    	51,153,204,255 51,153,255,255 51,204,0,255 51,204,51,255
    	51,204,102,255 51,204,153,255 51,204,204,255 51,204,255,255
    	51,255,0,255 51,255,51,255 51,255,102,255 51,255,153,255
    	51,255,204,255 51,255,255,255 102,0,0,255 102,0,51,255
    	102,0,102,255 102,0,153,255 102,0,204,255 102,0,255,255
    	102,51,0,255 102,51,51,255 102,51,102,255 102,51,153,255
    	102,51,204,255 102,51,255,255 102,102,0,255 102,102,51,255
    	102,102,102,255 102,102,153,255 102,102,204,255 102,102,255,255
    	102,153,0,255 102,153,51,255 102,153,102,255 102,153,153,255
    	102,153,204,255 102,153,255,255 102,204,0,255 102,204,51,255
    	102,204,102,255 102,204,153,255 102,204,204,255 102,204,255,255
    	102,255,0,255 102,255,51,255 102,255,102,255 102,255,153,255
    	102,255,204,255 102,255,255,255 153,0,0,255 153,0,51,255
    	153,0,102,255 153,0,153,255 153,0,204,255 153,0,255,255
    	153,51,0,255 153,51,51,255 153,51,102,255 153,51,153,255
    	153,51,204,255 153,51,255,255 153,102,0,255 153,102,51,255
    	153,102,102,255 153,102,153,255 153,102,204,255 153,102,255,255
    	153,153,0,255 153,153,51,255 153,153,102,255 153,153,153,255
    	153,153,204,255 153,153,255,255 153,204,0,255 153,204,51,255
    	153,204,102,255 153,204,153,255 153,204,204,255 153,204,255,255
    	153,255,0,255 153,255,51,255 153,255,102,255 153,255,153,255
    	153,255,204,255 153,255,255,255 204,0,0,255 204,0,51,255
    	204,0,102,255 204,0,153,255 204,0,204,255 204,0,255,255
    	204,51,0,255 204,51,51,255 204,51,102,255 204,51,153,255
    	204,51,204,255 204,51,255,255 204,102,0,255 204,102,51,255
    	204,102,102,255 204,102,153,255 204,102,204,255 204,102,255,255
    	204,153,0,255 204,153,51,255 204,153,102,255 204,153,153,255
    	204,153,204,255 204,153,255,255 204,204,0,255 204,204,51,255
    	204,204,102,255 204,204,153,255 204,204,204,255 204,204,255,255
    	204,255,0,255 204,255,51,255 204,255,102,255 204,255,153,255
    	204,255,204,255 204,255,255,255 255,0,0,255 255,0,51,255
    	255,0,102,255 255,0,153,255 255,0,204,255 255,0,255,255
    	255,51,0,255 255,51,51,255 255,51,102,255 255,51,153,255
    	255,51,204,255 255,51,255,255 255,102,0,255 255,102,51,255
    	255,102,102,255 255,102,153,255 255,102,204,255 255,102,255,255
    	255,153,0,255 255,153,51,255 255,153,102,255 255,153,153,255
    	255,153,204,255 255,153,255,255 255,204,0,255 255,204,51,255
    	255,204,102,255 255,204,153,255 255,204,204,255 255,204,255,255
    	255,255,0,255 255,255,51,255 255,255,102,255 255,255,153,255
    	255,255,204,255 255,255,255,255 0,0,0,255 13,13,13,255
    	26,26,26,255 40,40,40,255 53,53,53,255 67,67,67,255
    	80,80,80,255 93,93,93,255 107,107,107,255 120,120,120,255
    	134,134,134,255 147,147,147,255 161,161,161,255 174,174,174,255
    	187,187,187,255 201,201,201,255 214,214,214,255 228,228,228,255
    	241,241,241,255 255,255,255,255 255,251,240,255 160,160,164,255
    	128,128,128,255 255,0,0,255 0,255,0,255 255,255,0,255
    	0,0,255,255 255,0,255,255 0,255,255,255 255,255,255,255)
    (Background 0)
    C 100
    (Layer 1 0)
       L 824960,960781 1202372,960781
    (Font (Name Arial) (Family swiss) (Height 7711))
    (URL http://www.autodesk.com)
       (Text 1209493,959686 Sparse_Dot)
    (URL)
    C 190
       L 824960,994732 1202372,994732
    (URL http://www.chevron.com)
       (Text 1209493,993637 Medium_Dash_Dot_Short_Dash_Dot)
    (URL)
    C 225
       L 824960,1028683 1202372,1028683
       (Text 1209493,1027587 Long_Dash_Dot)
    C 195
       L 824960,1062634 1202372,1062634
       (Text 1209493,1061538 Long_Dash_Dot_Dot)
    C 115
       L 824960,1096584 1202372,1096584
       (Text 1209493,1095489 Long_Dash_Short_Dash)
    C 45
       L 824960,1130535 1202372,1130535
       (Text 1209493,1129440 Medium_Dash_Short_Dash_Short_Dash)
    C 40
       L 824960,1164486 1202372,1164486
       (Text 1209493,1163391 Long_Dash_X2)
    C 220
       L 824960,1198437 1202372,1198437
       (Text 1209493,1197342 Medium_Dash_X2)
    C 190
       L 824960,1232388 1202372,1232388
       (Text 1209493,1231293 Short_Dash_X2)
    C 225
       L 824960,1266339 1202372,1266339
       (Text 1209493,1265244 Long_Dash)
    C 195
       L 824960,1300290 1202372,1300290
       (Text 1209493,1299195 Medium_Dash)
    C 15
       L 824960,1334241 1202372,1334241
       (Text 1209493,1333145 Short_Dash)
    C 45
       L 824960,1368192 1202372,1368192
       (Text 1209493,1367096 Dash_Dot)
    C 40
       L 824960,1402142 1202372,1402142
       (Text 1209493,1401047 Dotted)
    C 220
       L 824960,1436093 1202372,1436093
       (Text 1209493,1434998 Dashed)
    C 190
       L 824960,1470044 1202372,1470044
       (Text 1209493,1468949 Solid)
    (EndOfDWF)
    

    AutoCAD 2000 will generate ASCII DWF files that look like:

    (DWF V00.42)
    (Author schmiej)
    (Copyright '1998 Autodesk, Inc.')
    (Keywords 'line weights, line patterns, multiple URLs')
    (Description 'demonstrates new DWF capabilities')
    (Creator 'notepad')
    (Created 904937222 '09/04/98 12:27:02' 'GUID1-abcd')
    (Modified 904937222 '09/04/98 12:27:02' 'GUID2-efgh')
    (SourceFilename All.dwg)
    (SourceCreated 904936495 '09/04/98 12:14:55' 'GUID3-ijkl')
    (SourceModified 904937216 '09/04/98 12:26:56' 'GUID4-mnop')
    (NamedView 681383,937112 1370232,1496861 INITIAL)
    (Units 'millimeters' 
    		((27600.1 0 0 0)
    		(0 27600.1 0 0)
    		(0 0 1 0)
    		(819209 669187 0 1)))
    (Embed 'image/vnd.dwg;' 'AutoCAD-r14' 'All.dwg' '')
    (View 681383,937112 1370232,1496861)
    (Background 0)
    (LineStyle
     (AdaptPatterns false)
     (LinePatternScale 80000)
     (LineJoin miter)
     (DashStartCap butt)
     (DashEndCap butt)
     (LineStartCap butt)
     (LineEndCap butt))
    (LineWeight 1000)
    C 2
    (Layer 1 0)
    (LinePattern Sparse_Dot)
       L 824960,960781 1202372,960781
    (Font (Name Arial) (Family swiss) (Height 7711))
    (URL (0 http://www.autodesk.com 'Autodesk Home Page'))
       (Text 1209493,959686 Sparse_Dot)
    (URL)
    C 1
    (LinePattern Medium_Dash_Dot_Short_Dash_Dot)
       L 824960,994732 1202372,994732
    (URL (1 http://www.chevron.com 'Chevron Home Page'))
       (Text 1209493,993637 Medium_Dash_Dot_Short_Dash_Dot)
    (URL)
    C 255
    (LinePattern Long_Dash_Dot)
       L 824960,1028683 1202372,1028683
    (URL 0 1)
       (Text 1209493,1027587 Long_Dash_Dot)
    (URL)
    C 6
    (LinePattern Long_Dash_Dot_Dot)
       L 824960,1062634 1202372,1062634
       (Text 1209493,1061538 Long_Dash_Dot_Dot)
    C 5
    (LinePattern Long_Dash_Short_Dash)
       L 824960,1096584 1202372,1096584
       (Text 1209493,1095489 Long_Dash_Short_Dash)
    C 4
    (LinePattern Medium_Dash_Short_Dash_Short_Dash)
       L 824960,1130535 1202372,1130535
       (Text 1209493,1129440 Medium_Dash_Short_Dash_Short_Dash)
    C 3
    (LinePattern Long_Dash_X2)
       L 824960,1164486 1202372,1164486
       (Text 1209493,1163391 Long_Dash_X2)
    C 2
    (LinePattern Medium_Dash_X2)
       L 824960,1198437 1202372,1198437
       (Text 1209493,1197342 Medium_Dash_X2)
    C 1
    (LinePattern Short_Dash_X2)
       L 824960,1232388 1202372,1232388
       (Text 1209493,1231293 Short_Dash_X2)
    C 255
    (LinePattern Long_Dash)
       L 824960,1266339 1202372,1266339
       (Text 1209493,1265244 Long_Dash)
    C 6
    (LinePattern Medium_Dash)
       L 824960,1300290 1202372,1300290
       (Text 1209493,1299195 Medium_Dash)
    C 5
    (LineWeight 625)
    (LinePattern Short_Dash)
       L 824960,1334241 1202372,1334241
       (Text 1209493,1333145 Short_Dash)
    C 4
    (LineWeight 1250)
    (LinePattern Dash_Dot)
       L 824960,1368192 1202372,1368192
       (Text 1209493,1367096 Dash_Dot)
    C 3
    (LineWeight 2500)
    (LinePattern Dotted)
       L 824960,1402142 1202372,1402142
       (Text 1209493,1401047 Dotted)
    C 2
    (LineWeight 5000)
    (LinePattern Dashed)
       L 824960,1436093 1202372,1436093
       (Text 1209493,1434998 Dashed)
    C 1
    (LineWeight 10000)
    (LinePattern Solid)
       L 824960,1470044 1202372,1470044
       (Text 1209493,1468949 Solid)
    (EndOfDWF)
    

    To manually edit a DWF file using a text editor such as Notepad or WordPad, you should keep the following in mind:

    1. You must increase the DWF file version from (DWF V00.36) to (DWF V00.42) to allow all of the new capabilities to be used.
    2. You can optionally add a (Copyright ...) primitive.
    3. You can optionally add a (Keywords ...) primitive.
    4. You can optionally modify the (Created ...), (Modified ...), (SourceCreated ...), and (SourceModified ...) primitives to contain unique GUIDs (Globally Unique IDentifiers). Unless you wish to test tracking of DWF files in a document management system, you do not need to add GUIDs to these primitives.
    5. WHIP! 4.0 has been updated to use a default (compatible with AutoCAD 2000) color map for files whose version is V00.38 and higher.
    6. WHIP! 4.0 has been updated to read ZLIB compressed DWF files (compatible with AutoCAD 2000) for files whose version is V00.41 and higher (DWF is currently at level 00.42).
    7. You should add a default set of Line Style attributes, e.g:
      (LineStyle
       (AdaptPatterns false)
       (LinePatternScale 80000)
       (LineJoin miter)
       (DashStartCap butt)
       (DashEndCap butt)
       (LineStartCap butt)
       (LineEndCap butt))
      (LineWeight 1000)
    8. You can optionally add (LinePattern ...) primitives as desired.
    9. You can optionally add (LineWeight ...) primitives as desired.
    10. You must reformat URLs to the new DWF file version 00.38 URL format:
      (URL (index http://address 'friendly name'))
      
      The index is a number greater than or equal to 0. The address is the same as what appears in the old DWF URL format. The friendly name is optional.
    11. You can easily construct multiple URL primitives by using the URL indexes defined as part of the reformatted URLs. When you click on a piece of geometry that has multiple URLs, WHIP! pops up a small dialog box, so you can select which URL to navigate.

    Uninstalling the AutoCAD Internet Utilities

    The only way to remove the AutoCAD internet utilities is to reinstall AutoCAD 2000 and deselect the "internet options."

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    Known Limitations with publishing DWF files for WHIP!

    What's New

    Users of AutoCAD R14 will find the following changes with regard to the Internet capabilities for AutoCAD 2000:

    What's New with publishing DWF files for WHIP!


    Publishing DWF files for WHIP!

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    Known Limitations with programming with WHIP!

    What's New

    Users of WHIP! Release 3.1 will find the following changes with regard to publishing DWF files:

    What's New with programming with WHIP!


    Programming with WHIP!

    Known Limitations

    For the most recent defect information, see the list of open bugs and wish list items.

    What's New

    Users of WHIP! Release 3.1 will find the following changes with regard to programming with WHIP!: