Forge Viewer 无法显示 PDF

Forge Viewer fails to dispaly PDF's

我正在使用示例 C# SDK 来使用 Forge Derivative 服务和查看器。我成功地使用了任何文档,但没有使用 PDF。我尝试过的所有 PDF 都已成功翻译,但在尝试查看时出现以下错误。

Failed to load resource: the server responded with a status of 404 (Not Found) three.min.css

Uncaught TypeError: Cannot read property 'paperUnits' of undefined

我自己刚碰到这个。请尝试使用 ViewingApplication 对象而不是基本查看器进行初始化。 Basic Viewer 中显示的方式需要来自清单的额外配置值。 https://developer.autodesk.com/en/docs/viewer/v2/tutorials/basic-application/