使用Attedi添加多行文字
你好我有一个模板,有3个文本块1000、1001、1002
有了脚本,我可以用attedit将它们更改为我想要的数字。然而,其中一个我需要换成:
至工作表
101
就这样,输入。
>>“D:\change\u frame\scripts\auto\u pag.scr”echo-attedit
>>“D:\change\u frame\scripts\auto\u pag.scr”echo(
>>“D:\change\u frame\scripts\auto\u pag.scr”echo(
>>“D:\change\u frame\scripts\auto\u pag.scr”echo(
>>“D:\change\u frame\scripts\auto\u pag.scr”echo(
>>“D:\change\u frame\scripts\auto\u pag.scr”ECHO 410291.0
>>“D:\change\u frame\scripts\auto\u pag.scr”ECHO-40,-40,0.0
>>“D:\change\u frame\scripts\auto\u pag.scr”echo。
>>“D:\change\u frame\scripts\auto\u pag.scr”echo V
>>“D:\change\u frame\scripts\auto\u pag.scr”echo C
>>“D:\change\u frame\scripts\auto\u pag.scr”echo 1002
>>“D:\change\u frame\scripts\auto\u pag.scr”回显到第101页
有了这段代码,一切都在一行中。
为了得到我想要的东西,我需要写什么而不是“到101页”?
提前感谢 这就是我如何理解你所说的。
而不是
“至第101页”
你想要的
“到工作表
101"
是这样吗?
你的工作是什么。scr做什么?是否输入属性?
这可能没有帮助,但就在今天,我了解到可以使用“^p”在Microsoft word中添加或删除“换行符”。说你想转身;进入新行,只需查找并替换“;”带“^p”。从未在AutoCAD中尝试过,我也没有准备好快速测试它的脚本,
但也许
“至第101页”? 添加属性时的一个选项是勾选多行,您可能需要重新定义块,使用Attsync进行更新。检查了它的工作原理,3条生产线,2条等。
Command: -ATTEDIT
Edit attributes one at a time? <Y>:
Enter block name specification <*>: aaa
Enter attribute tag specification <*>:
Enter attribute value specification <*>:
Select Attributes:
1 found
Select Attributes:
1 attributes selected.
Enter an option <N>: v
Enter type of value modification <R>:
Enter new attribute value: asdf
Enter next line or <done>: wert
Enter next line or <done>:
Enter an option <N>:
单词
^p return ^t tab
a smart way
dwg1
dwg2
Replace in word ^p
open
now
open dwg1
open dwg2
^p
zoom E ^p
open dwg1 zoom E
open dwg2 zoom E
mix and match ^p
close y ^p Open
Thx,比加尔。
我可以用“替换”代替“更改”。
然而,正如YZ所说,我尝试在Autocad LT中使用^p,但没有成功。
谢谢大家
页:
[1]