Lsp continu when file not have attributes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear forum members,
I have a routine that read out folders and subfolders and makes a list of all the dwg's in those folder
I also work with exclusion the following way
(vl-remove "." (vl-remove ".." (vl-remove "RECENT" (vl-remove "BACKUP" (vl-remove "QuickIsos" (vl-remove "Live Preview" (vl-remove "Check_A1" (vl-remove "VOID" (vl-directory-files folder nil -1)))))))))
The code above will exclude all the folders listed and that's good
I also use a code that filters out files
(setq ORTHO (vl-remove (strcat ORTHOS1 "Orthographic View Selection 1.dwg") ORTHO))
Does anybody knows how to modify this piece of code in such a way that the lsp will just continu if there are no attributes inside the current dwg?|
Because now the routine will stop working when opening an dwg that does not contain any attributes.
Thanks in advance
Best regards,
Kind Regards