Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Updated Clash Status not refreshed in Clash Detective Test summary

4 REPLIES 4
Reply
Message 1 of 5
kevin_fielding
229 Views, 4 Replies

Updated Clash Status not refreshed in Clash Detective Test summary

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. 

 

kevin_fielding_0-1731059306773.png



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

 

Tags (2)
Labels (2)
4 REPLIES 4
Message 2 of 5

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-61060Updated Clash Status not refreshed in Clash Detective Test summary


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 5

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

 

Message 4 of 5

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.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 5

Thanks Naveen, for the clarification. 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report