Is it possible to use APIs to connect to other programs in VBScript?
such as the following code for VB:
Dim swApp As Object
Dim Model As Object, Drawing As Object, Sheet As Object
Const swDocPART = 1, swDocASSEMBLY = 2, swDocDRAWING = 3
Set swApp = CreateObject("SldWorks.Application"
Set Model = swApp.ActiveDoc
Set Drawing = Model
Sometimes... the BASIC things in life are the best...
or at least the most fun ;-)
-Josh Stribling
such as the following code for VB:
Dim swApp As Object
Dim Model As Object, Drawing As Object, Sheet As Object
Const swDocPART = 1, swDocASSEMBLY = 2, swDocDRAWING = 3
Set swApp = CreateObject("SldWorks.Application"
Set Model = swApp.ActiveDoc
Set Drawing = Model
Sometimes... the BASIC things in life are the best...
or at least the most fun ;-)
-Josh Stribling