Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Layer password control

  1. #1
    Member
    Join Date
    2008-04
    Posts
    11
    Login to Give a bone
    0

    Post Layer password control

    do u have a lisp for locking layers by using passwords or making layer invisible using lisp in autocad2006?
    svsmani

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Layer password control

    You can make entities invisible. Take a look at the 60 DXF code.
    R.K. McSwain | CAD Panacea |

  3. #3
    Active Member
    Join Date
    2015-12
    Location
    Utah
    Posts
    69
    Login to Give a bone
    0

    Default Re: Layer password control

    Any routine to lock layers with a password would require a reactor to watch for access to those layers.

    It can be done, but it isn't exactly trivial.

    Mike

  4. #4
    Active Member
    Join Date
    2008-08
    Posts
    55
    Login to Give a bone
    0

    Default Re: Layer password control

    The invisible element might still be needed to actually hold the password in a semi-secure way. You can not store data with a persistent reactor after the drawing has been closed. So you would have to drop dxf data on something or make a key file to check the password against. Additionally the reactor is targeting a function that would have to be loaded each time that drawing is opened. So there are quite a few problems that would make it rather un-realistic, but still possible....

  5. #5
    Active Member
    Join Date
    2015-12
    Location
    Utah
    Posts
    69
    Login to Give a bone
    0

    Default Re: Layer password control

    I would prefer to call it "challenging" rather than "un-realistic"

  6. #6
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    0

    Default Re: Layer password control

    Here is a program that I wrote to lock down layers
    (so they can't be unlocked by the layer command)

    It could be modified to freeze layers or add a password like your inquiry states.

    Peter
    Attached Files Attached Files

  7. #7
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Layer password control

    Quote Originally Posted by mweaver View Post
    I would prefer to call it "challenging" rather than "un-realistic"
    Anyone could also disable all of the reactors making the reactor option unrealistic.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  8. #8
    Active Member
    Join Date
    2015-12
    Location
    Utah
    Posts
    69
    Login to Give a bone
    0

    Default Re: Layer password control

    Certainly not your average user. Any user who can disable your reactors better know enough to conform to your standards, otherwise he's likely more dangerous than your average user.

  9. #9
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Layer password control

    Quote Originally Posted by mweaver View Post
    Certainly not your average user. Any user who can disable your reactors better know enough to conform to your standards, otherwise he's likely more dangerous than your average user.
    If that average user is an AUGI member, they would probably ask how to bypass it.

    Anyway, I think the OP's question has been answered a few times already.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  10. #10
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    0

    Default Re: Layer password control

    You could redefine commands like (vlr-remove-all) like

    Code:
    (defun VLR-REMOVE-ALL () (alert "\nYou cannot disable the reactors"))
    So the user would have a hard time disabling the reactors.

    Then you could place the (load "locklayer") in the mnl file somewhere where it would be hard to find to prevent its loading.

    You could also write a VBa event using the LISP reference library that would reload the reactors if they did get turned off.

    I can modify my routine to your specification, what do you want it to do exactly?

    Peter

Page 1 of 2 12 LastLast

Similar Threads

  1. Layer Lock Password
    By Wish List System in forum ACA Wish List
    Replies: 3
    Last Post: 2017-06-06, 04:06 AM
  2. Replies: 4
    Last Post: 2016-02-12, 09:12 PM
  3. Layer Lock Password
    By Wish List System in forum ACA Wish List
    Replies: 2
    Last Post: 2014-07-02, 03:27 AM
  4. Password Layer Locking
    By Wish List System in forum ACA Wish List
    Replies: 3
    Last Post: 2013-05-11, 10:34 AM
  5. Locking a layer and password protect it
    By glicata in forum AutoCAD General
    Replies: 7
    Last Post: 2006-03-11, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •