Results 1 to 4 of 4

Thread: replace texts in two drawings together?

  1. #1
    Member
    Join Date
    2009-10
    Posts
    2
    Login to Give a bone
    0

    Default replace texts in two drawings together?

    Hi guys,

    I have a question about AutoCAD and Excel VBA. Hope someone could help me.

    I am working on a project to update some texts in drawings according customer inputs from Excel files. The texts are descriptions of production line. For each production line, there is a production identification number, like P001,P002,P003....These production line numbers also used in other drawings.

    Right now, i could update production line descriptions and production line numbers from Excel files. For example, I have drawing 1 with production line descriptions and production line numbers. There is a drawing 2 using these production line numbers, too. What I want to do is, every time I update those production line numbers (in drawing 1), the production line numbers in drawing 2 will changed automatically.

    Does anyone know how to do this?

    Thanks in advance for all your help.

    Matt

  2. #2
    Member
    Join Date
    2007-05
    Posts
    7
    Login to Give a bone
    0

    Default Re: replace texts in two drawings together?


  3. #3
    Member
    Join Date
    2009-10
    Posts
    2
    Login to Give a bone
    0

    Default Re: replace texts in two drawings together?

    Quote Originally Posted by bob.vandusen View Post
    Look here:
    Hi Bob,

    This is a really good tip to know, but it can't resolve my problem. let me explain my question in detail.

    For each project, we have two group drawings. In group one, each drawing gathers similar products together. Group two drawings contain product information stored in group one drawings.

    For example, In group one drawings 1,2,3, left column is production line number and right column is production line description. In group two drawing1,2,3 left column is production line number and right column is abbreviation of production line description.

    When update drawings in group 1, there is no change of production line number. The only change is the product descriptions. For example, In group one drawing 1, If the product description of P108 has been change to VVVVVVVVVVVV, in group two drawing 3, the product short description #fgh has to be changed to #asg.

    Right now, I could update group 1 drawings through getting inputs from excel files. For one project, in group one, we have 10 drawings. In group two, we have 20-30 drawings.

    Does anyone know how to solve this problem?

    I am thinking, is there a method of embedding a link into a text, when this text changed, the related text in other drawings will be changed automatically??

    Thanks for all replies.

    Matt


    *************GROUP 1 Drawings**********************
    Drawing 1 Contian following information
    P101 agaaaaaaaaaaa
    P102 bbbbdbbbbbbbb
    P103 cccccgccccccc
    P104 ddddddddddddd
    P105 eeeeeeegeeeee
    .....................................
    P108 ffffffffhfffffffffffffffffff
    P110 gggggsgggggggg
    .....................................
    P116 hhhhhhhfhhhhhh

    Drawing 2 Contian following information
    P201 aaaaaaaaaaaaa
    P202 bbbbbbbfbbbbb
    P203 ccccccchccccc
    P204 ddddddddhdddd
    P205 eeeeeeeeheeee
    .....................................
    P208 ffffffffffffffffffffhffffffff
    P210 ggggggggdggggg
    .....................................
    P216 hhhhhhhjhhhhhh

    Drawing 3 Contian following information
    P301 aaaaaaaaqaaaa
    P302 bbbbbbbbwbbbb
    P303 ccccccccrcccc
    P304 ddddddddddtdd
    P305 eeeeeeeeeeyee
    .....................................
    P308 ffffffffffffffffffffffuffffff
    P310 gggggggigggggg
    .....................................
    P316 hhhhhhhhhhghhh


    ****************GROUP 2 Drawings**********************
    Drwing 1 Contain following information
    P101 #abc
    P306 #cde

    Drawing 2 Contain following information
    P202 #def

    Drawing 3 Contian foloowing information
    P108 #efg
    P315 #fgh
    ......................................
    ......................................

  4. #4
    100 Club
    Join Date
    2007-07
    Posts
    104
    Login to Give a bone
    0

    Default Re: replace texts in two drawings together?

    If you can use an excel file to update the files in group 1, why don't you improve that excel file slightly so it wil also update te information in the drawings of group 2?

Similar Threads

  1. Find and Replace for Multiple Drawings
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2015-10-07, 11:07 AM
  2. 2011: Replace block in multiple drawings
    By swapr78 in forum ACA General
    Replies: 12
    Last Post: 2013-09-05, 04:37 PM
  3. Find and Replace text in multiple drawings
    By hbisco in forum AutoLISP
    Replies: 18
    Last Post: 2012-01-20, 05:01 PM
  4. Replies: 1
    Last Post: 2009-08-18, 11:20 PM
  5. Replace Part Reference in Drawings
    By csmac2004 in forum VBA/COM Interop
    Replies: 2
    Last Post: 2009-07-21, 03:09 PM

Posting Permissions

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