본문 바로가기
autocad

ACAD Open Read-only

by kmlab 2023. 2. 15.

탐색기에서 선택한 DWG 파일을 읽기 전용으로 열기.

 

Adding "Open Read-Only" to right-click context menu in Windows | AutoCAD | Autodesk Knowledge Network

Here's a workaround to add an Open Read-Only shortcut to the right-click context menu in Windows XP, 7 or 10. First of all, we need to create a .vbs (Visual Basic Script) file. Any plain-text editor such as Notepad works fine. Copy the following code and

knowledge.autodesk.com

Here's a workaround to add an Open Read-Only shortcut to the right-click context menu in Windows XP, 7 or 10.

First of all, we need to create a .vbs (Visual Basic Script) file. Any plain-text editor such as Notepad works fine.

Copy the following code and save as acad-read-only.vbs  (double-check the saved extension is .vbs and not .vbs.txt).
(1) 아래 코드를 복사하여 acad-read-only.vbs 로  지정 폴더(..\LISPs\)에 저장하시오.

On Error Resume Next
dim cmd_arg
set cmd_arg=wscript.Arguments
Dim acadApp
Set acadApp = GetObject(, "AutoCAD.Application")
If Err Then
Err.Clear
Set acadApp = CreateObject("AutoCAD.Application")
End if
acadApp.visible=True
acadApp.WindowState = normal
acadApp.Documents.Open cmd_arg(0), True


Save the previous code as acad-read-only.vbs in the following path  C:\Users\YOURUSERNAME\AppData\Roaming\Microsoft\Windows\SendTo\
(2) acad-read-only.vbs 의 바로가기 파일을 만드시오.
(3) 바로가기 파일을 상기 경로(...\SentTo\)에 복사하시오.

If you can't find the AppData folder, please press the WIN+R keys, type %appdata% and hit ENTER.

Now you can find an acad-read-only.vbs shortcut when you right-click a file, as the image shown below.
(4) 바로가기 파일의 속성정보를 열어서 이름('ACAD Read_Only')과 아이콘을 수정하시오.
(5) 탐색기에서 dwg 파일을 선택한 후 마우스 오른쪽 버튼을 클릭하여 보내기에서 'ACAD Read_Only'를 선택하면, dwg 파일이 읽기 전용으로 열립니다.

acad-read-only.vbs
0.00MB

반응형

'autocad' 카테고리의 다른 글

Modify DimStyle after Export to CAD from Revit  (0) 2023.05.02
To Turn off the Start Tab in AutoCAD  (0) 2023.02.23
Overkill > Audit > Purge  (0) 2023.02.15
QuitAll  (0) 2023.02.03
Set the 'Windows Desktop' Unit format on all dimstyles  (0) 2023.01.05