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!!

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.
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!

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?

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. ?


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 »

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
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.