Solved

Conditiona¿l Layer Lock & Readonly for AutoCad

Posted on 2012-04-09
6
554 Views
Last Modified: 2012-06-27
Hallo All,

We are using AutoCad 2012. Our company have more than 32 disciplines. For any projects the drawings are prepared with many disciplines. Civil does the civil drawing portions, water does the water pipeline portion, electrical does the electrical cable layout portions etc. etc. Each departments have their own set of layers in the drawing.

Now the problem is civil can accidentally modify the entities of electrical departments / utility departments. Though we lock the other disciplines layers programmetrically, but user can unlock the other disciplines layers easily if he wish to. Can we make those other disciplines layers read only? So that users can draw / modify in his own discipline layers but can not do that in other disciplines layer. But he can refer those layers / copy entities from those layers if he wish to? Some sort of xref type of thing is required, but we can not use xrefs as we work in a single drawing and our custom drawing management system is integrated with this type of file system accross the offices.

Any idea? Please help.

Regards,

Soumen Roy
0
Comment
Question by:Soumen-Roy
  • 3
  • 3
6 Comments
 
LVL 12

Expert Comment

by:silverkorn
ID: 37823117
without the use of xrefs the only way to lock the users out of certain layers is to continue with using additional custom programming to lock those layers and not to allow the users to manually unlock those layers without asking for permission first.

this can become very problematic as the custom program will need to constantly run in the background to constantly check the layers to make sure that those certain layers have not been unlocked by the user.
0
 

Author Comment

by:Soumen-Roy
ID: 37823475
Yes silverkorn,

Use of reactor, more precisely object reactor may do the required job. but it may lead to fatal error for large drawings as I faced earlier. also for large drawings reactor may increase drawing size drastically. any other way?
0
 
LVL 12

Expert Comment

by:silverkorn
ID: 37823636
if the drawings are that large you should really take another look at implementing XREF's into the workflow. This will solve your problem of allowing read only access.

You can also list and copy items from an xref into your current drawing by using the XLIST and NCOPY commands.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:Soumen-Roy
ID: 37826305
silverkorn,

Hope I may user xref. But as I told, I can not use that as our custom drawing management software do not supporting that. There are nearly 2200 users who are using that software. I can not modify that software quickly.

Regards,
Soumen
0
 
LVL 12

Accepted Solution

by:
silverkorn earned 500 total points
ID: 37827376
then your only option to keep the layers locked is to have your macro/program run at regular intervals or upon certain application events (such as the unlocking of certain layers or before the save process)

unfortunately at this time AutoCAD does not have the capability to prevent a user from unlocking a layer without the addition of custom programming.
0
 

Author Closing Comment

by:Soumen-Roy
ID: 37831193
Thanx. I have user layer filter and layer based reactor to achieve this. Thanx for you suggestion.

Regards
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question