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

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

问题描述

dbId、objectId 和 nodeId 有什么区别?
比如下面函数的第一个参数是同一种id还是ids?

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.

选择(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)

来自查看器 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天全站免登陆