Adding a Folder to Views Using Glue API

Here is a question my colleague asked:

Q. Is it possible to create a folder to Views using Glue API?

A. If you look at the list of methods in the documentation, you don’t see a method name that says “create folder” explicitly. But you can use the following Model Services API to create a folder:

URL: https://b4.autodesk.com/api/model/v1/view_create.{format}

Method: POST

Document: https://b4.autodesk.com/api/model/v1/view_create/doc

Continue reading “Adding a Folder to Views Using Glue API”

Creating a View Using Glue API

Creating a view using Glue API is possible using model/v1/view_create. That said, defining parameters for an intended view can be a challenge without the user interaction. In this post, I’m going to look at view_create method, focusing purely on the format of parameters.

URL: https://b4.autodesk.com/api/model/v1/view_create.{format}

Method: POST

Document: https://b4.autodesk.com/api/model/v1/view_create/doc

A list of parameters required to create a view may need a little bit explanation. The documentation lists parameters that are mixture for creating a view and for a folder. It makes less clear what parameters are needed to create a view. In addition to the parameters common to all REST calls (i.e., the first six, up to “sig” in the documentation), you will need the following to create a view. Continue reading “Creating a View Using Glue API”