autodesk-model-derivative

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

Model Derivative API Post Job - 400 Bad Request “Invalid 'design' parameter”

耗尽温柔 提交于 2020-05-29 06:36:31
问题 I've uploaded a Revit model to my OSS bucket and trying to translate the file to svf, but I'm getting the following: 400 Bad Request {"diagnostic":"Invalid 'design' parameter."} I'm new to the Forge API and not sure where a design parameter is required or where it's referring to, so any guidance would be appreciated. POST https://developer.api.autodesk.com/modelderivative/v2/designdata/job Headers Authorization: Bearer {AccessToken} Content-Type: application/json Body { "input": { "urn": "

Model Derivative API Post Job - 400 Bad Request “Invalid 'design' parameter”

一曲冷凌霜 提交于 2020-05-29 06:36:06
问题 I've uploaded a Revit model to my OSS bucket and trying to translate the file to svf, but I'm getting the following: 400 Bad Request {"diagnostic":"Invalid 'design' parameter."} I'm new to the Forge API and not sure where a design parameter is required or where it's referring to, so any guidance would be appreciated. POST https://developer.api.autodesk.com/modelderivative/v2/designdata/job Headers Authorization: Bearer {AccessToken} Content-Type: application/json Body { "input": { "urn": "