+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Super Member AQucsaiJr's Avatar
    Computer Details
    AQucsaiJr's Computer Details
    Operating System:
    Windows XP Pro
    Computer:
    Dell Optiplex 330
    Monitor:
    Dell
    Discipline
    Electrical
    AQucsaiJr's Discipline Details
    Occupation
    Engineering Technition / Power Utilities
    Discipline
    Electrical
    Details
    Power Utility Protection and Control Engineering
    Using
    Electrical 2012
    Join Date
    Nov 2008
    Location
    USA, Florida, Orlando
    Posts
    511

    Default Find and Replace Text Through Project

    Registered forum members do not see this ad.

    Does electrical offer a tool to find and replace text through each drawing of a project? I found that I can run a script through a project during a batch plot process but I want to be able to do a find and replace without having to print. I would like to be able to use electrical to do this and not some other outside program if possible.
    Batch Text Find & Replace: Here

  2. #2
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,118

    Default

    Do you mean just random text or project text? If it is project text (client name etc.) ou can modify one of the support files and this is automatically updated across all the drawings.

    If you mean just random text that (may) appears in every drawing then a batch process of a LISP routine is probably the best way to go. I assume your batch process is a script in which case you can script whatever you want, it doesn't have to be a plot routine.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  3. #3
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    4,039

    Default

    Quote Originally Posted by AQucsaiJr View Post
    Does electrical offer a tool to find and replace text through each drawing of a project?
    To the best of my knowledge the two-part answer is no, but Lee does.
    "Potential has a shelf life." - Margaret Atwood

  4. #4
    Super Member AQucsaiJr's Avatar
    Computer Details
    AQucsaiJr's Computer Details
    Operating System:
    Windows XP Pro
    Computer:
    Dell Optiplex 330
    Monitor:
    Dell
    Discipline
    Electrical
    AQucsaiJr's Discipline Details
    Occupation
    Engineering Technition / Power Utilities
    Discipline
    Electrical
    Details
    Power Utility Protection and Control Engineering
    Using
    Electrical 2012
    Join Date
    Nov 2008
    Location
    USA, Florida, Orlando
    Posts
    511

    Default

    Quote Originally Posted by dbroada View Post
    Do you mean just random text or project text? If it is project text (client name etc.) ou can modify one of the support files and this is automatically updated across all the drawings.

    If you mean just random text that (may) appears in every drawing then a batch process of a LISP routine is probably the best way to go. I assume your batch process is a script in which case you can script whatever you want, it doesn't have to be a plot routine.
    Yes I am looking for a way to replace random text within each drawing.

    Quote Originally Posted by RenderMan View Post
    To the best of my knowledge the two-part answer is no, but Lee does.
    I know of Lee's tool. I use it quite often, however the client I am working with has a strict policy about using any outside programs. This is why I am looking for a tool that comes within AutoCAD.


    It is sad that AutoCAD does not seem to provide any easy way of doing this especially through the use of Electrical with its project structure. Thank you for the help.
    Batch Text Find & Replace: Here

  5. #5
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    4,039

    Default

    Quote Originally Posted by AQucsaiJr View Post
    I know of Lee's tool. I use it quite often, however the client I am working with has a strict policy about using any outside programs. This is why I am looking for a tool that comes within AutoCAD.

    It is sad that AutoCAD does not seem to provide any easy way of doing this especially through the use of Electrical with its project structure. Thank you for the help.
    I just now noticed your signature (Oops!).

    In any event, and perhaps I will seem argumentative which is not my intention, but by definition code which uses the included API's and Interfaces (in this case ObjectDBX) use internal functionality that has been exposed to the Application; thusly not an "outside" program.

    Perhaps a better illustration of my point, is to pose the question of menus, macros, toolbars, ribbon panels / tabs, an tool palettes (Whew!)... are you saying that all of the aforementioned items are strictly OOTB, and have zero customization for your company? If so, where does the client's strict policy stop, do they care if you customize the user profile, etc.

    Again, please forgive me if I seem, I dunno, "Pointed?"... it's not meant to offend, I just think that Lee's code IS an internal function because it was made with the internal tools, the same as modifying the profile to include a given support file search path is internal.

    I do hope this makes sense (not only for you, but also your client).

    Cheers!
    "Potential has a shelf life." - Margaret Atwood

  6. #6
    Super Member AQucsaiJr's Avatar
    Computer Details
    AQucsaiJr's Computer Details
    Operating System:
    Windows XP Pro
    Computer:
    Dell Optiplex 330
    Monitor:
    Dell
    Discipline
    Electrical
    AQucsaiJr's Discipline Details
    Occupation
    Engineering Technition / Power Utilities
    Discipline
    Electrical
    Details
    Power Utility Protection and Control Engineering
    Using
    Electrical 2012
    Join Date
    Nov 2008
    Location
    USA, Florida, Orlando
    Posts
    511

    Default

    Quote Originally Posted by RenderMan View Post
    I just now noticed your signature (Oops!).

    In any event, and perhaps I will seem argumentative which is not my intention, but by definition code which uses the included API's and Interfaces (in this case ObjectDBX) use internal functionality that has been exposed to the Application; thusly not an "outside" program.

    Perhaps a better illustration of my point, is to pose the question of menus, macros, toolbars, ribbon panels / tabs, an tool palettes (Whew!)... are you saying that all of the aforementioned items are strictly OOTB, and have zero customization for your company? If so, where does the client's strict policy stop, do they care if you customize the user profile, etc.

    Again, please forgive me if I seem, I dunno, "Pointed?"... it's not meant to offend, I just think that Lee's code IS an internal function because it was made with the internal tools, the same as modifying the profile to include a given support file search path is internal.

    I do hope this makes sense (not only for you, but also your client).

    Cheers!
    I see your point. I agree with you that Lee's function is more of an internal function as it only uses programing tools provided with AutoCAD. I actually tried to show this tool to the client and explain its use, as it is perfect for the task they want to perform.

    I don't really think I fully explained what I meant by an "outside program". This client has explained to me that they will not use any program, LISP or other, compiled by anyone outside there offices. I think it come down to security rather than program function. I think they are trying to limit the possible exposure to malicious programs. I think they are being a little finicky with this policy as I am sure Lee's program is not malicious, but unfortunately they wont take the time to check and would rather have a similar program compiled by one of there techs internally.

    By the way I did not find your post offensive at all. Thank you for the reply. I'll bring this issue up to them again with the points you have made and see where that gets me.

    Again, Thanks.
    Batch Text Find & Replace: Here

  7. #7
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    4,039

    Default

    Registered forum members do not see this ad.

    You're very welcome, AQucsaiJr - and good luck!
    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. The Best Text Find And Replace LISP Ever...
    By Freerefill in forum AutoLISP, Visual LISP & DCL
    Replies: 23
    Last Post: 14th Jul 2011, 02:04 am
  2. Using VBA to find and replace text
    By Rick in forum .NET, ObjectARX & VBA
    Replies: 7
    Last Post: 29th Jul 2010, 04:21 pm
  3. Find & Replace Text
    By drewd1508 in forum AutoLISP, Visual LISP & DCL
    Replies: 25
    Last Post: 19th Mar 2010, 09:57 pm
  4. Find & Replace Text
    By happyunited in forum AutoCAD General
    Replies: 14
    Last Post: 4th Aug 2009, 05:44 pm
  5. Find/Replace text?
    By Ste1978 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 16th Nov 2007, 03:28 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts