Autodesk Forge:dbId,objectId和nodeId有什么区别? [英] Autodesk Forge: What is the difference between dbId, objectId, and 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屋!