Automating Clash Detection using API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to try to script/automate Navisworks Manage in the Windows Task Scheduler to do the following:
- Open a named NWF with a single predefined Clash Batch
- Run the batch
- Compact the Batch, don't really care about resolved items
- Save the NWF
- Run a Report to a specific format or take what was last defined manually in Manage
- exit the session
What I was able to Google was a reference to "auto_04", and that it may give clues to this task. However, it is no longer in the examples.
The item under "api\COM\examples\Auto\AutoClashExample" looks like it may be the successor, but there are exactly "0" hits on Google to see if anyone has any insight into this routine, and there is no internal documentation as to how it goes about hte task.
Using Microsoft Visual Studio Express 2013, I can build it, but it does nothing when you run it except allow you to choose a NWD, then it crashes. I would have thought you would need to use a NWF.
Is this the correct tool for what I want to do? If so, is there any help you can provide to explain what this tool is trying to accomplish and how it goes about the task?
I will tell you now I am not familiar with Visual Studio, but I am trying to learn.
Should I be using a different version of Visual Studio? This is never clear and I cannot get a straight answer out of people at our company that do some Autodesk API programming, it seemd the answer is always "depends"...
Any help is always appreciated.
Thanks,
John