Print Page | Close Window

Add multiline text with Attedit

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11495
Printed Date: 01.Jun.2026 at 00:58


Topic: Add multiline text with Attedit
Posted By: rohgahh
Subject: Add multiline text with Attedit
Date Posted: 25.Nov.2015 at 15:25
Hi

I have a template and there are 3 blocks with text 1000, 1001, 1002

With a script, I can change them with attedit to the numbers I want. However, one off them i need to change to:

To sheet
101


just like that, with an enter.


>> "D:\change_frame\scripts\auto_pag.scr" echo -attedit
>> "D:\change_frame\scripts\auto_pag.scr" echo(
>> "D:\change_frame\scripts\auto_pag.scr" echo(
>> "D:\change_frame\scripts\auto_pag.scr" echo(
>> "D:\change_frame\scripts\auto_pag.scr" echo(
>> "D:\change_frame\scripts\auto_pag.scr" ECHO 410,291.0
>> "D:\change_frame\scripts\auto_pag.scr" ECHO -40,-40,0.0
>> "D:\change_frame\scripts\auto_pag.scr" echo.
>> "D:\change_frame\scripts\auto_pag.scr" echo V
>> "D:\change_frame\scripts\auto_pag.scr" echo C
>> "D:\change_frame\scripts\auto_pag.scr" echo 1002
>> "D:\change_frame\scripts\auto_pag.scr" echo To sheet 101

With this code, it will be all in one line.

What do I have to do to write like I want to?




Thanks in advance



Print Page | Close Window