You are here:

AutoCAD/Need autoscript for inserting text in paper space

Advertisement


Question
Hello,
I am currently seeking assistance in creating a script so it can add a line of text in the title block in paper space for multiple sheets.  My current problem is i have to open each individual sheet and manually input the correct text into the title block.  From what i have heard, there is a script that automatically opens a dwg, detects the next open space in the title block and place the proper info on that particular line, then either close the dwg or print that dwg.  

Can you please offer some input on how i can perform this, i am not having any luck in any searches.  

Thank You

Brian

Answer
that is doable, but it would be custom for your application. there is no way to "detect" the whitespace and guess as to what needs to go into the title block.
the best way to do this is with a title block that has attributes that are in the proper place to fill in.
I have a program called Plot2000 that you can download at http://www.plot2000.com that has batch plotting. there is a utility in it called runbatch that does the work of opening a series of drawings, but you still have to write the bit of code that does the work on each drawing, once it is opened. runbatch is free.

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott Cook

Expertise

I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience

Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.

©2012 About.com, a part of The New York Times Company. All rights reserved.