明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: 357785513

[基础] 刷块角度旋转

  [复制链接]
发表于 2011-7-26 09:56 | 显示全部楼层
怎么会出现这种错误。。。 错误: no function definition:
VLAX-ENAME->VLA-OBJECT
发表于 2011-7-26 10:15 | 显示全部楼层
Need 2000+
Vlisp Supported
发表于 2011-7-26 10:53 | 显示全部楼层
4楼热心,顶起来
发表于 2011-8-16 22:24 | 显示全部楼层
有那么麻烦吗 直接框选在属性栏里选参照块 在输入A块的角度不行吗
发表于 2011-8-18 17:13 | 显示全部楼层
程序不错
可惜见到的晚了一点啊
发表于 2011-8-18 19:02 | 显示全部楼层

  1. ;; 刷块角度
  2. ;; 需要e派工具箱(XCAD)的支持:[url=http://xyp1964.ys168.com]http://xyp1964.ys168.com[/url]
  3. (defun c:tt ()
  4.   (if (and (setq s0 (car (entsel "\n选择样块: ")))
  5.     (= (xyp-get-dxf 0 s0) "INSERT")
  6.       )
  7.     (progn
  8.       (princ "\n选择要修改的图块: ")
  9.       (setq ss (ssget '((0 . "INSERT")))
  10.      i -1
  11.      rad (xyp-get-dxf 50 s0)
  12.       )
  13.       (while (setq s1 (ssname ss (setq i (1+ i))))
  14. (xyp-SubUpd s1 50 rad)
  15.       )
  16.     )
  17.   )
  18.   (princ)
  19. )


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2012-1-23 17:37 | 显示全部楼层
顶一下啦
发表于 2012-1-29 20:58 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

点评

这有点fi 命令的意味...  发表于 2012-7-31 12:33
发表于 2012-2-1 00:02 | 显示全部楼层
xianaihua 发表于 2009-12-19 00:03
一次框选程序

谢谢!收藏了!
发表于 2012-3-13 17:44 | 显示全部楼层
本帖最后由 neatmud 于 2012-3-13 17:45 编辑

  • ;; 刷块角度
  • ;; 需要e派工具箱(XCAD)的支持:http://xyp1964.ys168.com
  • (defun c:tt ()
  •   (if (and (setq s0 (car (entsel "\n选择样块: ")))
  •     (= (xyp-get-dxf 0 s0) "INSERT")
  •       )
  •     (progn
  •       (princ "\n选择要修改的图块: ")
  •       (setq ss (ssget '((0 . "INSERT")))
  •      i -1
  •      rad (xyp-get-dxf 50 s0)
  •       )
  •       (while (setq s1 (ssname ss (setq i (1+ i))))
  • (xyp-SubUpd s1 50 rad)
  •       )
  •     )
  •   )
  •   (princ)
  • )




选择样块: no function definition: XYP-GET-DXF

。。。。

不知何故。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-7 09:04 , Processed in 0.264627 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表