Password 属性 (ActiveX)
指定加密密码。(已过时) 支持的平台:仅限 Windows 属性值只读:不 类型:字符串 加密密码。 言论
注意:从基于 AutoCAD-2016 的产品开始,已停止使用密码保护图形文件的功能。
例子VBA: 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
可视化 LISP: Not available |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-10-30 23:19
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.