' ******************************************************************************
' swxJRNL.swj - journal recorded on 01/10/05 by hamilton
' *****************************************************************************
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 ("X:\900434.MOOS-VP\Project.Drawings\VP Buoy\RadioCan\FreeWaveRadioCan.SLDASM", 2, 0, "", longstatus, longwarnings)
Set Part = swApp.ActivateDoc ("FreeWaveRadioCan")
swApp.ActiveDoc.ActiveView.FrameLeft = 0
swApp.ActiveDoc.ActiveView.FrameTop = 0
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0.0254724, 0.0941255
Part.ActiveView().RotateAboutCenter 0.0127362, 0.0342275
Part.ActiveView().RotateAboutCenter 0, 0.0342275
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, -0.00855687
Part.ActiveView().RotateAboutCenter -0.070049, -0.0598981
Part.ActiveView().RotateAboutCenter -0.0382086, -0.0513412
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter -0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0, 0.0256706
Part.ActiveView().RotateAboutCenter -0.00636809, 0
Part.ActiveView().RotateAboutCenter 0, 0.0171137
Part.ActiveView().RotateAboutCenter 0, -0.00855687
Part.ActiveView().RotateAboutCenter 0, -0.0171137
Part.ActiveView().RotateAboutCenter 0.0382086, -0.102682
Part.ActiveView().RotateAboutCenter 0.0127362, -0.0513412
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0, 0.0427843
Part.ActiveView().RotateAboutCenter -0.00636809, 0.0427843
Part.ActiveView().RotateAboutCenter 0, 0.0427843
Part.ActiveView().RotateAboutCenter 0, 0.0256706
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0342275
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0256706
Part.ActiveView().RotateAboutCenter 0.0127362, 0.0342275
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0.0191043, 0.0171137
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0.00636809, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.0256706
Part.ActiveView().RotateAboutCenter 0.00636809, 0.00855687
boolstatus = Part.Extension.SelectByID("", "FACE", 0.02215305864821, -0.02576734693633, 0.01324328635361, True, 0, Nothing)
Part.ActiveView().RotateAboutCenter 0, -0.00855687
Part.ActiveView().RotateAboutCenter -0.0318405, -0.0427843
Part.ActiveView().RotateAboutCenter -0.0382086, -0.0256706
Part.ActiveView().RotateAboutCenter -0.0191043, -0.00855687
Part.ActiveView().RotateAboutCenter -0.0127362, -0.00855687
Part.ActiveView().RotateAboutCenter -0.00636809, 0
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, -0.00855687
Part.ActiveView().RotateAboutCenter 0, -0.0171137
Part.ActiveView().RotateAboutCenter 0, -0.0256706
Part.ActiveView().RotateAboutCenter 0, -0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0.00636809, 0
Part.ActiveView().RotateAboutCenter 0.00636809, 0
Part.ActiveView().RotateAboutCenter 0.0191043, 0.00855687
Part.ActiveView().RotateAboutCenter 0.0127362, 0
Part.ActiveView().RotateAboutCenter 0.00636809, 0
Part.ActiveView().RotateAboutCenter 0.00636809, 0
Part.ActiveView().RotateAboutCenter 0.0127362, 0.00855687
Part.ActiveView().RotateAboutCenter 0.0127362, 0.00855687
Part.ActiveView().RotateAboutCenter 0.0127362, 0.0342275
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0171137
Part.ActiveView().RotateAboutCenter 0.00636809, 0.0342275
Part.ActiveView().RotateAboutCenter 0.00636809, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Part.ActiveView().RotateAboutCenter 0, 0.00855687
Set Part = Nothing
swApp.CloseDoc "FreeWaveRadioCan"
swApp.ExitApp
End Sub
