指定加密密码。(已过时) 支持的平台:仅窗口 属性值只读:不 类型:字符串 加密密码。 言论注意:从基于 AutoCAD-2016 的产品开始,使用密码保护图形文件的功能已停止使用。
例子工 务 局: Sub Example_Password() ' This example opens a password-protected file, closes it, and then opens another ' password-protected file. ThisDrawing.Application.Documents.Open "C:\MyDrawing.dwg", , "MYPASSWORD" 'AutoCAD converts all passwords to uppercase before applying them ThisDrawing.Close ThisDrawing.Application.Documents.Open "C:\MyDrawing2.dwg", , "MYSECONDPASSWORD" End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:20
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.