Standing
Mechanical
- Jan 14, 2002
- 1,578
I have a macro that works if I have had something opened in the SolidWorks screen. But if I try to run the macro first thing after starting SolidWorks the macro does not run. Is there something that I am missing?
Option Explicit
Dim swApp As Object
Dim Part As Object
Dim Gtol As Object
Dim FeatureData As Object
Dim Feature As Object
Dim Component As Object
Dim MyAppID, ReturnValue
Sub main()
MyAppID = Shell("\\Athena\Eng\Applications\SolidWorks\Executables\OpenPDM.exe", 1)
End Sub
Bradley
Option Explicit
Dim swApp As Object
Dim Part As Object
Dim Gtol As Object
Dim FeatureData As Object
Dim Feature As Object
Dim Component As Object
Dim MyAppID, ReturnValue
Sub main()
MyAppID = Shell("\\Athena\Eng\Applications\SolidWorks\Executables\OpenPDM.exe", 1)
End Sub
Bradley