ObjectARX

Reply
Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 1 of 6 (1,437 Views)

AutoCAD Read-Only

1437 Views, 5 Replies
08-31-2012 08:39 AM

Hi,

 

Current situation

  • We have employes running AutoCAD LT that needs to open drawings as ReadOnly but oftenly forgets to click the little arrow and select Read Only.
  • We have employes running AutoCAD (Not LT) that needs to work on those drawings in Read & Write mode.

 

Option 1

Set all the protected files to ReadOnly

Make a plugin that ask if you want to edit the drawing after opening it, remove the Read Only attribute, upgrade to Read&Write

 

I have successfuly done this option, but there is 2 problems that I have to resolve.

 

First, there is a "Open in read only" warning message that has to be skipped. I found a little LISP script to redefine the Open command, but it has side effects like removing the shortcut bar that I also cannot accept.

 

Second, the Open Mode upgrade doesnt remove the "Read only" in the window title until the document is saved. I have to refresh the title to remove that.

 

Option 2

Configure AutoCAD LT to always open as Read-Only (or at least make it the default behavior)

 

I don't know how to do this.

 

 

Anyone has a suggestion for me?

Thanks!

Distinguished Mentor
owenwengerd
Posts: 671
Registered: ‎08-06-2002
Message 2 of 6 (1,433 Views)

Re: AutoCAD Read-Only

08-31-2012 08:49 AM in reply to: Pluc.m

You should be setting user permissions on the folders using the features of the operating system.

--
Owen Wengerd
ManuSoft
Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 3 of 6 (1,431 Views)

Re: AutoCAD Read-Only

08-31-2012 08:53 AM in reply to: owenwengerd

Forgot to add this limitation, I cannot do this for automation reasons. We have a lot of softwares that manages project folders and such, programs that runs under users that does not have authorization to change security setting.

Distinguished Mentor
owenwengerd
Posts: 671
Registered: ‎08-06-2002
Message 4 of 6 (1,429 Views)

Re: AutoCAD Read-Only

08-31-2012 10:11 AM in reply to: Pluc.m

Another option would be to use the 'Remember read-only state' feature in my shareware QuikPik utlity. This does not prevent files from being opened as writable, but it changes the default to whatever was last used.

--
Owen Wengerd
ManuSoft
Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 5 of 6 (1,391 Views)

Re: AutoCAD Read-Only

09-04-2012 04:05 AM in reply to: owenwengerd

Google search pulled me to a unresponsive website. Is this a temporary hosting issue?

 

Also, is your tool working on AutoCAD LT applications (since they don't support customization)?

 

Thanks for the suggestion!

Distinguished Mentor
owenwengerd
Posts: 671
Registered: ‎08-06-2002
Message 6 of 6 (1,387 Views)

Re: AutoCAD Read-Only

09-04-2012 05:20 AM in reply to: Pluc.m

Yes, and yes.

--
Owen Wengerd
ManuSoft
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!