Category "autocad"

How to create dimension line in Pyautocad?

I created rectangle with commands acad.model.AddLine and I'd like Autocad to show dimensions of those lines. Here is my code: from pyautocad import Autocad, APo

Count number of polygons within a polyline

I have a collection of vertices that have been drawn sequentially by a user and I need to count how many enclosed areas there are within this shape. I have mana

Retrieval of DXF entities from a particular view using ezdxf

I am trying to retrieve entities only from particular view of a DXF file. The VIEWPORT class doesn't help to separate views. Help me to solve this out. Th

Renaming layout tab autocad c# .net

the following code is intended to rename the layout tabs in autocad. It renames always the first 2 layout tabs. When I add more tabs before running the program

Entities wrong when importing multiple DXF files

I have 3 different BlockTableRecord's that I want to update. I am loading external .dxf files that contain the entities for each block definition. Now when I de