Navisworks API

Reply
Contributor
tagbagz
Posts: 21
Registered: ‎03-13-2012
Message 1 of 3 (480 Views)

Navisworks plugin hyperlinks

480 Views, 2 Replies
03-13-2012 04:12 PM
I have recently installed and configured the navisworks activex plugin to view NWD files in a browser. I want to add hyperlinks into the models to pull up information. To avoid browser refreshes I want the link to run JavaScript (ie: href="JavaScript.Function();" these link work fine in 2D dwf files (using browser plugin) but will not work in navisworks. Is there any way to call a script on a webpage from a hyperlink in navisworks. Any help greatly appreciated P Marsland
Contributor
tagbagz
Posts: 21
Registered: ‎03-13-2012
Message 2 of 3 (470 Views)

Re: Navisworks plugin hyperlinks

03-14-2012 01:40 AM in reply to: tagbagz

I have just realised that the hyperlinks actually open a new browser window, is there any way to control this.

 

Also regrading my previous post, Is it possible to trigger an onclick event from the objects in the model. The onlick event then firing either VBscript or Javascript embedded in the webpage

 

Again any help greatly appreciated.

 

P Marsland

ADN Support Specialist
xiaodong.liang
Posts: 1,335
Registered: ‎06-12-2011
Message 3 of 3 (360 Views)

Re: Navisworks plugin hyperlinks

08-01-2012 11:22 PM in reply to: tagbagz

yes, this is the current design that a new window opens when clicking an URL. I do not see any way to control this.

 

As to using the events of ActiveX control, please refer to the blog:

 

http://adndevblog.typepad.com/aec/2012/08/enable-event-of-activex-control.html



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
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.