Navisworks General

Reply
Contributor
SaraQ
Posts: 11
Registered: ‎08-27-2009
Message 1 of 4 (572 Views)

Problems with MHT-reports

572 Views, 3 Replies
08-28-2009 12:25 AM
Hi!

I'm working with NavisWorks 2009.

Everything works great when I'm saving reports first as veiwpoints and then as Html. And after that I save my Html as MHT.
But...
When I try to mail or upload the MHT-files to an external server, the images disappear (cannot be read).

Can someone tell me why this happens and what I can do to make it work!?

Thanks

SaraQ
Alumni
john.lipp
Posts: 359
Registered: ‎08-28-2009
Message 2 of 4 (572 Views)

Re: Problems with MHT-reports

08-28-2009 07:13 PM in reply to: SaraQ
Hi Sara,

When exporting a Viewpoint or Clash HTML report, the jpg images are placed in the same folder as the HTML file. In the HTML file, the images are linked by only their filename. These are relative paths to the file, and if you were to move the HTML file to another folder without the image files, the images would be missing when viewing the HTML file. So long as you keep the images and HTML files together when you move them, the HTML file will link to the images.

When you resave the HTML report to an MHT file in Internet Explorer, the relative paths to the images are changed to absolute paths in the MHT file. The paths point to exact location on your local machine. Importantly, since the paths are absolute paths to the images on your computer, these links will break one you move the MHT file to another machine, namely your server since the directory structure will be completely different.

Rather than resaving to an MHT file, I suggest uploading the images and the HTML file to your server, placing them in the same folder.
Alumni
john.lipp
Posts: 359
Registered: ‎08-28-2009
Message 3 of 4 (572 Views)

Re: Problems with MHT-reports

08-28-2009 07:13 PM in reply to: SaraQ
Also note, there is a known defect in the 2010 version of Navisworks Manage in which the paths to the jpgs images are absolute paths in HTML reports. This will cause the same issue if you move the HTML report to another machine. Edited by: jlipp on Aug 29, 2009 2:18 AM
Contributor
SaraQ
Posts: 11
Registered: ‎08-27-2009
Message 4 of 4 (572 Views)

Re: Problems with MHT-reports

09-02-2009 02:07 AM in reply to: SaraQ
Hi

Tanks for your reply! The thing is, that there are no problems with MHT-files created from another .nwf. I can put them anywhere! That's why I think there is something with the settings in NW.
Are you sure about saving as MTH changes the path to absolute? I rather think the pictures are inserted.

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
Have API Questions?
New Dedicated Forum for Navisworks API

Need installation help?

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

Ask the Community