Can anyone help me find where to get started on modifying clashes programmatically?
I want to be able to change the status and comments about a clash through the API.
Thanks in advance.
Hi,
Currently, we need to use COM API to manipulate Clash. There is a sample AUTO_04 in <Navisworks Installation Path>\api\COM\examples\ which demonstrates the automating the process of running pre-defined clash tests in a model and generating a report of the results. I think it self-explains how to use Clash. Regarding with your requirements, the relevant properties are:
InwOclClashTest.Status
InwOclTestResult.Comments
Please note, you could also use the abilities of COM API if your program uses .NET API, through COM interop. About COM interop, please refer to <Navisworks 2011 Installation Path>\api\net\documentation\NET Developers Guide.pdf or
<Navisworks 2012 Installation Path>\api\net\documentation\NET API.chm (Developer Guide).
Best regards,
Xiaodong Liang
Developer Consultant
Autodesk Developer Technical Services