Author Topic: ReadOnly Drawing  (Read 2147 times)

0 Members and 1 Guest are viewing this topic.

TJK44

  • Guest
ReadOnly Drawing
« on: August 16, 2013, 11:21:53 AM »
Is it possible to make a drawing ReadOnly except for the creator of the drawing?

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: ReadOnly Drawing
« Reply #1 on: August 16, 2013, 12:30:58 PM »
Everywhere?  Password protection is the only thing that springs to mind outside of CADLock (?) which does things to the contents.

In your own system you could roll something together.  But how would you identify who the "creator" is?  Computer name?  User name?  What happens if the user name changes, or they get a new computer?  Eventually you end up back at some minor variation on the built-in password protection but with a lot more work.

You could also manipulate access rights on the folder location.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

TJK44

  • Guest
Re: ReadOnly Drawing
« Reply #2 on: August 16, 2013, 01:23:25 PM »
Thanks dgorsman,

I wasn't sure if AutoCAD had any built-in feature for something like this. It does seem like more of a hassle than what it is worth.

Gasty

  • Newt
  • Posts: 90
Re: ReadOnly Drawing
« Reply #3 on: August 16, 2013, 02:29:31 PM »
Hi,

The short answer is NO with plain AutoCAD, but you can add a digital signature to a drawing, that permit to know the owner, and any unauthorized change will invalidate the digital signature. 

Gaston Nunez

elliottpd

  • Guest
Re: ReadOnly Drawing
« Reply #4 on: August 16, 2013, 04:59:54 PM »
Let them open the drawing Read-Write, then flip it to Read-Only if they are not authorized for editing (whatever your criteria) with .NET code that you run via a DocumentIdle event handler. Something like doc.DowngradeDocOpen(False)

Jeff H

  • Needs a day job
  • Posts: 6150
Re: ReadOnly Drawing
« Reply #5 on: August 16, 2013, 05:50:37 PM »
I have not tried it and could get around it easy enough with code but could lock all the layers and add a ObjectOverrule on layers and override close method and check if it is open for write and if so make sure it is still locked.