Sometimes every month, I try to open a DWG already open, and AutoCAD saids "read only mode".
I want to check before open the DWG if the file are already open by other users.
In the past I think there's a file with ".DWL" extensión, but I can't find this file in a network unit maped like "Z:\\"
At the moment I'm writing a open function with APPEND paremeter, using (open "Z:\\test.dwg" "a") and this return nil if the file is open. If the file is'nt open, this return the pointer to the file and I make a (close ...) inmediatly.
Are this correct?
The problem for implement this in a environment with 8-10 user using the application, every user open 20-30 files every day, there's a hundred off "open" and "close" every day to the Windows file server.
I like use the minimun process necesarys.
Thanks
Javi