 - (setq acadver (atoi (getvar "acadver")))
- (cond
- ((= acadver 16) ;;判断CAD版本是否为 2004~06
- (if (setq arx-Per(findfile "sys16/即指即显Periscope-R16.arx")) (arxload arx-Per)) ;;即指即显 for CAD04~06
- (if (setq net-Clip(findfile "sys16/剪贴板【Clipboard】-16.dll")) (NETLOAD net-Clip)) ;;剪贴板 for CAD04~06
- )
- ((= acadver 17) ;;判断CAD版本是否为 2007~09
- (if (setq arx-Per(findfile "sys17/即指即显Periscope-R17.arx")) (arxload arx-Per)) ;;即指即显 for CAD07~09
- (if (setq net-Clip(findfile "sys17/剪贴板【Clipboard】-17.dll")) (NETLOAD net-Clip)) ;;剪贴板 for CAD07~09
- )
- )
- (princ)
|