Autodesk Forge是否可以? [英] Is it possible with Autodesk Forge?

查看:83
本文介绍了Autodesk Forge是否可以?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Autodesk Forge可以吗?

Is it possible with Autodesk Forge?

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

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

并且网络上有一个按钮.单击该按钮时可以将焦点移到特定对象吗?使用Javascript.(在Autodesk CAD中工作时,我将为对象分配ID值.)

And the web has a button. Can I move the focus to a specific object when I click that button? Using Javascript. (I will assign ID values to objects while working in Autodesk CAD.)

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

Similar to Question 2. Can I change the color of a specific object using JavaScript?

我英语不好.请客气的理解.救命!

I'm not good at English. Please politely understand. Help!

推荐答案

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

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

是,请按照教程此处

网络上有一个按钮.单击该按钮时可以将焦点移到特定对象吗?使用Javascript.

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)

我可以使用JavaScript更改特定对象的颜色吗?

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

尝试 viewer.setThemingColor

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

You can find doc/usage details for these methods on our official website

这篇关于Autodesk Forge是否可以?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆