Class WithModelGuItemRequestBuilder.WithModelGuItemRequestBuilderGetQueryParameters
- Namespace
- Autodesk.ModelDerivative.Designdata.Item.Metadata.Item
- Assembly
- Autodesk.ModelDerivative.dll
Returns a hierarchical list of objects (object tree) in the model view specified by the modelGuid URI parameter.Before you call this endpoint you must call GET {urn}/metadata to obtain the ID (modelGuid) of the model view you want to get the object tree of.Most design applications like Fusion 360 and Inventor contain only one model view per design. However, some applications like Revit allow multiple model views (e.g., HVAC, architecture, perspective) per design.Note You can retrieve metadata only from a design that has been translated to SVF or SVF2.
public class WithModelGuItemRequestBuilder.WithModelGuItemRequestBuilderGetQueryParameters
- Inheritance
-
WithModelGuItemRequestBuilder.WithModelGuItemRequestBuilderGetQueryParameters
- Inherited Members
Properties
Forceget
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 one object at a time. Alternatively, you can use POST {urn}/metadata/{modelGuid}/properties:query to fetch only the properties you are interested in. false: (Default) Does not get resources if they exceed the expected maximum size (20 MB).
[QueryParameter("forceget")]
public bool? Forceget { get; set; }
Property Value
- bool?
Level
Specifies how many child levels of the hierarchy to return, when the objectid query string parameter is specified. Currently supports only level = 1.
[QueryParameter("level")]
public string? Level { get; set; }
Property Value
Objectid
If specified, retrieves the sub-tree that has the specified object ID as its parent node. If this parameter is not specified, retrieves the entire object tree.
[QueryParameter("objectid")]
public int? Objectid { get; set; }
Property Value
- int?