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

How do I change units in pyautocad. Even if I'm changing it in the autocad to feets and inches, once I run the code, It makes it back to decimal.

I have done some operations using open cv and now want to convert that image/file to cad file or vector file using python. I am new to this and have...

Hi....first I'd like to thanks. This Python connection with AutoCAD is very usefull!!! My goal is to create a solid.....but before the AddExtrudedSolid I need to create a Region (AddRegion)....

The library's source files contain syntax incompatible with python 3.x, notably the print statement (when it should be a function). The syntax is otherwise not yet adapted for python 3.x,...

Hi i tried a small code as shown below `from pyautocad import Autocad, APoint acad = Autocad(create_if_not_exists=True) acad.prompt("Hello, Autocad from Python\n") print(acad.doc.Name) for obj in acad.iter_objects(): print(obj.ObjectName)` I am getting...

when type the example: ```python for obj in acad.iter_objects(): print obj.ObjectName ``` a bug occurred Traceback (most recent call last): File "", line 1, in for obj in acad.iter_objects(): File...

I run the example, but cann't do it! Traceback (most recent call last): File "test.py", line 5, in acad.prompt("Hello, Autocad from Python\n") File "C:\Program Files\Miniconda2\lib\site-packages\pyautocad\api.py", line 162, in prompt self.doc.Utility.Prompt(u"%s\n"...

How to write cad[step,iges,cadpart] file from surface or stl or mesh or 3d volume?