Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML E-drawing w/o header 2

Status
Not open for further replies.

dgowans

Mechanical
Oct 12, 2004
680
I seem to remember seeing an article either here or elsewhere which told how to strip the header or title or UI from an HTML E-drawing. I believe that you ended up with a web page which behaved like an E-drawing which didn't look like one.

I've searched this forum and the web and can't seem to find it again. Anyone recall seeing this and know where to find it?

Before anyone asks me what I'm attempting to do, let me say that I really don't know. I've had a customer ask me a question about publishing some CAD data to his website and I thought the contents of this article might help me. Maybe.

Thanks,
Dave Gowans
 
Replies continue below

Recommended for you

If you know HTML, you can probably pick apart the code and use only what is necessary to show the eDrawing window. However, if you do so, how will viewers be able to rotate the model(s)? Certainly some aspects of the UI are necessary for such a thing to be of any use--otherwise you could simply post static JPEG images on the web page.

So what is it you ultimately need and why won't the header work for you?


Jeff Mowry
Reality is no respecter of good intentions.
 

SoilidWorks_Community said:
When working with eDrawings, you can save as a web page and post it onto your website without the eDrawing user interface.

To achieve this, create an eDrawing. In the eDrawing application, select File, Save as, pick htm as the file type and create a web page.

When the web page has been generated, open it in Internet Explorer, right-click and select view source. To remove the eDrawing user interface edit the code in the page by right-clicking in the white area of the created webpage and selecting view source. The html code will open in notepad, and you can run find in the notepad and locate the following entry: PARAM name="FullUI" value="1"/ (enclosed the < and > signs). Modify the code and change the change the value to “0” so that the eDrawings user interface is disabled. Save the code in notepad overwriting the original file.

Although the eDrawing UI toolbars will be stripped out, many of the functions can still be used via a RMB-click on the embedded image.
NOTE: To get this to run in a browser other than IE, you will have to download & install an Active-X add-in/plug-in/extension.

[cheers]
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
 
CBL,

That's it - many thanks.
 
Then for those less familiar you can give them text instructions on how to manage their mouse to rotate/view the model best (since the UI will be gone). It takes little HTML experience to do this.

Something like:
<p>Right-click mouse for rotational and panning control. Blah, blah, blah. </p>

Add this near the top or bottom of all the junk in the text file and you'll have basic instructions. Look up some HTML basics on line and you'll be able to add text style/color to your instructions to overcome the evil default New Times Roman.


Jeff Mowry
Reality is no respecter of good intentions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor