I’m currently working on a Power BI dashboard using a Revit model. To that Revit model I have linked a Grasshopper script to easily swap out data in the element properties. When I swap out the information I want to see those changes in Power BI but it doesn’t change. It only changes when I restart Revit.
I’m currently working with Speckle v3.1.2 and Revit 2024.
The specific steps that I followed are these:
Start Revit
Open Revit project
Select all objects
Upload it to a Speckle model
Open Power BI
Refresh the information in Power BI
The correct data is now showing in Power BI.
To update it with new data I do the following thing:
Using a Grasshopper script I change data in the properties of the elements
Save the Revit project
Select all objects
Upload it to the same Speckle model
Go to Power BI and press the refresh button
Now the information is not changing. When I then close Revit and do the steps that I did before it does change it.
I think the problem is in the link between Revit and Speckle because when I open the Speckle model in the browser I notice that it only updates the information when I restart Revit and reupload the model.
We have internal caching mechanism to speed up second publish. I think your changes via GH script can not invalidate the internal cache and resulting the same objects. Would be nice for us to know how you update your properties via script, to understand why caching is a footgun here.
Yep, and as a follow up - we can defo offer a “nuke cache and send again” button in the ui (somewhere more hidden) for this kind of use case. But ideally, as @oguzhan says, we’d be able to track those changes - so far changes made “normally” are captured correctly, so it’s definitively something we want to dig in more!
So basically what I did is that I made a Excel file with different values. Than I made a GH script where it firstly adds project parameters to Revit. I did that so later on the values will be put under those parameters. Then I set the name of the wall where the values needs to go to. So for example designwall.
Now that GH knows where to put those values to it reads them out of Excel and push them to the Revit wall or walls with the name designwall
After those steps I added the option to choose from different values in GH and so I can change the values of the walls with the GH script without ever touching the properties in Revit.
If there are any questions I am open to answer them