只需一步,快速开始
使用道具 举报
(defun c:tj() (while (setq ent (car (entsel "\n选择三维实体:"))) (redraw ent 3) (setq vob (vlax-ename->vla-object ent) v (vl-catch-all-apply 'vla-get-Volume (list vob)) ) (if (vl-catch-all-error-p v) (alert "所选取的图元不具有体积属性!") (alert (strcat "体积=" (rtos v))) ) (redraw ent 4) ) (princ))
yshf 发表于 2010-10-23 22:05 (defun c:tj() (while (setq ent (car (entsel "\n选择三维实体:"))) &nbs ...
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2024-11-21 01:37 , Processed in 0.146742 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.