明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖
楼主: userzhl

[求助]在非世界坐标中插入文字出错了,求助高手,帮忙解决一下。

  [复制链接]
 楼主| 发表于 2008-8-30 22:49:00 | 显示全部楼层
真是郁闷,解决不了.
发表于 2008-8-31 01:56:00 | 显示全部楼层
发表于 2008-8-31 09:18:00 | 显示全部楼层
游客,本帖隐藏的内容需要发帖数高于 5 才可浏览,你当前发帖数只有 0

发表于 2008-8-31 23:55:00 | 显示全部楼层

请再再试一下!

(defun c:qqqq_1()
   (if (not (tblsearch "layer" "cen"))
       (command "_.layer" "_new" "cen" "_color" "1" "cen" "_ltype" "center" "cen" "")
   )
   (command "layer" "s" "cen" "")
   (if (not (tblsearch "UCS" "NNN"))
       (command "ucs" "S" "NNN")
   )
   (command "ucs" "v")
(setq in (getpoint "\n 请选择文字位置:"))
(if in
  (if (> (cdr(assoc 40 (tblsearch "STYLE" (getvar "TEXTSTYLE")))) 0)
   (command ".TEXT" in "" "插入文字测试")
   (command ".TEXT" in "5" "" "插入文字测试")
  )
)
(command "ucs" "R" "NNN")
(command "ucs" "D" "NNN")
(prin1)
)

 楼主| 发表于 2008-9-1 08:13:00 | 显示全部楼层
问题已搞定,非常感谢yoyohosailorcwxZZXXQQ以及各路高手的关注
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-19 01:44 , Processed in 0.192466 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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