Hi!
This might be a dumb question, but here it is.
I have a Vue.js app that retrieves objects (walls) from my Revit model through Speckle. I’m trying to update one of the wall properties based on user input, but I’m not sure how to do it.
For example, let’s say I retrieve the following wall:
{
"data": {
"id": "1cbf39ec9ab58842c6380f29270fcf9e",
"name": "A big wall",
"properties": {
"Parameters": {
"Instance Parameters": {
"Other": {
"Validation": {
"value": "No"
}
}
}
}
}
}
}
Then the user decides it’s a good wall and clicks a Validate button.
My goal is to change the wall’s Validation.value property from "No" to "Yes" in Speckle.
Is that possible?
Does anyone have an idea how I could make this work? Any examples of working code would be greatly appreciated.
I’ve read about the @speckle/objectsender package, but I can’t find any documentation for it, so I haven’t been able to get it working.
Using the GraphQL API, I’ve only been able to push the modified wall as a new version, but I think the rest of the model gets lost when I do that.
Thanks for your help