5. Interactive Line Drawing in AutoCAD with Python

❌Do not delve into computer theory❌ ❌Not a programming expert❌ ❌Best applicable❌ Task: Create a line in AutoCAD by selecting two points, place the line on the LINE layer, and set it to red.Method 1: import win32com.client import pythoncom # Create a line by selecting two points and setting layer and color def create_line_by_selection(): try: … Read more

Creating Circuit Board Shielding Cover Drawings

Creating Circuit Board Shielding Cover Drawings

Today, electronic products generally require certification, one of which is EMC testing.EMC includes radiation testing, and to prevent radiation interference, shielding covers are often used.When asking a factory to make a shielding cover, you cannot provide them with the PCB files, so it’s best to prepare a simple dimension drawing for them. How do we … Read more

Redefining AutoCAD Plugin Development with CMake and Unit Testing

Redefining AutoCAD Plugin Development with CMake and Unit Testing

The traditional development of AutoCAD plugins (.arx) often gets mired in the “project configuration hell” of Visual Studio: from complex SDK integration to version dependencies and manual debugging, a small change can lead to the collapse of the entire project. In the face of today’s strong demand for automation, testability, and portability, this model is … Read more