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

I know how to use the AddLine or the AddCircle. But i don't find the answer.Could someone tell me?

I'm trying to read block attributes: ``` from pyautocad import Autocad acad = Autocad() ``` Reading other properties works fine: ``` In [89]: b.InsertionPoint Out[89]: (3764.4951495785735, 745.3710248379173, 0.0) ``` However,...

I have been tasked with writing something to read through the custom DWGProps in an AutoCAD drawing. Is this possible using pyautocad?

i installed 2 versions of autocad cad2017 and cad2014 mechanical , i used code like this: from pyautocad import Autocad a=Autocad() a.prompt("hello") cad2014 mechanical was opened , why not cad2017?...

My autocad object has created well but getting error on acad.prompt(). Following is the error : >>> acad.prompt("Hello") Hello Traceback (most recent call last): File "", line 1, in File...

Hello, Autocad from Python Drawing1.dwg --------------------------------------------------------------------------- COMError Traceback (most recent call last) in () 15 16 dp = APoint(10, 0) ---> 17 for text in acad.iter_objects('Text'): 18 print('text: %s at:...

Hi reclosedev, Your lib helps a lot... And here are 2 question I wand to ask. The first one is can I save the drawing use `acad.doc.save(r'C:\Users\Administrator\Desktop\1.dwg')` or `acad.doc.save(r'C:\Users\Administrator\Desktop\1.dwg')`? the...