Jump to content

LISP to Notify when a layer has been unlocked


Daniel Mckague

Recommended Posts

Hello,

I am in search of a LISP routine that will notify you if a layer was unlocked the last time the dwg was opened and if possible, to tell you which user was the one to unlock it. 

The issue we have is we create piping models in Plant3D and when a piping run is complete and being fabricated we lock the layer so that no changes can be made. Multiple designers can work in one model so we have had issues with layers getting unlocked and the piping run moved/modified. So if possible we need a way to lock layers with either a password or to be notified if a layer becomes unlocked. Anybody have a solution?

 

Thanks in advance for all your suggestions.

Link to comment
Share on other sites

In the words of CAD Manager extraordinaire Mark Kiker ....

"Don't let a management problem become a technology problem"

 

In other words, this sounds like a management problem. Tell the designers to not unlock these layers, problem solved.

Unless of course you have 1,500 of them and it's virtually impossible to tell who is doing it, and therefore you don't know who to write up.

 

On the technical side, I suppose it's possible to load 3rd party code with a reactor that can detect when a layer is modified, record the modification, and the current user at the time, to a log file. Layers cannot be locked with a password inside of ACAD. You could export those layers to a separate DWG file, then place those DWG files in a network location to which these rogue designers do not have write access, then xref them back in.

 

 

  • Like 2
Link to comment
Share on other sites

Copy the piping to another drawing, insert as an xref? Would that work.. I think Windows can tell who last opened a file and modified it can't it

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...