[python-win32] Some problems with instantiating a type library
Tim Roberts
timr at probo.com
Fri Aug 14 21:07:56 CEST 2009
steller wrote:
> try this!
>
> #the basic win32com interface generated by makepy.py
> from rhinov4scripttypes import RhinoScript
> import time
> import win32com.client
> #init rhino
> Rhino = win32com.client.Dispatch("Rhino4.Application")
> time.sleep(3)
> Rhino.Visible = True
> RS = Rhino.GetScriptObject
> RS = RhinoScript(RS)
> RS.AddLine((0,0,0), (1,1,1))
>
None of us can "try this" unless we have the Rhino4 application
installed. What do you see?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list