如何使用 autodesk viewer api 查看我网站上的 .dxf 文件?

How to use autodesk viewer api to view .dxf files on my website?

我的服务器上有大约 200 个 .dxf 文件。我想集成 autodesk-forge 查看器,以便访问我网站的人可以查看图纸?我没有在网上看到任何可以帮助我的例子吗?你们有什么例子可以帮助我吗?

我不想将文件上传到云端并使用嵌入 link 而我只想使用查看器 api 并从我的服务器传递我的 .dxf 文件以查看这些文件在我的网站上。

非常感谢任何帮助?

恐怕这是不可能的,Autodesk Forge Viewer 要求您将文件上传到 Autodesk 存储并使用 Model Derivative API 准备要在 Viewer 中查看的 DXF 文件。完成此过程后,您无需将 DXF 保留在 Autodesk 存储中,但这是必需的步骤。

如果您在教程步骤结束时遵循此 tutorial, you will be able to see you DXF files onlines. All resources are protected, but if you want to delete the seed file (aka the DXF file), you need to call this endpoint