[python-win32] Some problems with instantiating a type library
pierre
ykoncontact at yahoo.fr
Fri Feb 15 21:43:56 CET 2008
Hi, i'm trying to make use of win32 and makepy for automatizing the CAD/CAMsoftware Rhino3D.
I'm beginning with something like this:
import win32com.client
from RSInterface import RhinoScript #Interface made by makepy from the RhinoScript type library
Rhino = win32com.client.Dispatch('Rhino4.Application')
Rhino.Visible = True
#this works and launches rhino but not the following
RS = Rhino.GetScriptObject
RS = RS.RhinoScript
#it returns : RS = RS.RhinoScript
AttributeError: 'NoneType' object has no attribute 'RhinoScript'
Does anybody could help about that?
Best regards
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
More information about the python-win32
mailing list