+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29
  1. #21
    Full Member
    Using
    AutoCAD 2015
    Join Date
    Sep 2016
    Posts
    99

    Default

    Registered forum members do not see this ad.

    I have tested with the same file which i already posted on Post#7

  2. #22
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2017
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,227

    Default

    That txt file has one line of data and the handle there does not match any of the attributed blocks in the drawing so no wonder the program did nothing since it did not match any of the handle strings of the existed blocks.

  3. #23
    Full Member
    Using
    AutoCAD 2015
    Join Date
    Sep 2016
    Posts
    99

    Default

    Could you please check the sample file?

    Att.txt
    Sample.dwg

  4. #24
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2017
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,227

    Default

    You have an extra apostrophe in every handle string in the txt file and that is the issue.

  5. #25
    Full Member
    Using
    AutoCAD 2015
    Join Date
    Sep 2016
    Posts
    99

    Default

    But the Text, i have get using ATTOUT Command. I't is came like that only.
    Usually it's coming one apostrophe right?
    Please give me the corrected text file if you have.

  6. #26
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2017
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,227

    Default

    If that is the case then just replace the following line of codes with the related codes from the program and try it gain.

    Code:
    (setq soc (assoc (strcat "'" (cdr (assoc 5 (entget ent)))) lst))

  7. #27
    Full Member
    Using
    AutoCAD 2015
    Join Date
    Sep 2016
    Posts
    99

    Default

    Awsome!!!
    It's working perfectly, Thank you so much for your valuable support.
    Thank you so much.

  8. #28
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2017
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,227

    Default

    You are welcome anytime.

  9. #29
    Quantum Mechanic BIGAL's Avatar
    Using
    Civil 3D 2016
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    10,603

    Default

    Registered forum members do not see this ad.

    My $0.05 why would you not move your directory up the tree ? like "B:\Lisp" you are making hard work for your self remembering that path. Just add it to the support paths as well using CONFIG.
    A man who never made mistakes never made anything

Similar Threads

  1. Lee Mac's Update Title Block
    By Craisbeck in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 7th Mar 2013, 05:04 pm
  2. Trying to Automatically update/redefine block in Thousands of drawings
    By john_waggs in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 4
    Last Post: 13th Feb 2013, 02:19 pm
  3. Automatically Update Title block lisp HELP!
    By Millsy29 in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 15th Jul 2010, 05:29 pm
  4. Update the attribute title block
    By andy_gs in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 4th May 2010, 04:22 am
  5. Title Block Update
    By eddablin in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 18th Apr 2009, 01:35 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