Autodesk Forge 有可能吗?

Is it possible with Autodesk Forge?

Autodesk Forge 可以吗?

  1. 上传 DWG 文件并在 Web 上查看。也许我可以使用 Forge 的 viwer API。是吗?

  2. Web 上有一个按钮。我可以在单击该按钮时将焦点移动到特定对象吗?使用 Javascript。 (我会在使用 Autodesk CAD 时为对象分配 ID 值。)

  3. 类似于问题2。我可以使用JavaScript更改特定对象的颜色吗?

我英语不好。请礼貌地理解。 求助!

Upload the DWG file and view it on the web. Maybe I can use Forge's viwer API. Is that right?

是的,按照教程进行here

And the web has a button. Can I move the focus to a specific object when I click that button? Using Javascript.

尝试viewer.isolate(dbid)viewer.fitToView(dbid)

Can I change the color of a specific object using JavaScript?

尝试viewer.setThemingColor

您可以在我们的官方网站上找到 doc/usage 这些方法的详细信息