3DXML Catia文件未显示
我已经在我的电脑上安装了3D XML查看器插件,Firefox检测到了它,我已经允许了它 我在服务器配置中添加了3DXML Catia文件未显示,xml,html,3d,catia,Xml,Html,3d,Catia,我已经在我的电脑上安装了3D XML查看器插件,Firefox检测到了它,我已经允许了它 我在服务器配置中添加了.3dxml扩展名为“application/octet stream”类型 我用这个代码加载我的文件 <object type='application/x-3dxmlplugin' id='3DXMLPluginId'> <param name='DocumentFile' value='/img/test.3dxml'> </object>
.3dxml
扩展名为“application/octet stream”
类型
我用这个代码加载我的文件
<object type='application/x-3dxmlplugin' id='3DXMLPluginId'>
<param name='DocumentFile' value='/img/test.3dxml'>
</object>
没有显示任何内容。如果我在代码中输入了一个错误的文件名,我会从3dxml插件中得到一个警告,比如该文件是错误的或已损坏的。但是当文件名很好时,我在控制台中什么也得不到,没有警告,什么也得不到。下面是在我的CATIA\u便携脚本\u中心完成的一个示例。其思想是使用正确的classid
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><head>
<title>3DXML embeded page</title>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV class=copy>You will see a 3DXML file opened from DS website only if you
have installed the free 3DXML player from Dassault Systemes (link <A
href="http://www.3ds.com/products/3dvia/3d-xml/1/">http://www.3ds.com/products/3dvia/3d-xml/1/</A> ).</DIV>
<DIV class=copy>To see how to embed a 3DXML file in a web page just view
this page source code.</DIV>
<DIV class=copy>© 2010 Dassault Systemes - All rights reserved.</DIV>
<OBJECT id=viewer border=1
codeBase="http://www.3ds.com/fileadmin/PRODUCTS/3DVIA/3DXML/3dxml/3DXMLPlayerOnlineInstaller.exe"
classid=clsid:5ABD296B-F8A0-436C-B2F7-B19170C43D28 width=800 height=600> <PARAM NAME="_cx" VALUE="21166"><PARAM NAME="_cy" VALUE="15875"><PARAM NAME="DocumentFile" VALUE="http://a3.media.3ds.com/fileadmin/PRODUCTS/3DVIA/3DXML/gallery/3dxml_models/press_rink_axe_fta.3dxml"><PARAM NAME="Data" VALUE="">
</OBJECT>
<DIV></DIV>
</BODY>
</html>
3DXML嵌入页面
只有当您
已安装达索Systemes(链接)提供的免费3DXML播放器。
要了解如何在网页中嵌入3DXML文件,只需查看
此页面的源代码。
©2010达索系统-保留所有权利。