Hi,
I'm using DocumentClashTests.TestsEditResultStatus() to update the status of my clash tests, as this is all the information I'm need to update, therefore there's no need to duplicate and replace all the tests.
I can update the status for the clashes and groups, but this is not reflected in the Clash Test Summary values. From what I can tell there are only two ways to manually force this update, close and reopen the model or rerun all clashes. Neither is an acceptable solution in my mind.
Is it possible to force a refresh of the table in the .net api, surely this should be automatic once the TestsEditResultStatus() is called or the properties are changed?
Any steer would be appreciated.
Kind regards
Hi @kevin_fielding ,
I checked with the Engineering team. They mentioned that the UI-level code is layered above the API, so it's not possible to directly interact with the UI via code. Instead, we would need to detect when the clash result has changed and then refresh the UI accordingly.
Additionally, I’ve submitted a Jira ticket for this issue.
NW-61060 - Updated Clash Status not refreshed in Clash Detective Test summary
Thanks for that,
Instead, we would need to detect when the clash result has changed and then refresh the UI accordingly.
Apologies, I'm not sure what you're saying, are you saying it is possible or not currently?
K
Hi @kevin_fielding ,
What I'm saying is that, unfortunately, it isn't currently possible through the .NET API to directly refresh the Clash Test Summary after updating clash statuses with TestsEditResultStatus()
. The Navisworks .NET API doesn’t provide a way to automatically refresh the UI after modifying test results, so your changes don't show up in the summary until you close and reopen the model or rerun all the clashes, as you mentioned.
Since the UI-level is separate from the API, it would require a feature update to support this automatic refresh. Submitting a request in Jira for this functionality could help get it on Autodesk's radar for future releases.
So , I submitted a feature request on your behalf.
Can't find what you're looking for? Ask the community or share your knowledge.