0

I'm trying to get large model property using 'GetModelviewProperties' API in C#. (the model is translated svf2 format)

I faced the problem and got an error.

Error Message is

Autodesk.Forge.Client.ApiException: 'Error calling GetModelviewProperties: 
{"diagnostic":"Property Database is too large under this URN"}'

Do you have an IDEA for solve it?

1 Answers1

0

As the documentation states, there's a forceget URL query parameter that can be set to:

  • true: Forcibly gets large resources even if they exceed the expected maximum size (20 MB). If the resource is larger than 800 MB, the server behaves as though forceget is false. In such a case, use the objectid query string parameter to download resources by Object ID.
  • false: (Default) Does not get resources if they exceed the expected maximum size (20 MB).

Another option would be to getting the properties using one of the other formats, and not JSON. Please refer to this blog post for more information.

Petr Broz
  • 8,891
  • 2
  • 15
  • 24
  • Unfortunately i already tried `forceget` option, but it doesn't works. Another option that you had suggested is only available 'svf' format? is it work on 'svf2' format? And Can you tell me the other option? – Jong In Yun May 18 '22 at 01:38
  • The options mentioned in the blog post should work for SVF2 as well, because SVF2 is created by post-processing SVF. – Petr Broz Jun 07 '22 at 10:33