vlax-dump-对象 (AutoLISP/ActiveX)
列出对象的属性,以及应用于该对象的方法(可选) 支持的平台:仅限 Windows 签名(vlax-dump-object obj [flag])
返回值类型:T 或错误 T,如果成功。如果提供了无效的对象名称,则显示错误消息。vlax-dump-object 例子(setq aa (vlax-get-acad-object)) #<VLA-OBJECT IAcadApplication 00b3b91c> (vlax-dump-object aa) ; IAcadApplication: AutoCAD Application Interface ; Property values: ; ActiveDocument (RO) = #<VLA-OBJECT IAcadDocument 01b52fac> ; Application (RO) = #<VLA-OBJECT IAcadApplication 00b3b91c> ; Caption (RO) = "AutoCAD - [Drawing.dwg]" . . . T 列出对象的属性和应用于该对象的方法: (vlax-dump-object aa T) ; IAcadApplication: AutoCAD Application Interface ; Property values: ; ActiveDocument (RO) = #<VLA-OBJECT IAcadDocument 01b52fac> ; Application (RO) = #<VLA-OBJECT IAcadApplication 00b3b91c> ; Caption (RO) = "AutoCAD - [Drawing.dwg]" . . . ; Methods supported: ; EndUndoMark () ; Eval (1) ; GetInterfaceObject (1) ; ListAds () ; ListArx () . . . T 相关参考 |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2024-12-15 12:31
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.