Roman Haritonov
Roman Haritonov
I have the same issue. I've tried to rewrite simple example from documentation to Python: ``` python from pyautocad import Autocad, APoint acad = Autocad() arc = acad.model.AddArc(APoint(5, 3, 0),...
I've added Python 3 compatibility. You could try version 0.2.0, it's released on PyPI. Unit tests are passed. Only test_contrib_tables.py fails due to `tablib` incompatibility. I don't use AutoCAD (or...
First error is somehow related to IDE. Can you show your AutoCAD, Python and comtypes versions? Can't reproroduce on AutoCAD 2008.
Ok, I'll try to test it on AutoCAD 2012 some of these days.
@PipeManMusic, sorry for the long delay, I'v tried it with AutoCAD 2013 on my old system and It failed to work, but on clean system it worked fine. I think...
@SSoulaimane thank you, added `dynaic=True`. New version 0.1.3 is on PyPI. It also contains fix for #4
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\`
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])`
Looks like the root cause of this issue is how `contexvars` works. I've tried 3.6 aiocontextvars and 3.7 standart's library verision. If context var is set in outer scope, then...
While the issue is not resolved, I'm using following monkey-patch, maybe it will be helpful: ```python """ This is workaround monkey-patch for https://github.com/encode/httpx/issues/1620 If you need to upload async stream...