明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

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

[求助]有谁知道在EXCEL中将数据粘贴至CAD命令行时回车如何表示

  [复制链接]
 楼主| 发表于 2009-7-9 10:06:00 | 显示全部楼层

我找到方法了,在excel中用lisp格式就可以了,如下:

setvar cecolor 1
(command "style" "FWZS2" "华文中宋" "0" "1" "0" "n" "n")
(command "text" "j" "bc" "0,50" "10" "0" "IV46+750")
(command "text" "j" "bc" "0.000,2.483" "10" "0" "▽97.483")
(command "text" "j" "bc" "0.000,2.483" "10" "0" "▽97.483")
(command "text" "j" "bc" "-31.880,11.621" "10" "0" "▽106.621")
(command "text" "j" "bc" "31.880,11.621" "10" "0" "▽106.621")
(command "text" "j" "bc" "-48.880,17.621" "10" "0" "▽112.621")
(command "text" "j" "bc" "48.880,17.621" "10" "0" "▽112.621")
(command "text" "j" "bc" "-68.880,23.621" "10" "0" "▽118.621")
(command "text" "j" "bc" "68.880,23.621" "10" "0" "▽118.621")
(command "text" "j" "bc" "-79.200,27.781" "10" "0" "▽122.781")
(command "text" "j" "bc" "82.880,29.621" "10" "0" "▽124.621")
(command "text" "j" "bc" "-101.800,35.881" "10" "0" "▽130.881")
(command "text" "j" "bc" "103.820,36.061" "10" "0" "▽131.061")

 楼主| 发表于 2009-7-9 10:20:00 | 显示全部楼层

 “ " ”在excel中用char(34)实现

发表于 2016-5-25 20:50:14 | 显示全部楼层
非常有用!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-20 11:41 , Processed in 0.167807 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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