Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Locked Drawing
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Locked Drawing (Read 1950 times)
0 Members and 1 Guest are viewing this topic.
A_LOTA_NOTA
Guest
Locked Drawing
«
on:
August 09, 2007, 09:16:24 PM »
When using lisp to open a drawing is it possible to find out who has the drawing open? Also, the only way I know of to see if a drawing is locked is to search for a dwl. Is there a better way? Thanks for the help!!
Logged
kpblc
Bull Frog
Posts: 396
Re: Locked Drawing
«
Reply #1 on:
August 10, 2007, 12:15:22 AM »
If AutoCAD 2002 is used dwl file won't be created. But you can use something like (vl-file-systime <FilePath>). If file has been opened, it returns nil.
Logged
Sorry for my English.
A_LOTA_NOTA
Guest
Re: Locked Drawing
«
Reply #2 on:
August 10, 2007, 08:14:48 AM »
Thanks! Do you know how to tell who is in it? I know I can run "WhoHas" but I'm wanting to have the lisp check to see who is in it!
Logged
A_LOTA_NOTA
Guest
Re: Locked Drawing
«
Reply #3 on:
August 10, 2007, 05:39:21 PM »
Can lisp not be used to find who is in a drawing?
Logged
Kerry
Mesozoic relic
Seagull
Posts: 11654
class keyThumper<T>:ILazy<T>
Re: Locked Drawing
«
Reply #4 on:
August 10, 2007, 06:00:58 PM »
Have you actually had a look at the contents of the DWL and DWL2 files. ?
Logged
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.
A_LOTA_NOTA
Guest
Re: Locked Drawing
«
Reply #5 on:
August 10, 2007, 06:04:15 PM »
I have tried but I don't know what to open it with!
Just got it open!!!
«
Last Edit: August 10, 2007, 06:07:07 PM by A_LOTA_NOTA
»
Logged
Kerry
Mesozoic relic
Seagull
Posts: 11654
class keyThumper<T>:ILazy<T>
Re: Locked Drawing
«
Reply #6 on:
August 10, 2007, 06:07:29 PM »
It's a text file
Logged
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Locked Drawing