×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Editing Multiple Lines of Text at Once

Editing Multiple Lines of Text at Once

Editing Multiple Lines of Text at Once

(OP)
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

RE: Editing Multiple Lines of Text at Once

(OP)
That's bummer, thanks anyway.
Lori

RE: Editing Multiple Lines of Text at Once

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).

RE: Editing Multiple Lines of Text at Once

(OP)
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

RE: Editing Multiple Lines of Text at Once

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
http://www.3dvisiontech.com
http://www.scottjbaugh.com

FAQ731-376

RE: Editing Multiple Lines of Text at Once

(OP)
Thanks, it's good to know that it is possible.  I will work on finding someone to do it for me within our company.

RE: Editing Multiple Lines of Text at Once

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.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources