ray.lucas
2005-04-21, 12:06 AM
Got an AutoLISP program that takes a ISO-GEN dwg file, changes drawing sheets, attributes properties, save it as a clients numbering system, etc. At the end of the LISP are clean up commands to move and delete files so everything is in its place. So far so good, now with AutoCAD2005 there is the .DWL file, it has a hidden attribute on it, this is not something that I have needed to change before, tried the following
(if (findfile (strcat "C:/ISOGEN/Drawings/" olddwgno ".dwl"))
(vl-file-delete (strcat "C:/ISOGEN/Drawings/" olddwgno ".dwl"))
);_if
But as it is hidden the findfile returns a nil
How do I change the attributes of a file?
(if (findfile (strcat "C:/ISOGEN/Drawings/" olddwgno ".dwl"))
(vl-file-delete (strcat "C:/ISOGEN/Drawings/" olddwgno ".dwl"))
);_if
But as it is hidden the findfile returns a nil
How do I change the attributes of a file?