Navisworks API

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

Navisworks plugin hyperlinks

443 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 (433 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,260
Registered: ‎06-12-2011
Message 3 of 3 (323 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community