Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Editing Multiple Lines of Text at Once

Status
Not open for further replies.

diamondcat

Automotive
Aug 21, 2002
238
I have many lines of text on a drawing sheet. Does anyone know of a way I can replace all the text at once. For example, all of the lines of text are different words but I want them all to be replaced with X's.

Thanks,
Lori
 
Replies continue below

Recommended for you

There may be a way with API. A little more info is needed. Are you looking to replace all instances of text on the drawing? Are you looking to replace all notes on the sheet? Are you looking to replace all notes on the template? Are you looking to replace all dimension text with x? Are all the notes the same type of note (weld notes, annotations, dimesions,balloons, detail view notes...)?

If you answer yes to any of those questions it can probably be done with API (macro).
 
I have a drawing sheet that has a bunch of boxes sketched on it. Each box has text inside it. All of the text is project dependent so I want to take the curent one I have, where all of the text is written for a certain job, and replace all of that text with X's. This way I have a clean sheet to use as a template.
Thanks
 
In Notepad there is a similiar type of app run inside it. You can search out text and replace it globally. This would work for you but you would have to know API or pay someone to make it for you.

"APU" should have been "API" - My mistake in my last post.

Regards,

Scott Baugh, CSWP [pc2]

faq731-376
 
Thanks, it's good to know that it is possible. I will work on finding someone to do it for me within our company.
 
Why not create a new template with just the boxes and a note linked to a design table. note could read $PRP@Note1, $PRP@Note2.... the design table columns would match the notes column 2 would be $PRP@Note1 and the row under it would have the text..... when you put the model in the drawing it would update automatic.

API
The notes on the sheet can definitely be found, if there is a consistant location for the notes it is even easier. Use api to search for notes, when it finds one have it check location, if its between xvalue, value1xy, and value2xy, then change note text to XXXX. There is alot more to the code than that but that would be the general idea of the program. This can be done for multiple sheets as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor