Navisworks API

Navisworks API

Active Contributor
Posts: 29
Registered: ‎01-08-2013
Message 1 of 2 (215 Views)

how to zoom to the modelitem

215 Views, 1 Replies
01-09-2013 06:01 PM

1.I have using search to find some modelitems and list them in a listview,when i click a listviewitem,it zoom to the modelitem,how can i do it? to calculate the shortest distance between two objects?is there any api to do that?just like measure

3.i hava got a problem,i can't open the *.nwd file of 2013 with .NET api,but if i save the file as 2012 or 2011 type,it can load the file, but it still has problem,the 2012 type has no gridlines and color,the 2011 type has color but no gridlines,do you have the same problems?

ADN Support Specialist
Posts: 1,335
Registered: ‎06-12-2011
Message 2 of 2 (199 Views)

Re: how to zoom to the modelitem

01-13-2013 10:42 PM in reply to: sd1036770



1. please refer to


2. no API for this. you can get boundingbox of two objects and calculate the distance of two center points yourself



    - i can't open the *.nwd file of 2013 with .NET api

    which version of .NET API you are using? Note, like in product (UI), you cannot open a 2013 file in Navisworks 2012/2011. 


   -the 2012 type has no gridlines and color,the 2011 type has color but no gridlines

    As I remember, gridlines is supported from Inventor 2013 (product or API).  So it is not strange to me 2012/2011 has no gridlines. but it is a bit strange to me 2012 type has not color. Can you reproduce this issue by saving in UI? If yes, could you share a demo copy or post the question to product board?

Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.