How to set custom properties for an object via its dbid in Autodesk Forge Viewer?

前端 未结 1 711
无人共我
无人共我 2021-01-17 01:30

I\'m trying to set custom properties for objects via their dbids but the API they provide doesn\'t seem to help to achieve that because it requires object to be selected and

相关标签:
1条回答
  • 2021-01-17 02:07

    All resources in a model are currently read-only, so you won't find any endpoint that allows you to modify a model or its properties.

    A workaround is to use a custom database along with custom endpoints exposed by your own server that would allow you to modify overwritten properties. You can take a look at this live demo. The source code is available at Viewing.Extension.MetaProperties.

    This article also deals with that topic: Use Forge or Spreadsheet to Create Shared Parameters

    0 讨论(0)
提交回复
热议问题