petrbroz / vscode-forge-tools

Visual Studio Code extension for accessing Autodesk Forge services and content.
https://marketplace.visualstudio.com/items?itemName=petrbroz.vscode-forge-tools
MIT License
74 stars 17 forks source link

Fetching props of large models #7

Closed petrbroz closed 4 years ago

petrbroz commented 4 years ago

When using the View Derivative Properties JSON command, the call to https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-properties-GET can sometimes fail with 413 when the model is too large. Catch this case and provide an additional UI option to repeat the API call with the force flag.