Open lstrassacappa opened 11 years ago
Make sure that VBA Enabler is installed, if not you can get it here
http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12715668&linkID=9240618
Also, try to clean comtypes cache by clearing following directory:
Python27\Lib\site-packages\comtypes\gen\
Nothing....the same error....
The error occurs in api.py (pyautocad) at this point:
@property
def doc(self):
""" Returns `ActiveDocument` of current :attr:`Application`"""
return self.app.ActiveDocument # this point ???
Do you have any ideia?
Try to delete or to comment out line 20 in Python27\Lib\site-packages\pyautocad\api.py
:
comtypes.client.GetModule(['{D5C3CB6F-AA0A-4D45-B02D-CF2974EFD4BE}', 1, 0])
Solved.....but still in test. I remove Python (64 bits) and then install the 32 bits version!!!
I have a new computer with windows 8 (64 bits) and I installAutoCAD 2013.
I´ve tried a routine that used to work in windows 7 (32 bits) + AutoCAD 2008.....here is the error:
Exception WindowsError: 'exception: stack overflow' in <bound method tagVARIANT.del of VARIANT(vt=0x8, u'Digite ABA da cantoneira: ')> ignored Exception WindowsError: 'exception: access violation writing 0x0000000000040000' in <bound method BSTR.del of BSTR(None)> ignored