Create your own Whip! HTML
Other Pages/Files to help You

 

   


Following on from setting up Autocad for DWF and the page on creating your own DWF drawing then creating your own whip! html page is the next step.
This page will show you various ways to achieve this.


The Actual WHIP! HTML code

Autodesk Created Routine to generate Whip HTML Page

 

 

- Main Menu - Topic Menu - Downloads -

 

   

Setup Pages

Introduction to DWF
-

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

 
The Actual WHIP! HTML code
   


There are two HTML tags used to create your views of dwf drawing. the following pages detail each aspect of creating any effect you desire. Its assumed you already have a basic knowledge of creating html code.


Whip Html options
This lists and details the code itself

Object tag and IE using Whip
Details the options for Internet Explorer

Embed tag and Netscape using Whip
Details the options for Netscape


 

Create your own CadViewer HTML Page
-

Create your own Whip! HTML Page
-

View Sample Drawings with CADViewer
-

View Sample Drawings with Whip!
-

 
Autodesk Created Routine to Generate Whip HTML page
   


Autodesk created a routine that creates a html page using a program language called Lisp. Lisp is a programming extension to Autocad. This routine saves your drawing as a dwf and then saves it as a dwf and then creates a html file using the drawing filename just saved.



Lisp Examples
Example of Lisp Html Page (Saveall3.lsp)

Download the routine form the downloads page or elsewhere on this site or from Autodesks site.
Load the routine as you would normally, usually via the Appload dialogue box or via the command line. Enter "Saveall3" at the command prompe to run the routine.
You are prompted for the Directory to save the DWG, DWF and HTML to.
The following section of the Lisp routine is the Lisp equivalient to the HTML page above.

The only variable used is the "filename". This code is editable if you are careful.
each line of HTML code is surrounded by the fllowing code (highlighted in red)...

(write-line" <html code here> " File)

The only variation is when the Lisp routine is combining variables with HTML code (Text), in this case you get ..


(write-line (strcat " <html " My-variable "code here> ") File)

So bearing this in mind you can edit this routine to generate a HTML code page with you own customisation. View the HTML code options page for details about the actual Whip tags.


See also Other Lisp Routines for generating a directory of drawing into dwf drawings and html pages.

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