' ******************************************************************************
' swxJRNL.swj - journal recorded on 11/15/06 by Rémi
' *****************************************************************************
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 ("D:\TP Html\Turbocompresseur Garrett\Turbocompresseur Garrett - Elèves.SLDASM", 2, 0, "", longstatus, longwarnings)
Set Part = swApp.ActivateDoc ("Turbocompresseur Garrett - Elèves")
swApp.ActiveDoc.ActiveView.FrameLeft = 0
swApp.ActiveDoc.ActiveView.FrameTop = 0
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
Part.ActiveView().RotateAboutCenter -0.0200324, 0.0210778
Part.ActiveView().RotateAboutCenter -0.0400648, 0.0105389
Part.ActiveView().RotateAboutCenter -0.0400648, 0.0105389
Part.ActiveView().RotateAboutCenter -0.0333874, 0.0105389
Part.ActiveView().RotateAboutCenter -0.0534198, 0
Part.ActiveView().RotateAboutCenter -0.0333874, 0.0210778
Part.ActiveView().RotateAboutCenter -0.0400648, 0.0105389
Part.ActiveView().RotateAboutCenter -0.0333874, 0
Part.ActiveView().RotateAboutCenter -0.0267099, 0
Part.ActiveView().RotateAboutCenter -0.00667747, 0
Part.ActiveView().RotateAboutCenter -0.0133549, 0
Part.ActiveView().RotateAboutCenter -0.0267099, 0
Part.ActiveView().RotateAboutCenter -0.0200324, 0.0105389
Part.ActiveView().RotateAboutCenter -0.0133549, 0
Part.ActiveView().RotateAboutCenter -0.0200324, 0.0105389
Part.ActiveView().RotateAboutCenter -0.00667747, 0
Part.ActiveView().RotateAboutCenter 0.00667747, 0
Part.ActiveView().RotateAboutCenter 0.0200324, -0.0421556
Part.ActiveView().RotateAboutCenter 0.0133549, -0.0421556
Part.ActiveView().RotateAboutCenter 0.0133549, -0.0526944
Part.ActiveView().RotateAboutCenter 0, -0.0421556
Part.ActiveView().RotateAboutCenter 0.00667747, -0.0210778
Part.ActiveView().RotateAboutCenter 0, -0.0843111
Part.ActiveView().RotateAboutCenter 0, -0.0316167
Part.ActiveView().RotateAboutCenter 0, -0.0316167
Part.ActiveView().RotateAboutCenter 0, -0.0105389
Part.ActiveView().RotateAboutCenter 0, 0.0105389
Part.ActiveView().RotateAboutCenter 0, 0.0210778
Part.ActiveView().RotateAboutCenter 0, 0.0210778
Part.ActiveView().RotateAboutCenter 0.00667747, 0.0105389
Part.ActiveView().RotateAboutCenter 0.0200324, 0
Part.ActiveView().RotateAboutCenter 0.00667747, 0
Part.ActiveView().RotateAboutCenter 0.0200324, 0
Part.ActiveView().RotateAboutCenter 0.00667747, -0.0105389
Part.ActiveView().RotateAboutCenter 0.0133549, 0
Part.ActiveView().RotateAboutCenter 0.00667747, -0.0105389
Part.ActiveView().RotateAboutCenter 0.00667747, 0
boolstatus = Part.Extension.SelectByID("", "EDGE", 0.0625788384034, -0.05560005910297, -0.03750361068171, False, 0, Nothing)
boolstatus = Part.Extension.SelectByID("", "FACE", 0.119, 0.01295423586009, -0.03753627661484, False, 0, Nothing)
Part.ClearSelection2 True
boolstatus = Part.Extension.SelectByID("", "FACE", 0.006630074156021, 0.06463135118844, 0, False, 0, Nothing)
Part.ClearSelection2 True
boolstatus = Part.Extension.SelectByID("", "FACE", -0.01302984218097, 0.02528295340511, 0, False, 0, Nothing)
boolstatus = Part.Extension.SelectByID("", "FACE", -0.01302984218097, 0.02528295340511, 0, False, 0, Nothing)
Part.InsertSketch2 True
Part.ClearSelection2 True
swApp.ActiveDoc.ActiveView.FrameState = 1
' MSGBOX
' Enregistrer les modifications apportées à Turbocompresseur Garrett - Elèves?

swApp.ExitApp
End Sub
