Autodesk Forge: What is the difference between dbId, objectId, and nodeId?

大兔子大兔子 提交于 2021-01-27 19:34:23

问题


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: array of Ids, or null.

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

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

  • hideById(nodeId)
    nodeId: (no description)

from Viewer API reference here


回答1:


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



来源:https://stackoverflow.com/questions/47343993/autodesk-forge-what-is-the-difference-between-dbid-objectid-and-nodeid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!