Autodesk Forge:dbId,objectId和nodeId有什么区别? [英] Autodesk Forge: What is the difference between dbId, objectId, and nodeId?

查看:61
本文介绍了Autodesk Forge:dbId,objectId和nodeId有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

dbId,objectId和nodeId有什么区别?
例如,以下函数的第一个参数是相同种类的id或id?

What is the difference between dbId, objectId, and nodeId?
For example, the first argument of the following functions is the same kind of id or ids?

  • fitToView(objectIds,model)
    objectIds:ID数组,或者为null.

  • fitToView(objectIds,model)
    objectIds: array of Ids, or null.

getProperties(dbId,onSuccessCallback,onErrorCallback)
dbId:要为其返回属性的节点的ID.

getProperties(dbId,onSuccessCallback,onErrorCallback)
dbId: ID of the node to return the properties for.

select(dbids,selectionType)
dbids:您可以传递ID数组或仅传递一个ID.

select(dbids,selectionType)
dbids: You can pass an array of IDs or just a single ID.

hideById(nodeId)
nodeId :(无描述)

hideById(nodeId)
nodeId: (no description)

来自Viewer API参考此处

from Viewer API reference here

推荐答案

实际上是相同的,只是文档存在一些差异.

It's actually the same, just some discrepancies about the doc.

这篇关于Autodesk Forge:dbId,objectId和nodeId有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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