I wrote an endpoint in my API that queries specific parameters in the client's model using the endpoint described here
In general it works great - my problem lies with how the parameters need to be queried: the basic ones can be queried directly, while for the others you need to give an exact (with possible wildcards) path:
"fields": [
"objectid",
"name",
"externalId",
"properties.Analytical Properties"
...
]
the problem specifically is the Standard Revit Category, which usually contains a simple string such as 'Revit Wall'. When querying the Viewer/Model itself, I can find the property without any difficulties, but no matter what I enter into the "fields"
array, I'm unable to obtain that Category value.
NOTE: selecting an element in the viewer and showing its properties also does not show this parameter, it only shows when querying the model.
the queried parameter 'Category' in the Revit model - seemingly unattainable via the API
edit:
the same wall when queried via properties endpoint API
As you can see, the first few parameters that appear in the first image can't be found in the second one, even when using the JSON-style path withe the corresponding displayCategory __category__