Skip to content

Instantly share code, notes, and snippets.

View V0xP0p's full-sized avatar
🏠
Working from home

Dimitris Karatasios V0xP0p

🏠
Working from home
View GitHub Profile
@V0xP0p
V0xP0p / ACADparser.py
Created May 22, 2020 07:54
A simple code to parse an AutoCAD file for specific text values and export them in an excel file
from pyautocad import Autocad
import pandas as pd
import tkinter as tk
from tkinter import filedialog
# create two lists to hold the accessories and profiles strings
accessories = []
profiles = []
# check if an autocad object exists if not open autocad
acad = Autocad(create_if_not_exists=True)