许可优化
许可优化
产品
产品
解决方案
解决方案
服务支持
服务支持
关于
关于
软件库
当前位置:服务支持 >  软件文章 >  将CAD格式DWF嵌入网页展示:Autodesk Design Review实现方法

将CAD格式DWF嵌入网页展示:Autodesk Design Review实现方法

阅读数 5
点赞 0
article_banner

网页上嵌入CAD图纸,用的 Autodesk Design Review控件嵌入IE,

网上的 dwf viewer方式没成功。

Head之间

<script type="text/javascript" language="javascript">  

     function ListSections()

       { var ECompViewer = ADViewer.ECompositeViewer;  

    var Sections = ECompViewer.Sections;    

    var secList = document.getElementById("SectionList");  

    for (iSection = 1;(iSection <= Sections.Count); iSection++)

    {  var Section = Sections(iSection);

           secList.innerHTML += Section.Title + "<BR>";  

    }

      }

   </script>

<script type="text/javascript" for="ADViewer" event="OnEndLoadItem(bstrItemType,vData, vResult)">  

   if (bstrItemType == 'DOCUMENT')

    { ListSections();

    }  

   </script>

body之间

<div id="canvas" style="position:absolute; top:0px; left:0px; width:780px; height:600px; text-align:center; background-color:white">

    <object id="ADViewer" classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" border="1" width="780" height="600" VIEWASTEXT>//创建Design Reiew对象

    <param name="Src" value="Drawing2.dwf">

    </object>

   </div>

效果预览:

当然,别忘了下载控件,还有,需要在IE下运行,其他浏览器不太行

http://www.autodesk.com/products/design-review/download

http://download.autodesk.com/esd/designreview/2013/ADR/chs/SetupDesignReview2013.msi.zip

转载于:https://www.cnblogs.com/qiri07/p/5640610.html


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删

相关文章
QR Code
微信扫一扫,欢迎咨询~
customer

online

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 board-phone 155-2731-8020
close1
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

姓名不为空

姓名不为空
手机不正确

手机不正确

手机不正确
公司不为空

公司不为空

公司不为空