基于下面的文章链接,Forge (7.36)可以轻松地加载和查看PDF和DWF文件(原生https://forge.autodesk.com/blog/dwf-and-pdf-support-forge-viewer )
我使用相同的过程加载3D DWF文件,并想知道DiffTool扩展名是否能够显示DWF文件模型中的差异。基于受支持的mimeType of DiffTool,我尝试了‘application/vnd.autoDesk. DXF’:For DXF和‘application/vnd.autotop.autocad.dwg’:用于DWG。但不起作用。请建议是否有特殊的mimeType支持的DWF文件。谢谢!
发布于 2022-03-16 21:14:14
我们只支持一系列文件格式,因为有些格式没有为对象提供永不更改的唯一ID。基本上,如果一个对象在新版本中发生了变化,我们需要在新版本上识别它。如果我们没有唯一的If,那么很难识别相同的对象。
这是代码中的列表,显示可以比较哪种类型的模型。
'application/vnd.autodesk.fusion360': { 'supports2d': true },
'application/vnd.autodesk.f3d': { 'supports2d': true },
'application/vnd.autodesk.revit': { 'supports2d': true },
'application/vnd.autodesk.r360': { 'supports2d': true },
'application/vnd.autodesk.inventor.assembly': { 'supports2d': true },
'application/vnd.autodesk.navisworks': { 'supports2d': true },
'application/vnd.autodesk.cad': { 'supports2d': false },
'application/vnd.autodesk.dxf': { 'supports2d': false },
'application/vnd.autodesk.autocad.dwg': { 'supports2d': false }https://stackoverflow.com/questions/71253009
复制相似问题