I've created a GUI
using PyQt5
wich takes shapefiles
and one .dwg
file as inputs.
In the .dwg
file, I have a certain amount of standard layers
that should be inside.
If one or more of those layers
is missing, I would like to be able to inform the user which layers
are missing.
For example, if the .dwg
files must have these layers
('Trees', Roads', 'Houses', 'Lakes' etc.), if 'Roads' is missing, I would like the user to be inform when he launches the GUI
.
Using Python I have to use a Python extension/library I guess. But I've looked and PyAcad
or PythonCAD
don't seem to be very implemented yet.
If anyone has used Python for AutoCAD, I am looking for some advice/tips.
And if you have an alternative idea for my problem that would be greatly appreciated !