modify autocad drawings

  Subscribe Topic

Rank: 3Rank: 3


Junior Engineer

posts: 188

Registered: 2012-4-27

Message 1 of 1

 modify autocad drawings
20-03-2014 12:06 . pm   |   View his/her posts only
If you can’t modify the graphic after you open the drawing, it is usually because the drawing is encrypted. You can try the following way to fix the problem.
Copy the following code in the notepad, save as unlk.lsp files and then open the drawing can't be modified, command the appload to select and load the unlk.lsp file. Enter unlk in the command line and select the un-modified graphics...
C: (defun unlk (/ en ent)
(setq en (entsel "\ n please select the encrypted graphics:"))
(if en
(if (= (CDR (assoc 0 (setq ent (CDR (entget (setq en (car en)))))))
(setq ent (entmakex
(list '(0. "INSERT")
(assoc 2 ent)
(assoc 10 ent)
(the command "_. Explodes" (entlast))
Entdel (en)
(princ "\ nOK, decryption success.")

mechanical drawing
cad cam software
See also