' ******************************************************************************
' swxJRNL.swj - journal recorded on 02/21/06 by Prof
' *****************************************************************************
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 ("C:\Documents and Settings\Prof\Mes documents\LABORATOIRE\Colles d'info\MP\Maxpid Meca3D\Modele_maxpid_sous-assemblages\Stator Moteur Support.SLDASM", 2, 0, "", longstatus, longwarnings)
' MSGBOX
'  C:\Documents and Settings\Prof\Mes documents\LABORATOIRE\Colles d'info\MP\Maxpid Meca3D\Modele_maxpid_sous-assemblages\Stator Moteur Support.SLDASM n'est pas disponible pour l'accès en écriture. Voulez-vous ouvrir les documents en lecture seule ?

Set Part = swApp.ActivateDoc ("Stator Moteur Support")
swApp.ActiveDoc.ActiveView.FrameWidth = 1205
swApp.ActiveDoc.ActiveView.FrameHeight = 780
swApp.ExitApp
End Sub
