Navisworks API

Reply
Contributor
21 Posts
4 Kudos
Registered: ‎03-13-2012
Post 1 of 3

Navisworks plugin hyperlinks

487 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
21 Posts
4 Kudos
Registered: ‎03-13-2012
Post 2 of 3

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
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 3 of 3

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!