SaveAsImage from the scene of ERA

Hi

I need save a image from a scene from ERA(Explode-Render-Animate).

 

My code is:

Dim objApp As SolidEdgeFramework.Application

Dim objAssDoc As SolidEdgeAssembly.AssemblyDocument

Dim objView As SolidEdgeFramework.View

 

objApp = GetObject(, "SolidEdge.Application")

objAssDoc = objApp.ActiveDocument

objView = objApp.Windows.Item(1).View

 

objView.SaveAsImage(path & name & ".jpg", 0, 0, 0, 0, 0, SolidEdgeFramework.SeImageQualityType.seImageQualityHigh, False)

 

 

But the file JPG doesn't contain the lighting and background colors that was set on Render Setup.

 

Can you help me?

thaaanx

 

Posted by: jose
Post date: 2/28/2012 12:01:46 PM