' ******************************************************************************
' swxJRNL.swj - journal recorded on 11/12/05 by HP_Administrateur
' *****************************************************************************
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\HP_Administrateur\Mes documents\RASCOL\themes\porte crayon guilhem\piece\flasque inf\Flasque inférieur_ m2.SLDPRT", 1, 0, "", longstatus, longwarnings)
Set Part = swApp.ActivateDoc ("Flasque inférieur_ m2")
swApp.ActiveDoc.ActiveView.FrameLeft = 0
swApp.ActiveDoc.ActiveView.FrameTop = 0
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ActiveDoc.ActiveView.FrameState = 1
boolstatus = Part.Extension.SelectByID("", "FACE", -0.02213297778644, -0.01036854668064, 0, False, 0, Nothing)
Part.ClearSelection2 True
swApp.ActiveDoc.ActiveView.FrameState = 1
swApp.ExitApp
End Sub
