Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Solidworks - Embedding Assemblys Using EDrawings

Status
Not open for further replies.

rdb72

Marine/Ocean
Apr 23, 2008
2
I am creating a training manual for our business. The pages for the training manual are created using HTML.

So far i have saved a solidworks assembly as HTML using EDrawings 2007, free/non professional version. I then viewed the source code and copied and pasted it into the HTML page.

The drawing opens properly and all works fine. I have resized it and aligned it.

I have two problems though that i hope someone can help me with-

One issue occurs when trying to add multiple drawings into the webpage, the first drawing works fine but the second drawing fails to open everytime. I have made sure the code is correct and it works properly in its own page however when i put two embedded assemblys together on the page the first one works fine and the second one doesnt. I presume it cant be done?

The second problem i have is that ideally id like the menu to be removed which i can do using this code -

<PARAM name="FullUI" value="0"/>

However once the menu bars have been removed id like the drawing to animate aswell but i cant find the correct code anywhere that makes the drawing animate from the moment it starts.

So my issues are-
1. Multiple embedded drawings cant be shown on the same HTML page?
2. Is it possible to make the drawing animate(the standard EDrawings animation) as soon as the page opens? If so the code/guidance would be greatly appreciated.

Any help will be very greatfully recieved.

cheers
Rob

p.s. I dont know if this is any use to anyone but i couldnt get it to work-

This method sets the state of animation.

Syntax (OLE Automation)

EModelViewControl.Animate ( Animating)

Input:
(EMVAnimateAction) Animating
Animate option as defined in EMVAnimateAction

Syntax (COM)

EModelViewControl->Animate ( Animating)

Input:
(EMVAnimateAction) Animating
Animate option as defined in EMVAnimateAction

Return:
(HRESULT) status
S_OK if successful

 
Replies continue below

Recommended for you

Anyone had experience embedding Solidworks files?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor