I’m using below query to get data from models, it works for eg a model created by an uploaded ifc file on 6th of march, but when I upload the same ifc file to a new model on the same project today I only get null response when trying to query it with the same query? I can see the model at app.speckle.systems so it seems like there is nothing wrong with the uploaded model but I don’t know why I get null response when trying to query data from it?
query ($myQuery: [JSONObject!]) {
project(id: "PROJECTID") {
object(id: "REFERENCEDOBJECTID") {
totalChildrenCount
children(
query: $myQuery
select: ["id", "Tag", "Name", "Text", "speckle_type", "type", "Other", "Dimensions", "ObjectType", "Constraints"]
limit: 100
depth: 100
) {
totalCount
cursor
objects {
id
data
}
}
}
}
}