Excel cell hyperlink to Navisworks viewpoint

Excel cell hyperlink to Navisworks viewpoint

Shmuel-rozenberg
Observer Observer
608 Views
3 Replies
Message 1 of 4

Excel cell hyperlink to Navisworks viewpoint

Shmuel-rozenberg
Observer
Observer

Hi,

 

Is there an easy way of clicking a cell in excel, specifying the viewpoint name, and then Navisworks pops up displaying the said viewpoint?

 

any help much appreciated.

 

S.

0 Likes
609 Views
3 Replies
Replies (3)
Message 2 of 4

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @Shmuel-rozenberg ,

 

I am not sure how to trigger button clicks in Excel via C# code.
I would suggest you figure that out on your own.

 

But once the button is clicked, you can open and view the viewpoint via the Navisworks automation API.

Automation API - https://apidocs.co/apps/navisworks/2017/87317537-2911-4c08-b492-6496c82b3ed7.htm 

You can access the saved viewpoints, get the required viewpoint by specifying the viewpoint name and make the required viewpoint as current viewpoint.

I hope this helps.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

jeroen.platteeuw
Community Visitor
Community Visitor

Dear Rozenberg,

 

I am very interested in wether you have solved this question. I am looking to do the same thing. Export viewpoints from naviswork to excel and keep it dynamic by linking the excel with a naviswork model. So if ther is an update I can click on a name in the excel file and the viewpoint shows in Naviswork to see the update. 

0 Likes
Message 4 of 4

tetsuya_miwa
Advocate
Advocate

The simple way to achive this is to create plugin to get instance of Excel application and hook active worksheet's selection change event.
Developing custom protocol handler to work with hyperlink is quite difficultto achieve with current Navisworks API.
https://forums.autodesk.com/t5/navisworks-api-forum/adding-protocol-handlers-to-navisworks/m-p/72532...

0 Likes