Hi,
I am trying to embed the DWF viewer in my Web Page. I am using the Following Code. It is working in Internet Explorer browser after allowing the ActiveX Control to install.
******Code*********
<OBJECT CLASSID="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF"
CODEBASE=http://www.autodesk.com/global/dwfviewer/installer/
DwfViewerSetup.cab#version=7,0,0,928
WIDTH="640" HEIGHT="480">
<PARAM NAME="Src"
VALUE="http://www.autodesk.com/global/dwf/samples/multiple_layouts_large.dwf">
</OBJECT>
**********************
But it is not working in Chrome Browser/Mozilla. Is this ActiveX is not available for any other browser than IE?
Is it not possible to view my DWF file in my Webpage by using DWf viewer?
Regards,
Appadurai.G
Solved! Go to Solution.
Solved by philippe.leefsma. Go to Solution.
Hi Dean,
Thanks for your reply.
I have trried those option.But still in chrome It is showing that "No Plugin is available".And it is not prompting in the browser to add that activex.
Note: This happens if i have not installed Design review in my machine.
Reagrds,
Appadurai.G
As mentioned in the reply from the other dwf question, using the following code works on my side:
<html> <head> <title>DWF Viewer</title> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#dcdcdc"> <object
id="ADR"
type="application/x-Autodesk-DWF"
width="100%"
height="100%">
<param
name="dwffilename"
value="http://www.autodesk.com/global/dwf/samples/multiple_layouts_large.dwf"/>
</object> </body> </HTML>
I had to install a browser plug-in to make it work with Firefox and Chrome:
http://autodesk-design-review-firefox-add-on.software.informer.com/download/
Regards,
Philippe.
Hi Philippe,
I am trying to Load the "object" content dynamically.Since i need The value attribute will be dynamic based my selection.
If i am using dynamic object content, the dwf viewer is not in the exact postion while refreshing again and again.
Kindly refer the attached image.
It is happening in IE explore only.
Note:
I am using below code for Mozilla Firefox and chrome.
'<object id="ADR" type="application/x-Autodesk-DWF" width="100%" height="100%"><param name="dwffilename" value="' + server + "/" + imgsrc + '" /></object>'
In IE:
'<OBJECT CLASSID="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" CODEBASE=http://www.autodesk.com/global/dwfviewer/installer/DwfViewerSetup.cab#version=7,0,0,928 WIDTH="100%" HEIGHT="100%"><PARAM NAME="Src" VALUE="' + server + "/" + imgsrc + '" /></OBJECT>'
The above code we are genertaing dynamically and dumping in html page.
Regards,
Appadurai.G
Hi Appadurai.G,
Seems to be an issue specific to 3d dwf + IE. Unfortunately that viewing technology is not supported anymore by the development team, so it is unlikely we will be able to help you further on that.
Our latest 3d cloud-based viewing technology has recently been released and is available from our developer portal, please take a look there if you are interested: http://developer.autodesk.com/
Sorry for not being more helpful.
Regards,
Philippe.
Can't find what you're looking for? Ask the community or share your knowledge.