Then I found the Solidworks’ process running in the backgroung though
the Process Manager.
Then ,after long time waiting, it results in this error:
WIN32OLERuntimeError:failed to create WIN32OLE object from
‘SldWorks.Application’
HRESULT error code:0x80080005
Then ,after long time waiting, it results in this error:
first I started the SolidWorks ,seeing the Solidworks’ process running
in the backgroung though the Process Manager.
then in the irb :
require ‘win32ole’
=>true
sw = WIN32OLE.connect(‘SldWorks.Application’)
The error:
WIN32OLERuntimeError:OLE server ‘SldWorks.Application’ not running
HRESULT error code:0x800401e3
Have a look at
or google for the error codes.
Try using it from VBA/vbs/any other language to see if it works at all.
Jano
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.