' ******************************************************************************
' swxJRNL.swj - journal recorded on 08/11/04 by kheller
' *****************************************************************************
Dim swApp As Object
Dim Part As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Dim FeatureData As Object
Dim Feature As Object
Dim Component As Object
Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.OpenDoc6 ("\\Tornado\ProjectLibrary\600028-Vertical Profiler\MVP\Buoyancy-Engine\Cylinder Endcap.SLDDRW", 3, 4, "", longstatus, longwarnings)
Set Part = swApp.ActivateDoc ("Cylinder Endcap - Sheet1")
Part.ViewZoomTo2 0.25485, 0.0707882, 2.2772e-007, 0.336496, 0.00112745, 2.2772e-007
Set Part = swApp.OpenDoc6 ("\\Tornado\ProjectLibrary\600028-Vertical Profiler\MVP\Battery-Case.SLDASM", 2, 4, "", longstatus, longwarnings)
' MSGBOX
' \\Tornado\ProjectLibrary\600028-Vertical Profiler\MVP\Battery-Case.SLDASM has display data which is out of date.
' This could possibly be because the file was not
' opened independently in SolidWorks 98 or later and saved.
' If you want to save the latest display data
' you will have to open the file in SolidWorks and save it. 

Set Part = swApp.ActivateDoc ("Battery-Case.SLDASM")
swApp.ExitApp
End Sub
