I am curious to know if there is a way to generate a link between an object in the model to some database information without having the link being predefined? For example, as I am viewing my model on a website and click on a beam in the model I can have a defined link to show some information regarding that beam. Is it possible to create that link through some UI on the webpage itself?
The way I can think of is to monitor the mouse clicking event of the control, get the current selection, read the properties (if it stores the hyperlink info), or read the info from a database (if you have mapped the element with the info in the database), finally show the info.
But I still prefer to the predefined hyperlink attached to the elements. Thus the user can click the URL directly.
Would it be possible to show some example VBscript of how to get the properties from an object that has been clicked.
I too would be very interested in acccessing this information via a web browser.
here is a blog on how to use event of Navisworks ActiveX control within a web page.
As to getting object's property, I'd suggest you refer to the SDK sample in <Navisworks Manage 2012>\api\COM\examples\AUTO_06. It is a sample of automation, but the core code could be borrowed to the web page application, using VBS.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!