' ******************************************************************************
' swxJRNL.swj - journal recorded on 11/24/03 by Standard
' ******************************************************************************

Dim swApp As Object
Dim Part As Object
Dim boolstatus As Boolean
Dim longstatus As Long
Dim Annotation As Object
Dim Gtol As Object
Dim DatumTag As Object
Dim FeatureData As Object
Dim Feature As Object
Dim Component As Object
Sub main()
Set swApp = CreateObject ("SldWorks.Application")
Set Part = swApp.OpenDoc4 ("D:\ISI\TP ISI\J1 - Perspectives\Mini Stepper\Assemblage\Ensemble.SLDASM", 2, 0, "", longstatus)
Set Part = swApp.ActivateDoc ("Ensemble.SLDASM")
swApp.ActiveDoc.ActiveView.FrameLeft = 0
swApp.ActiveDoc.ActiveView.FrameTop = 0
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
Part.SelectByID "Annotations@Ensemble_corps_vérin-2@Ensemble/Corps_vérin_extérieur-1@Ensemble_corps_vérin", "DCABINET", 0, 0, 0
Part.ClearSelection
Part.SelectByID "Annotations@Ensemble_corps_vérin-2@Ensemble/Corps_vérin_intérieur-1@Ensemble_corps_vérin", "DCABINET", 0, 0, 0
Part.ClearSelection
Part.SelectByID "Annotations@Ensemble_corps_vérin-2@Ensemble", "DCABINET", 0, 0, 0
Part.ClearSelection
Part.SelectByID "Annotations", "DCABINET", 0, 0, 0
Part.ClearSelection
Part.SelectByID "Annotations", "DCABINET", 0, 0, 0
Part.ClearSelection
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ExitApp
End Sub
