Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IRstuff on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

3D Instant Website

Status
Not open for further replies.

Erane

Mechanical
May 9, 2005
3
I used the 3D Instant Website option on my SW2005 and the program created the required files on my local disk (.htm, .easm and other folders). It works fine if I open the .htm file however if I try to open the .htm file through Front-Page it fails ('filename.easm' was not found). I also transferred all the files and folders to my website and I get the same type error (error reading file).

Am I doing something wrong? Is there a particular parameter I need to set on my browser or in SW for this to work.

Thank you,
Eran
 
Replies continue below

Recommended for you

Sounds to me like the HTML file generated refers to the other files (eDrawings, images, whatever). If that's true, the files it searches for need to be exactly where the HTML file specifies or it will not find them. Perhaps it works while on your local drive because the files referred to are in local directories. If you pack everything up and post it on a web site, I would guess the files are in different places--and therefore unavailable.

How familiar are you with HTML? Is your HTML "page" still on your site? If so, point me to it and I might be able to detect the problem (since the HTML code can be viewed through a browser).


Jeff Mowry
Reality is no respecter of good intentions.
 
Erane,

I haven't played much with the instant web page feature of SolidWorks largely because HTML is just about the simplest thing you can learn on a computer. I generate HTML using NOTEPAD. I save my SolidWorks files as JPEG. The resulting page is guaranteed to work on any browser other than Lynx, regardless of OS.

Check out In their article on the Biggest Web Design Mistakes of 2004, using FrontPage is number twelve.

For more information on HTML, check out
JHG
 
I'm not exactly sure what the problem is, since the page inserted a frame (referring to HTML in a different file) and therefore I cannot read the important stuff.

Perhaps if you reassemble your page such that the eDrawing file is in the same directory (sort of a default way for HTML to find a file), it may work. Repost with the file in the same web directory as the HTML document and perhaps it will connect.

I don't know what the problem would be if it doesn't find it after the modification.

By the way, drawoh brought up some good points. I learned by writing HTML in Notepad myself and I've seen the site to which he alluded. I use Mozilla Firefox for my browser, and what you're trying to do seems only to work in Explorer (widely used, but poor browser).


Jeff Mowry
Reality is no respecter of good intentions.
 
Jeff,

The HTML file is in the same directory as the 'easm' file.

The directory of the HTML file has the following files:
1813114.easm
DIS-RPC.htm
object_1.htm

The DIS-RPC.htm is the HTML file that I am running and the 'easm' file is in the same directory level.

The directory also has the following sub-directory:
_vti_cnf
images
IncludeFiles

In regards to writing my own HTML, I am not that good at it. In addition, SW has added code to handle plugin and to download the plugin to a user that might not have it installed on their computer. It also has the help link to SW website to display help on the viewer. All these things are created automatically and I am not sure I will be able to implement them correctly.

Thanks for your help.
Eran
 
Wow, I'm not sure what the problem is. The only thing I can think of is that the eDrawing may need to be in a particular directory as specified in object_1.htm--perhaps that's what the IncludeFiles directory is supposed to contain. (Or one of the other directories.)

If you like, you can check the contact page of my web site and send a zipped copy of the whole batch you posted to me and I can see if I can figure it out. Might not get to it until next week, so that's probably not much consolation.

Try inserting the eDrawing you created into each of the directories and subdirectories that you stated above. Maybe that will root out the problem. If not, the problem might be something besides failing to find the file.


Jeff Mowry
Reality is no respecter of good intentions.
 
Instead of using the 3D Instant Website function, try this instead. In your part, assembly, or drawing (whichever you want on your web), go to File > Save as > eDrawings (*.easm)
Open the newly-created eDrawing, and save as .htm.
Incidentally, I don't believe you have to upload the .easm files or anything else except for the .htm file because everything you need will be embedded into the .htm file. I can delete the .easm file, and then cut and paste the .htm file into a different folder, and it still opens without any problems.
Now, if you want to want to remove the clutter of all of the tools and options that can confuse some users of your eDrawing, open the .htm file and search for
Code:
<PARAM name="FullUI" value="1"/>
and change the vaule from 1 to 0. "Save As" another name so you will have a backup to compare the 2. You will still be able to rotate and pan by right-mouse-button and picking whichever you want. For top, left, and other views, r-m-b and choose "animate views", and pick next, or "continuous play".
After all of this is said and done, another problem might be that you are using Front Page. Sometimes Front Page will add code, and this may be what is making the eDrawing unreadable.
There are some good FREE web editors out there that are great for most users.

I like 1st Page 2000 by Evrsoft

Another free one that is pretty good, plus it is updated somewhat regularly is HTML-KIT

Flores
 
WARNING ***** WARNING ***** WARNING

The download of 1st Page 2000 from Evrsoft link in the previous post contains the JS.WindowBomb trojan.

virusalert3au.jpg


Nortons website regarding this trojan is

[cheers]
Making the best use of this Forum. faq559-716
How to get answers to your SW questions. faq559-1091
Helpful SW websites every user should be aware of. faq559-520
 
Corblimey, thanks for the warning.
Just for the record, there are some useful 3rd party scripts included with 1st Page, but obviously this is not one of them. You have to insert the script into a web page first:

The javascript will not run unless you click on the button, and the page states VERY CLEARLY that clicking on a button will cause havoc:

If you do not have an antivirus scanner, all you have to do is simply delete the script found at:
C:\Program Files\Evrsoft\1st Page 2000\IScripts\Buttons: Six buttons from hell.izs

Here, Symantec explains that a Trojan Horse neither replicates nor copies itself:


There are other free web editors out there, but these 2 have an instant preview within the interface to check your work, while 1st Page works faster.

Flores
 
smcadman ... thanks for all that information. 1st Page looks to be a very user friendly & capable web creator/editor, but it's a shame that Evrsoft has seen fit to distribute potentially malicious scripts with it.

There is way too much crap flying around the net as it is. In my opinion, any company (its owners and employees) which knowingly distributes potentially malicious scripts should be banned from any internet activity ... for life.

I may be a "Grumpy Old Fart" (in fact I know I am ... my wife just told me ... again) [lol] but I have absolutly zero tolerance of anyone who thinks sending viruses, malware, etc., is acceptable & fun. I will not be using or recommending 1st Page or any of Evrsofts products ... ever.

[cheers]
Making the best use of this Forum. faq559-716
How to get answers to your SW questions. faq559-1091
Helpful SW websites every user should be aware of. faq559-520
 
This isn't immediately germane, but useful. One of my favorite sites (since I'm a freeware junkie) is snapfiles.com . I've never had any of the problems mentioned above with anything I've found there. I think they screen everything quite well.

Anyway, for HTML editors, you've got a big pick of freeware:

My favorite is completely graphical, although I taught myself HTML the hard way using Notepad (which I recommend learning). DHE Editor is created by some Italian guys and is a tremendous piece of freeware. I coughed up the 10 Euros and converted my own site after playing around with it. Learning the program involves careful checking of the sample files (included) and figuring out which feature does what. Don't get confused with the terminology differences between the DHE tools and HTML tools and you'll do fine.


Jeff Mowry
Reality is no respecter of good intentions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor