Edit Status of Specific Clash Result by Clash GUID

Edit Status of Specific Clash Result by Clash GUID

c_mccartney_hawkins_co_nz
Contributor Contributor
1,624 Views
3 Replies
Message 1 of 4

Edit Status of Specific Clash Result by Clash GUID

c_mccartney_hawkins_co_nz
Contributor
Contributor

Hi,

 

Our clash detection and model development/review workflow involves the generation of 'clash bubbles' in Revit representative of each clash result produced by a number of clash tests in Navisworks.

 

To enable changing the status of the clashes represented by these bubbles (3D Revit family objects, containing all relevant clash data such as clash GUID, group GUID etc) I am developing a plugin which reads the 'Clash GUID' property embedded in the clash bubble object, and would then like it to be able to change the status of that clash result (as per selected objects "Clash GUID' property) within Clash Detective. This is as shown on the attached.

 

Can anyone please advise if this (selecting a specific individual clash result by it's GUID and editing it's properties) is at all possible via the API, and point me in the right direction for some example code.

 

A possible solution to this might be to dump a complete clash result record (including GUID) to a temporary streamwriter stream/text file, iterating through this until the relevant GUID is found, identify the index of the result, then, use that index against the clash test data - however don't think this is the most efficient method - appreciate any other ideas.

 

Regards,

Christian McCartney

 

 

Christian McCartney
VDC/BIM Manager
Hawkins
============
www.hawkins.co.nz
0 Likes
1,625 Views
3 Replies
Replies (3)
Message 2 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @c_mccartney_hawkins_co_nz,

 

I am a bit ignorant with Revit. It looks the property Clash_GUID is from the clash test of Revit? or from Navisworks clash test?

 

And your requirement is to get the clash result of Navisworks which contains the corresponding elements, and change its status. Is my understanding correct? While I do not seem to find a better way than iteration. By LINQ, the iteration code might probably look a little bit clean.

0 Likes
Message 3 of 4

c_mccartney_hawkins_co_nz
Contributor
Contributor

Hi @xiaodong_liang,

 

The Clash_GUID is the GUID generated by Navisworks clash detective and assigned to the clash result - this data is being used to populate the parameters of the Revit 'clash sphere' element, alongside others including test name, clash group GUID, severity distance, gridlines and others.

 

If possible I would like to avoid iteration as I am dealing with approx 20,000 clash results, so imagine it would be very inefficient to iterate through these simply to change the status of an individual result - any other ideas or options to select a specific clash result? How else can individual clash results be filtered out of the overall data set?

 

Regards,

Christian McCartney

 

 

Christian McCartney
VDC/BIM Manager
Hawkins
============
www.hawkins.co.nz
0 Likes
Message 4 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @c_mccartney_hawkins_co_nz,

 

my apology for the late response! I was checking with our engineer team. Unfortunately, there is not a clue on the question. I would think it is a feature that has not been supported. So I logged a wish: NW-54336: Find specific clash result without iteration

 

At this moment, you would have to iterate the list to find the clash result. Sorry for the inconvenience. 

0 Likes