?
Solved

Conditiona¿l Layer Lock & Readonly for AutoCad

Posted on 2012-04-09
6
Medium Priority
?
561 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Make the most of your online learning experience.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Six Sigma Control Plans
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

770 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