autodesk-forge

How to match objectids from Autodesk Model Derivative API metadata with Forge Viewer model dbids?

瘦欲@ 提交于 2021-01-06 07:32:29
问题 I am building an application around Autodesk Forge Viewer, where I add extra functionalities using basic functions from Viewer (coloring, isolating etc.) depending on client data. This application also allows you to upload a new model. After the upload and conversion process, metadata is extracted from the model using this Model Derivative API https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/, which basically returns the tree of objects and their ids

How to match objectids from Autodesk Model Derivative API metadata with Forge Viewer model dbids?

假如想象 提交于 2021-01-06 07:32:11
问题 I am building an application around Autodesk Forge Viewer, where I add extra functionalities using basic functions from Viewer (coloring, isolating etc.) depending on client data. This application also allows you to upload a new model. After the upload and conversion process, metadata is extracted from the model using this Model Derivative API https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/, which basically returns the tree of objects and their ids

upgrade three js version in autodesk forge viewer

泪湿孤枕 提交于 2021-01-04 05:41:08
问题 I was looking to upgrade the three js which is used in autodesk forge behind the scene and reason for upgrade is I am trying to use this library and this need three js r71 and above and inside forge viewer it seems they are using r33. I found a blog where it showed me how can I take the advantage of later three js. I followed it but seems like its not working. There forge viewer now have 2 references of three js and it gets confused which one to use and hence some of code behave weird here is

upgrade three js version in autodesk forge viewer

痴心易碎 提交于 2021-01-04 05:40:46
问题 I was looking to upgrade the three js which is used in autodesk forge behind the scene and reason for upgrade is I am trying to use this library and this need three js r71 and above and inside forge viewer it seems they are using r33. I found a blog where it showed me how can I take the advantage of later three js. I followed it but seems like its not working. There forge viewer now have 2 references of three js and it gets confused which one to use and hence some of code behave weird here is

How can I load only specifc objects in the forge viewer using SFV2?

人盡茶涼 提交于 2021-01-02 01:54:11
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

假如想象 提交于 2021-01-02 01:50:41
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

一笑奈何 提交于 2021-01-02 01:50:11
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

天涯浪子 提交于 2021-01-02 01:47:50
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

£可爱£侵袭症+ 提交于 2021-01-02 01:44:10
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

微笑、不失礼 提交于 2021-01-02 01:42:16
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel