pyautocad icon indicating copy to clipboard operation
pyautocad copied to clipboard

AutoCAD Automation for Python ⛺

Results 50 pyautocad issues
Sort by recently updated
recently updated
newest added

There is a task to automate the routine process associated with Autocad 2020 LT. You need to insert the same table into 180 DWG files (it's not a problem to...

Hello, I have a problem, I wrote some script and I want to iterate all the text in my model space and redefine changed texts. Some texts are not iterated,...

I studied your tutorial materials. But most of them are drawing pictures into new file. How could I open/load/read existing dwg file??

Hi to everyone, I'm trying since last week to copy from a directory X:\windows\cad\repo\file_to_import.dxf and paste to X:\windows\cad\new_file.dxf , but i have to paste the previous (file_to_import.dxf) in a specific...

>>> m.AddPolyline((APoint(0,0),APoint(-1000,-1000),APoint(5000,-5000))) Traceback (most recent call last): File "", line 1, in File "C:\Users\P1\AppData\Local\Programs\Python\Python36\lib\site-packages\comtypes\client\lazybind.py", line 182, in caller return self._comobj._invoke(descr.memid, descr.invkind, 0, *args) File "C:\Users\P1\AppData\Local\Programs\Python\Python36\lib\site-packages\comtypes\automation.py", line 729, in _invoke dp,...

Is possible to run pyautocad in a mac? Im trying and I get this error: ` Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]...

Good moning, I’m trying using pyautocad library in python 3.8 on windows with the following example code taken from a tutorial: `import pyautocad acad = pyautocad.Autocad() print(acad.doc.Name) from pyautocad import...

hello,i need your help. i read your doc and try to use other function referening AutoCAD ActiveX documentation. but find some error,however the function did work. here is the codes(quite...

GetXData AppName, XDataType, XDataValue need two parameters return,how to use ?

I tried the following : from pyautocad import Autocad, APoint acad = Autocad(create_if_not_exists=True) acad.prompt("Hello, Autocad from Python\n") The following is the error i m getting : >>> acad.prompt("Hello, Autocad from...