明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
分享 startapp函数与wscript.shell exec方法
xinrstar 2018-9-30 10:46
startapp函数与wscript.shell exec方法都可以用来打开windows应用程序。 (startapp "notepad.exe" "d:\\test.txt") (vlax-invoke-method (vlax-get-or-create-object "wscript.shell") "exec" "notepad.exe d:\\test.txt") 上面的代码都是用记事本新建或打开文件。 编译成VLX时如果勾选了独立名 ...
1285 次阅读|1 个评论 热度 3
分享 修改圆弧
xinrstar 2016-1-22 17:17
;;;减小倒角ARC (defun c:jxr () (xgarc "") ) ;;;加大倒角ARC (defun c:jdr () (xgarc "") ) ;;;重画倒角arc (defun c:rer () (xgarc "=") ) ;;;倒角arc改尖角 (defun c:r0 () (xgarc "0") ) (defun xgarc (xgc / center ename ename1 ename2 ent id1 i ...
1241 次阅读|0 个评论
分享 文字改hzkf.shx字体
xinrstar 2016-1-22 17:14
(defun c:uptext (/ sss i j ent ename ename_lst) (if (and (not (tblsearch "style" "hzkf")) (findfile "hzkf.shx") ) (command "-style" "hzkf" "hzkf" "5" "0.75" "" "" "" "") ) (if (and (setq sss (ssget '((0 . "text,insert") ...
1239 次阅读|0 个评论

本页有 3 篇日志因作者的隐私设置或未通过审核而隐藏

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-3-28 21:13 , Processed in 0.149814 second(s), 11 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部