Ankit Devani
Ankit Devani

Reputation: 29

Get (dbis, externalid )Element property using api in forge viewer

we are working on to get element property from elementid and dbid, that we can get by loading model on viewer and access the method, but is there any api that forge provide, can we get element property without loading model for that is there any api is available or not.

Thank you.

Upvotes: 0

Views: 337

Answers (1)

Eason Kang
Eason Kang

Reputation: 7070

If you want to get element parameters without opening the Forge Viewer, you can take advantage of the Model Derivative API itself. Here are three endpoints for your reference. Please execute them after your svf/svf2 translation job is completed&successful, then run them by sequence.

  1. https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-GET/
  2. https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/
  3. https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-properties-GET/

Upvotes: 1

Related Questions