Helchan的博客园

导航

2015年1月24日 #

【Visual Lisp】驱动器、目录、文件和注册表

摘要: ;;驱动器、目录、文件、和注册表;;★★★01.获取并创建驱动器盘符组成的表★★★(setq Drives (vlax-get-property (vlax-create-object "Scripting.FileSystemObject") "Drives")) ;;获取驱动器集合(setq D... 阅读全文

posted @ 2015-01-24 15:13 Helchan 阅读(3012) 评论(0) 推荐(0)

【Visual Lisp】变体与安全数组

摘要: (vlax-make-variant) ;;创建一个未初始化的变体;;01.整型值变体(setq myvar (vlax-make-variant 10)) ;;创建整型值变体,返回 #(vlax-variant-type myvar) ;;获取变体类型,返回 3 (vlax... 阅读全文

posted @ 2015-01-24 11:30 Helchan 阅读(2828) 评论(0) 推荐(0)